[gnome-usage] application: Don't access the header bar directly



commit b84317f679dbac079c3d280f903f881c7e3569ae
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Jun 24 16:31:40 2020 +0200

    application: Don't access the header bar directly
    
    This will allow to stop exposing the header bar.

 src/application.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/application.vala b/src/application.vala
index ebfe119..246df72 100644
--- a/src/application.vala
+++ b/src/application.vala
@@ -97,7 +97,7 @@ namespace Usage
 
         private void on_search(GLib.SimpleAction action, GLib.Variant? parameter)
         {
-            window.get_header_bar().action_on_search();
+            window.action_on_search();
         }
 
         private void on_activate_radio (GLib.SimpleAction action, GLib.Variant? state)


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