aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/ephy-dialog.c3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b738c007..3672c518d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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);
}