[epiphany] location-controller: speculative fix for a search engines changed crash



commit f4e0ae2cd0f70c7fd9871134995fbc577fcca40c
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu May 4 10:10:31 2017 -0500

    location-controller: speculative fix for a search engines changed crash
    
    https://bugzilla.gnome.org/show_bug.cgi?id=782159

 src/ephy-location-controller.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-location-controller.c b/src/ephy-location-controller.c
index 37fd6e7..3830a7d 100644
--- a/src/ephy-location-controller.c
+++ b/src/ephy-location-controller.c
@@ -406,8 +406,8 @@ ephy_location_controller_constructed (GObject *object)
 
   add_completion_actions (controller, EPHY_LOCATION_ENTRY (controller->title_widget));
 
-  g_signal_connect (controller->search_engine_manager, "changed",
-                    G_CALLBACK (search_engines_changed_cb), controller);
+  g_signal_connect_object (controller->search_engine_manager, "changed",
+                           G_CALLBACK (search_engines_changed_cb), controller, 0);
 
   g_object_bind_property (controller, "editable",
                           controller->title_widget, "editable",


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