changeset 14149:d994f64248ef

[gaim-migrate @ 16794] Only one file selector committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 16 Aug 2006 17:26:57 +0000
parents 5b9daf111b42
children 180141b8e97c
files src/gtkstatusbox.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }