aboutsummaryrefslogtreecommitdiffstats
path: root/src/prefs-dialog.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-07-06 01:31:39 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-06 01:31:39 +0800
commit74a90453c307ef335076ebd89878a715a10889bd (patch)
tree6971f9d1d0004c7f11727deb55f73702348549b5 /src/prefs-dialog.c
parent23c8a4bef0c6006724043a428f3e5b5ca485e49f (diff)
downloadgsoc2013-epiphany-74a90453c307ef335076ebd89878a715a10889bd.tar
gsoc2013-epiphany-74a90453c307ef335076ebd89878a715a10889bd.tar.gz
gsoc2013-epiphany-74a90453c307ef335076ebd89878a715a10889bd.tar.bz2
gsoc2013-epiphany-74a90453c307ef335076ebd89878a715a10889bd.tar.lz
gsoc2013-epiphany-74a90453c307ef335076ebd89878a715a10889bd.tar.xz
gsoc2013-epiphany-74a90453c307ef335076ebd89878a715a10889bd.tar.zst
gsoc2013-epiphany-74a90453c307ef335076ebd89878a715a10889bd.zip
Api resync and cleanup from galeon.
2003-07-05 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * src/prefs-dialog.c: (setup_font_menu): Api resync and cleanup from galeon.
Diffstat (limited to 'src/prefs-dialog.c')
-rw-r--r--src/prefs-dialog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c
index 763a2e395..817127564 100644
--- a/src/prefs-dialog.c
+++ b/src/prefs-dialog.c
@@ -447,7 +447,6 @@ setup_font_menu (PrefsDialog *dialog,
GList *fonts;
gchar *name;
char key[255];
- int pos;
GtkWidget *entry = GTK_COMBO(combo)->entry;
EphyEmbedSingle *single;
@@ -478,6 +477,8 @@ setup_font_menu (PrefsDialog *dialog,
/* set the default value */
if (name != NULL)
{
+ int pos = 0;
+
gtk_editable_delete_text (GTK_EDITABLE(entry), 0, -1);
gtk_editable_insert_text (GTK_EDITABLE(entry),
name, g_utf8_strlen (name, -1),