diff src/prefs.c @ 2025:1bfef3e8ba63

[gaim-migrate @ 2035] woo committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 16 Jun 2001 01:14:43 +0000
parents e43c267b1a8a
children 3366311426df
line wrap: on
line diff
--- a/src/prefs.c	Sat Jun 16 00:30:44 2001 +0000
+++ b/src/prefs.c	Sat Jun 16 01:14:43 2001 +0000
@@ -2202,13 +2202,13 @@
 	GtkWidget *bbox;
 	GtkWidget *button;
 
+	parent = prefdialog->parent;
+	gtk_widget_destroy(prefdialog);
+
 	current_deny_gc = connections->data;	/* this is safe because this screen will only be
 						   available when there are connections */
 	current_is_deny = TRUE;
 
-	parent = prefdialog->parent;
-	gtk_widget_destroy(prefdialog);
-
 	prefdialog = gtk_frame_new(_("Privacy Options"));
 	gtk_container_add(GTK_CONTAINER(parent), prefdialog);