[gnome-flashback] screensaver: fix crash in GfInputSourcesButton



commit e19848f97cc90972062c211e11e8edcd625e7fca
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Feb 26 15:06:44 2020 +0200

    screensaver: fix crash in GfInputSourcesButton
    
    https://bugs.launchpad.net/bugs/1864506

 gnome-flashback/libinput-sources/gf-input-sources-button.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gnome-flashback/libinput-sources/gf-input-sources-button.c 
b/gnome-flashback/libinput-sources/gf-input-sources-button.c
index 50ab699..0df3bff 100644
--- a/gnome-flashback/libinput-sources/gf-input-sources-button.c
+++ b/gnome-flashback/libinput-sources/gf-input-sources-button.c
@@ -91,13 +91,13 @@ gf_input_sources_button_constructed (GObject *object)
 
   G_OBJECT_CLASS (gf_input_sources_button_parent_class)->constructed (object);
 
-  g_signal_connect (self->manager, "sources-changed",
-                    G_CALLBACK (sources_changed_cb),
-                    self);
+  g_signal_connect_object (self->manager, "sources-changed",
+                           G_CALLBACK (sources_changed_cb),
+                           self, 0);
 
-  g_signal_connect (self->manager, "current-source-changed",
-                    G_CALLBACK (current_source_changed_cb),
-                    self);
+  g_signal_connect_object (self->manager, "current-source-changed",
+                           G_CALLBACK (current_source_changed_cb),
+                           self, 0);
 
   sources_changed_cb (self->manager, self);
 }


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