aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/gui_prefs.c
diff options
context:
space:
mode:
authoroabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-21 12:19:19 +0000
committeroabad <oabad@f5534014-38df-0310-8fa8-9805f1628bb7>2004-01-21 12:19:19 +0000
commit265e0ecc260e9dcec2a23488a68737c1c06c7c79 (patch)
tree944261d25009aa52ff7af02585eb8c2b5ffcae98 /gtk/gui_prefs.c
parentaf4929692502cb8aff039d44d0641dbfffd66886 (diff)
gtk_font_selection_set_font_name doesn't work when run before appending
the font selection widget to the notebook (at least in GTK2). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@9769 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/gui_prefs.c')
-rw-r--r--gtk/gui_prefs.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gtk/gui_prefs.c b/gtk/gui_prefs.c
index 0d6fd07cca..f1335cdc09 100644
--- a/gtk/gui_prefs.c
+++ b/gtk/gui_prefs.c
@@ -1,7 +1,7 @@
/* gui_prefs.c
* Dialog box for GUI preferences
*
- * $Id: gui_prefs.c,v 1.56 2004/01/20 19:33:23 ulfl Exp $
+ * $Id: gui_prefs.c,v 1.57 2004/01/21 12:19:19 oabad Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -313,15 +313,6 @@ gui_font_prefs_show(void)
#endif
#endif
- /* Set the font to the current font.
- XXX - GTK+ 1.2.8, and probably earlier versions, have a bug
- wherein that doesn't necessarily cause that font to be
- selected in the dialog box. I've sent to the GTK+ folk
- a fix; hopefully, it'll show up in 1.2.9 if, as, and when
- they put out a 1.2.9 release. */
- gtk_font_selection_set_font_name(
- GTK_FONT_SELECTION(font_browse_w), prefs.PREFS_GUI_FONT_NAME);
-
gtk_widget_show(font_browse_w);
return font_browse_w;