[iagno] Rename a method.



commit 9932fa109152aafb7f48f83d287b37a9ca5744a8
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Jan 15 16:30:56 2020 +0100

    Rename a method.

 src/iagno.vala        | 4 ++--
 src/reversi-view.vala | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/iagno.vala b/src/iagno.vala
index 51cf895..5aed9cf 100644
--- a/src/iagno.vala
+++ b/src/iagno.vala
@@ -425,7 +425,7 @@ private class Iagno : Gtk.Application, BaseApplication
         window.back.connect (back_cb);
         window.undo.connect (undo_cb);
 
-        window.gtk_theme_changed.connect (view.theme_changed);
+        window.gtk_theme_changed.connect (view.gtk_theme_changed);
 
         /* Actions and preferences */
         add_action_entries (app_actions, this);
@@ -542,7 +542,7 @@ private class Iagno : Gtk.Application, BaseApplication
         requires (gvariant != null)
     {
         night_light_monitor.set_use_night_mode (((!) gvariant).get_boolean ());
-        view.theme_changed ();
+        view.gtk_theme_changed ();
     }
 
     /*\
diff --git a/src/reversi-view.vala b/src/reversi-view.vala
index d166fac..4b30099 100644
--- a/src/reversi-view.vala
+++ b/src/reversi-view.vala
@@ -230,7 +230,7 @@ private class ReversiView : Gtk.DrawingArea
     * * theme
     \*/
 
-    internal void theme_changed ()
+    internal void gtk_theme_changed ()
     {
         if (theme == null || (!) theme == "default")
             theme = "default";  // yes


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