pidgin/gtkconv.c

changeset 35733
60a5d065ca81
parent 35731
7a8d87b4e516
parent 35689
1e257009ac10
child 35745
9ca5f50773f5
equal deleted inserted replaced
35732:e5707ffa8f29 35733:60a5d065ca81
7755 update_typing_icon(gtkconv); 7755 update_typing_icon(gtkconv);
7756 7756
7757 gtk_label_set_text(GTK_LABEL(gtkconv->menu_label), title); 7757 gtk_label_set_text(GTK_LABEL(gtkconv->menu_label), title);
7758 if (pidgin_conv_window_is_active_conversation(conv)) { 7758 if (pidgin_conv_window_is_active_conversation(conv)) {
7759 const char* current_title = gtk_window_get_title(GTK_WINDOW(win->window)); 7759 const char* current_title = gtk_window_get_title(GTK_WINDOW(win->window));
7760 if (current_title == NULL || strcmp(current_title, title) != 0) 7760 if (current_title == NULL || g_strcmp0(current_title, title) != 0)
7761 gtk_window_set_title(GTK_WINDOW(win->window), title); 7761 gtk_window_set_title(GTK_WINDOW(win->window), title);
7762 } 7762 }
7763 7763
7764 g_free(title); 7764 g_free(title);
7765 } 7765 }

mercurial