aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ephy-dialog.c
diff options
context:
space:
mode:
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);
}