pidgin/gtkconv.c

changeset 35689
1e257009ac10
parent 35684
8688b5d1821e
child 35733
60a5d065ca81
equal deleted inserted replaced
35688:3d727b2e6f82 35689:1e257009ac10
7747 update_typing_icon(gtkconv); 7747 update_typing_icon(gtkconv);
7748 7748
7749 gtk_label_set_text(GTK_LABEL(gtkconv->menu_label), title); 7749 gtk_label_set_text(GTK_LABEL(gtkconv->menu_label), title);
7750 if (pidgin_conv_window_is_active_conversation(conv)) { 7750 if (pidgin_conv_window_is_active_conversation(conv)) {
7751 const char* current_title = gtk_window_get_title(GTK_WINDOW(win->window)); 7751 const char* current_title = gtk_window_get_title(GTK_WINDOW(win->window));
7752 if (current_title == NULL || strcmp(current_title, title) != 0) 7752 if (current_title == NULL || g_strcmp0(current_title, title) != 0)
7753 gtk_window_set_title(GTK_WINDOW(win->window), title); 7753 gtk_window_set_title(GTK_WINDOW(win->window), title);
7754 } 7754 }
7755 7755
7756 g_free(title); 7756 g_free(title);
7757 } 7757 }

mercurial