diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-05-12 03:48:21 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-05-12 03:48:21 +0800 |
commit | d3e3390532f76d1b9cd44a29dfcecf68ab957599 (patch) | |
tree | 2997faebdc8e4a08375ed5d20b840b3f9aee2745 | |
parent | b11322d5c6d8f4dce70b4a7da5e06defb084e7f7 (diff) | |
download | gsoc2013-epiphany-d3e3390532f76d1b9cd44a29dfcecf68ab957599.tar gsoc2013-epiphany-d3e3390532f76d1b9cd44a29dfcecf68ab957599.tar.gz gsoc2013-epiphany-d3e3390532f76d1b9cd44a29dfcecf68ab957599.tar.bz2 gsoc2013-epiphany-d3e3390532f76d1b9cd44a29dfcecf68ab957599.tar.lz gsoc2013-epiphany-d3e3390532f76d1b9cd44a29dfcecf68ab957599.tar.xz gsoc2013-epiphany-d3e3390532f76d1b9cd44a29dfcecf68ab957599.tar.zst gsoc2013-epiphany-d3e3390532f76d1b9cd44a29dfcecf68ab957599.zip |
Fix compilation with gcc 2.95.
2004-05-11 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-dialog.c: (set_combo_box_from_value):
Fix compilation with gcc 2.95.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | lib/ephy-dialog.c | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2004-05-11 Christian Persch <chpe@cvs.gnome.org> + * lib/ephy-dialog.c: (set_combo_box_from_value): + + Fix compilation with gcc 2.95. + +2004-05-11 Christian Persch <chpe@cvs.gnome.org> + * embed/mozilla/EphyBrowser.cpp: One more NS_ENSURE_TRUE. diff --git a/lib/ephy-dialog.c b/lib/ephy-dialog.c index df68fb15b..05e6c94c1 100644 --- a/lib/ephy-dialog.c +++ b/lib/ephy-dialog.c @@ -584,9 +584,10 @@ set_combo_box_from_value (PropertyInfo *info, const GValue *value) } else { + char *v; gtk_combo_box_set_active (GTK_COMBO_BOX (info->widget), -1); - char *v = g_strdup_value_contents (value); + v = g_strdup_value_contents (value); g_warning ("Value '%s' not found in model for combo %s\n", v, info->id); g_free (v); } |