[gnome-mines/arnaudb/wip/gtk4: 78/85] Not needed anymore.




commit 867a8e0cc1867918c188e2fdcea4d181cbe0e49a
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 21 15:37:36 2020 +0200

    Not needed anymore.

 src/gnome-mines.vala           | 2 --
 src/theme-selector-dialog.vala | 1 -
 2 files changed, 3 deletions(-)
---
diff --git a/src/gnome-mines.vala b/src/gnome-mines.vala
index 55d3695..063499c 100644
--- a/src/gnome-mines.vala
+++ b/src/gnome-mines.vala
@@ -154,10 +154,8 @@ public class Mines : Gtk.Application
         }
         if (window != null)
         {
-            window.get_window ().invalidate_rect (null, true);
             window.queue_draw ();
         }
-        StyleContext.reset_widgets (Gdk.Display.get_default ());
     }
 
     protected override void startup ()
diff --git a/src/theme-selector-dialog.vala b/src/theme-selector-dialog.vala
index e81d6b1..5c6126a 100644
--- a/src/theme-selector-dialog.vala
+++ b/src/theme-selector-dialog.vala
@@ -156,7 +156,6 @@ public class ThemeSelectorDialog : Gtk.Dialog
     {
         settings.set_string ("theme", themes.nth_data (to_index));
         this.queue_draw ();
-        this.get_window ().invalidate_rect (null, true);
         this.present ();
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]