pidgin/gtkconv.c

changeset 39858
0f2be88d88e4
parent 39845
d2df89ae3070
child 39897
16b440d4ab36
child 39929
51c9575bbdd2
equal deleted inserted replaced
39857:3a718dc6e705 39858:0f2be88d88e4
4031 minimum_entry_lines_pref_cb(const char *name, 4031 minimum_entry_lines_pref_cb(const char *name,
4032 PurplePrefType type, 4032 PurplePrefType type,
4033 gconstpointer value, 4033 gconstpointer value,
4034 gpointer data) 4034 gpointer data)
4035 { 4035 {
4036 #if 0
4036 GList *l = purple_conversations_get_all(); 4037 GList *l = purple_conversations_get_all();
4037 PurpleConversation *conv; 4038 PurpleConversation *conv;
4038 while (l != NULL) 4039 while (l != NULL)
4039 { 4040 {
4040 #if 0
4041 conv = (PurpleConversation *)l->data; 4041 conv = (PurpleConversation *)l->data;
4042 4042
4043 if (PIDGIN_IS_PIDGIN_CONVERSATION(conv)) 4043 if (PIDGIN_IS_PIDGIN_CONVERSATION(conv))
4044 resize_webview_cb(PIDGIN_CONVERSATION(conv)); 4044 resize_webview_cb(PIDGIN_CONVERSATION(conv));
4045 l = l->next;
4046 }
4045 #endif 4047 #endif
4046 l = l->next;
4047 }
4048 } 4048 }
4049 4049
4050 static void 4050 static void
4051 setup_chat_topic(PidginConversation *gtkconv, GtkWidget *vbox) 4051 setup_chat_topic(PidginConversation *gtkconv, GtkWidget *vbox)
4052 { 4052 {
4470 { 4470 {
4471 PidginConversation *gtkconv; 4471 PidginConversation *gtkconv;
4472 GtkWidget *pane = NULL; 4472 GtkWidget *pane = NULL;
4473 GtkWidget *tab_cont; 4473 GtkWidget *tab_cont;
4474 PurpleBlistNode *convnode; 4474 PurpleBlistNode *convnode;
4475 GtkTargetList *targets;
4476 4475
4477 if (PURPLE_IS_IM_CONVERSATION(conv) && (gtkconv = pidgin_conv_find_gtkconv(conv))) { 4476 if (PURPLE_IS_IM_CONVERSATION(conv) && (gtkconv = pidgin_conv_find_gtkconv(conv))) {
4478 purple_conversation_set_ui_data(conv, gtkconv); 4477 purple_conversation_set_ui_data(conv, gtkconv);
4479 if (!g_list_find(gtkconv->convs, conv)) 4478 if (!g_list_find(gtkconv->convs, conv))
4480 gtkconv->convs = g_list_prepend(gtkconv->convs, conv); 4479 gtkconv->convs = g_list_prepend(gtkconv->convs, conv);

mercurial