aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-05-12 03:48:21 +0800
committerChristian Persch <chpe@src.gnome.org>2004-05-12 03:48:21 +0800
commitd3e3390532f76d1b9cd44a29dfcecf68ab957599 (patch)
tree2997faebdc8e4a08375ed5d20b840b3f9aee2745 /lib/ephy-dialog.c
parentb11322d5c6d8f4dce70b4a7da5e06defb084e7f7 (diff)
downloadgsoc2013-epiphany-d3e3390532f76d1b9cd44a29dfcecf68ab957599.tar.gz
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.
Diffstat (limited to 'lib/ephy-dialog.c')
-rw-r--r--lib/ephy-dialog.c3
1 files changed, 2 insertions, 1 deletions
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);
}