changeset 21073:f47ae01d0def

Forgot to initialize blist for debug window transience
author Gabriel Schulhof <nix@go-nix.ca>
date Mon, 08 Oct 2007 15:35:19 +0000
parents 5cc3bcf86c09
children c14002f7f5ef
files pidgin/gtkdebug.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkdebug.c	Sat Oct 06 22:19:24 2007 +0000
+++ b/pidgin/gtkdebug.c	Mon Oct 08 15:35:19 2007 +0000
@@ -689,7 +689,7 @@
 	height = purple_prefs_get_int(PIDGIN_PREFS_ROOT "/debug/height");
 
 	PIDGIN_DIALOG(win->window);
-	if (blist)
+	if ((blist = pidgin_blist_get_default_gtk_blist()) != NULL)
 		if (blist->window)
 			gtk_window_set_transient_for(GTK_WINDOW(win->window), GTK_WINDOW(blist->window));
 	purple_debug_info("gtkdebug", "Setting dimensions to %d, %d\n",