im.pidgin.cpw.resiak.disconnectreason: df451e66c3e2c901d8e65659ae05417a8a83509d
resiak at soc.pidgin.im
resiak at soc.pidgin.im
Mon Nov 5 04:41:21 EST 2007
-----------------------------------------------------------------
Revision: df451e66c3e2c901d8e65659ae05417a8a83509d
Ancestor: 58fd9ec0d2c3aaccbbe91fb4e16ce531d5888b36
Author: resiak at soc.pidgin.im
Date: 2007-11-05T00:54:23
Branch: im.pidgin.cpw.resiak.disconnectreason
Modified files:
pidgin/minidialog.c
ChangeLog:
Remove redundant gtk_widget_show_all()s.
-------------- next part --------------
============================================================
--- pidgin/minidialog.c 646fcb17e16c2982135dd4f4ead847531134686f
+++ pidgin/minidialog.c 2aaf2ae5f2e4377bc4707981290f7857b5be5389
@@ -334,7 +334,6 @@ pidgin_mini_dialog_init(PidginMiniDialog
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 @@ pidgin_mini_dialog_init(PidginMiniDialog
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 @@ pidgin_mini_dialog_init(PidginMiniDialog
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));
}
More information about the Commits
mailing list