[gnome-nibbles/arnaudb/wip/gtk4: 47/62] Backportable fix.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles/arnaudb/wip/gtk4: 47/62] Backportable fix.
- Date: Fri, 19 Jun 2020 14:55:59 +0000 (UTC)
commit d3191fa4798c0a54d60774e05c91992d9af7eea6
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue Jun 16 11:42:32 2020 +0200
Backportable fix.
src/preferences-dialog.vala | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/preferences-dialog.vala b/src/preferences-dialog.vala
index ab77329..bbac994 100644
--- a/src/preferences-dialog.vala
+++ b/src/preferences-dialog.vala
@@ -21,8 +21,6 @@ using Gtk;
[GtkTemplate (ui = "/org/gnome/nibbles/ui/preferences-dialog.ui")]
private class PreferencesDialog : Window
{
- private ApplicationWindow window;
-
private GLib.Settings settings;
private Gee.ArrayList<GLib.Settings> worm_settings;
@@ -81,7 +79,6 @@ private class PreferencesDialog : Window
this.settings = settings;
this.worm_settings = worm_settings;
- this.window = window;
if (n_worms == 1)
headerbar_stack.set_visible_child_name ("preferences-label");
@@ -188,7 +185,7 @@ private class PreferencesDialog : Window
|| keyval == worm_settings [i].get_int ("key-left")
|| keyval == worm_settings [i].get_int ("key-right"))
{
- var dialog = new MessageDialog (window,
+ var dialog = new MessageDialog (this,
DialogFlags.DESTROY_WITH_PARENT,
MessageType.WARNING,
ButtonsType.CANCEL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]