diff options
author | raveit65 <[email protected]> | 2024-01-28 02:53:56 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2024-02-04 18:37:58 +0100 |
commit | e663fbaeba760003b4088e567af0883534891e59 (patch) | |
tree | fd7b6805cc5d0e022f526e6343bb2539aa12f54e /mate-panel/libpanel-util/panel-gtk.c | |
parent | 6a9848eb8388807d13c38cdaceabfc143f6640aa (diff) | |
download | mate-panel-e663fbaeba760003b4088e567af0883534891e59.tar.bz2 mate-panel-e663fbaeba760003b4088e567af0883534891e59.tar.xz |
Revert "Reduce scope of variables"
This reverts commit 96c7ebc6dc9e8b8327db04a9570054ee78743353.
Diffstat (limited to 'mate-panel/libpanel-util/panel-gtk.c')
-rw-r--r-- | mate-panel/libpanel-util/panel-gtk.c | 3 |
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); |