pidgin/pidginaccountactionsmenu.c

changeset 40634
4d3018b00ad4
parent 40597
fa308dd62f4c
child 40984
1ad595619528
equal deleted inserted replaced
40633:d884c4b6e202 40634:4d3018b00ad4
120 gtk_widget_show(menu->set_mood); 120 gtk_widget_show(menu->set_mood);
121 121
122 show_separator = TRUE; 122 show_separator = TRUE;
123 } 123 }
124 124
125 if(PURPLE_PROTOCOL_IMPLEMENTS(protocol, CLIENT, get_actions)) { 125 if(PURPLE_IS_PROTOCOL_CLIENT(protocol)) {
126 PurpleProtocolClient *client = PURPLE_PROTOCOL_CLIENT(protocol);
126 GtkWidget *item = NULL; 127 GtkWidget *item = NULL;
127 GList *actions = NULL; 128 GList *actions = NULL;
128 129
129 actions = purple_protocol_client_iface_get_actions(protocol, 130 actions = purple_protocol_client_get_actions(client, connection);
130 connection);
131 131
132 while(actions != NULL) { 132 while(actions != NULL) {
133 PurpleProtocolAction *action = (PurpleProtocolAction *)actions->data; 133 PurpleProtocolAction *action = (PurpleProtocolAction *)actions->data;
134 134
135 if(action == NULL) { 135 if(action == NULL) {

mercurial