summaryrefslogtreecommitdiff
path: root/mate-panel/libpanel-util/panel-gtk.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/libpanel-util/panel-gtk.c')
-rw-r--r--mate-panel/libpanel-util/panel-gtk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mate-panel/libpanel-util/panel-gtk.c b/mate-panel/libpanel-util/panel-gtk.c
index 3672fca8..d638d75d 100644
--- a/mate-panel/libpanel-util/panel-gtk.c
+++ b/mate-panel/libpanel-util/panel-gtk.c
@@ -119,6 +119,7 @@ panel_file_chooser_dialog_new_valist (const gchar *title,
{
GtkWidget *result;
const char *button_text = first_button_text;
+ gint response_id;
result = g_object_new (GTK_TYPE_FILE_CHOOSER_DIALOG,
"title", title,
@@ -130,7 +131,7 @@ panel_file_chooser_dialog_new_valist (const gchar *title,
while (button_text)
{
- gint response_id = va_arg (varargs, gint);
+ response_id = va_arg (varargs, gint);
if (g_strcmp0 (button_text, "process-stop") == 0)
panel_dialog_add_button (GTK_DIALOG (result), _("_Cancel"), button_text, response_id);