pidgin/pidgin

Parents 1f1a3fbb2759
Children d0deb0cc4082
Remove a few more lines I missed about the chat user list width preference.

Testing Done:
Ran in `gdb` with `G_DEBUG=fatal-warnings`, joined a chat, resized the list and moved the window around and verified that the `G_CRITICAL`'s were gone for real this time.

Reviewed at https://reviews.imfreedom.org/r/1497/
--- a/pidgin/gtkconv.c Thu Jun 09 03:04:16 2022 -0500
+++ b/pidgin/gtkconv.c Thu Jun 09 03:12:46 2022 -0500
@@ -115,14 +115,6 @@
return TRUE;
}
-static gboolean
-lbox_size_allocate_cb(GtkWidget *w, GtkAllocation *allocation, gpointer data)
-{
- purple_prefs_set_int(PIDGIN_PREFS_ROOT "/conversations/chat/userlist_width", allocation->width == 1 ? 0 : allocation->width);
-
- return FALSE;
-}
-
static void
send_history_add(PidginConversation *gtkconv, const char *message)
{
@@ -1709,7 +1701,6 @@
G_CALLBACK(activate_list_cb), gtkconv);
g_signal_connect(G_OBJECT(list), "popup-menu",
G_CALLBACK(gtkconv_chat_popup_menu_cb), gtkconv);
- g_signal_connect(G_OBJECT(lbox), "size-allocate", G_CALLBACK(lbox_size_allocate_cb), gtkconv);
gtk_widget_set_has_tooltip(list, TRUE);
g_signal_connect(list, "query-tooltip",