Fix some random issues in the blist that were missed initially.

Mon, 22 Aug 2022 21:21:30 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Mon, 22 Aug 2022 21:21:30 -0500
changeset 41512
77c928fde86b
parent 41511
2036d450fd18
child 41513
6cf1fed2d226

Fix some random issues in the blist that were missed initially.

Remove the cell renderer expanders columns from the tree store which were missed
and caused a bunch of GWarnings at runtime.

Remove a get on /blist/visible preference that was remove not so long ago.

Testing Done:
Ran and verified the warnings were gone.

Reviewed at https://reviews.imfreedom.org/r/1618/

pidgin/gtkblist.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkblist.c	Mon Aug 22 03:20:05 2022 -0500
+++ b/pidgin/gtkblist.c	Mon Aug 22 21:21:30 2022 -0500
@@ -3111,10 +3111,6 @@
 						 G_TYPE_STRING,   /* Name */
 						 GDK_TYPE_PIXBUF, /* Buddy icon */
 						 G_TYPE_POINTER,  /* Node */
-						 G_TYPE_BOOLEAN,  /* Group expander */
-						 G_TYPE_BOOLEAN,  /* Group expander visible */
-						 G_TYPE_BOOLEAN,  /* Contact expander */
-						 G_TYPE_BOOLEAN,  /* Contact expander visible */
 						 GDK_TYPE_PIXBUF, /* Emblem */
 						 G_TYPE_BOOLEAN,  /* Emblem visible */
 						 GDK_TYPE_PIXBUF /* Protocol icon */
@@ -3179,7 +3175,7 @@
 	/* OK... let's show this bad boy. */
 	pidgin_blist_refresh(list);
 	gtk_widget_show_all(GTK_WIDGET(gtkblist->vbox));
-	purple_blist_set_visible(purple_prefs_get_bool(PIDGIN_PREFS_ROOT "/blist/list_visible"));
+	purple_blist_set_visible(TRUE);
 
 	handle = pidgin_blist_get_handle();
 

mercurial