changeset 21409:62a116ddc6e5

Remove redundant gtk_widget_show_all()s.
author Will Thompson <will.thompson@collabora.co.uk>
date Mon, 05 Nov 2007 00:54:23 +0000
parents 6225cd764a06
children 4ccc4ad0a8b0
files pidgin/minidialog.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/minidialog.c	Mon Nov 05 00:53:14 2007 +0000
+++ b/pidgin/minidialog.c	Mon Nov 05 00:54:23 2007 +0000
@@ -334,7 +334,6 @@
 
 	gtk_box_pack_start(priv->title_box, GTK_WIDGET(priv->icon), FALSE, FALSE, 0);
 	gtk_box_pack_start(priv->title_box, GTK_WIDGET(priv->title), TRUE, TRUE, 0);
-	gtk_widget_show_all(GTK_WIDGET(priv->title_box));
 
 	priv->desc_box = GTK_BOX(gtk_hbox_new(FALSE, PIDGIN_HIG_BOX_SPACE));
 	priv->desc = GTK_LABEL(gtk_label_new(""));
@@ -347,13 +346,10 @@
 	gtk_misc_set_alignment(GTK_MISC(priv->desc), 0, 0);
 	gtk_box_pack_start(priv->desc_box, GTK_WIDGET(priv->desc),
 		TRUE, TRUE, 0);
-	gtk_widget_hide_all(GTK_WIDGET(priv->desc_box));
 
 	self->contents = GTK_BOX(gtk_vbox_new(FALSE, 0));
-	gtk_widget_show_all(GTK_WIDGET(self->contents));
 
 	priv->buttons = GTK_BOX(gtk_hbox_new(FALSE, 0));
-	gtk_widget_show_all(GTK_WIDGET(priv->buttons));
 
 	gtk_box_pack_start(self_box, GTK_WIDGET(priv->title_box), FALSE, FALSE, 0);
 	gtk_box_pack_start(self_box, GTK_WIDGET(priv->desc_box), FALSE, FALSE, 0);
@@ -361,4 +357,5 @@
 	gtk_box_pack_start(self_box, GTK_WIDGET(priv->buttons), FALSE, FALSE, 0);
 
 	gtk_widget_show_all(GTK_WIDGET(self));
+	gtk_widget_hide_all(GTK_WIDGET(priv->desc_box));
 }