src/gtkstatusbox.c

changeset 14211
eb9495c499fa
parent 14206
5a17eb1a2c3e
child 14212
12ae12a03e8d
--- a/src/gtkstatusbox.c	Wed Aug 16 17:10:36 2006 +0000
+++ b/src/gtkstatusbox.c	Wed Aug 16 17:26:57 2006 +0000
@@ -947,14 +947,12 @@
 static gboolean
 icon_box_press_cb(GtkWidget *widget, GdkEventButton *event, GtkGaimStatusBox *box)
 {
-	GtkWidget *filesel;
-
 	if (box->buddy_icon_sel) {
 		gtk_window_present(GTK_WINDOW(box->buddy_icon_sel));
 		return FALSE;
 	}
 
-	filesel = gaim_gtk_buddy_icon_chooser_new(NULL, icon_choose_cb, box);
+	box->buddy_icon_sel = gaim_gtk_buddy_icon_chooser_new(NULL, icon_choose_cb, box);
 	gtk_widget_show_all(filesel);
 	return FALSE;
 }

mercurial