[gtk+] GtkFontChooser: Avoid using show_all explicitely
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkFontChooser: Avoid using show_all explicitely
- Date: Mon, 15 Aug 2011 23:46:38 +0000 (UTC)
commit d46d1d7fcd09f3fdfcf9c5187e984127c8e3d451
Author: Alberto Ruiz <aruiz gnome org>
Date: Fri Apr 15 21:49:46 2011 +0100
GtkFontChooser: Avoid using show_all explicitely
gtk/gtkfontchooser.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c
index a2fc26c..aba2cd9 100644
--- a/gtk/gtkfontchooser.c
+++ b/gtk/gtkfontchooser.c
@@ -312,10 +312,15 @@ gtk_font_selection_init (GtkFontSelection *fontsel)
sizeof (guint16)) - 1],
1);
+ gtk_box_pack_start (GTK_BOX (fontsel), priv->search_entry, FALSE, TRUE, 0);
+
priv->size = 12 * PANGO_SCALE;
priv->face = NULL;
priv->family = NULL;
+ gtk_widget_show_all (GTK_WIDGET (fontsel));
+ gtk_widget_hide (GTK_WIDGET (fontsel));
+
gtk_widget_pop_composite_child();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]