changeset 15224:01fec6defb33

[gaim-migrate @ 18014] This started throwing an assertion failure for me recently committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 17 Dec 2006 08:06:48 +0000
parents e261feef1ce7
children 9a58a9ea3995
files gtk/gtkblist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gtk/gtkblist.c	Sun Dec 17 05:38:48 2006 +0000
+++ b/gtk/gtkblist.c	Sun Dec 17 08:06:48 2006 +0000
@@ -6316,7 +6316,7 @@
 	GtkWidget *sortmenu;
 	const char *m = gaim_prefs_get_string("/gaim/gtk/blist/sort_type");
 
-	if (gtkblist == NULL)
+	if ((gtkblist == NULL) || (gtkblist->ift == NULL))
 		return;
 
 	sortmenu = gtk_item_factory_get_widget(gtkblist->ift, N_("/Buddies/Sort Buddies"));