[epiphany] bookmarks-popover: Don't disconnect handlers when tag is removed



commit 4ab966ebc86c363d260321f4d3b514ac3e3122b5
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Jan 23 21:16:49 2017 -0600

    bookmarks-popover: Don't disconnect handlers when tag is removed
    
    We don't connect to anything in create_bookmark_row anymore so we don't
    want to disconnect from anything here. Fortunately my mistake here was
    harmless as nowhere except create_bookmark_row ever connected to
    individual bookmarks.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772131

 src/bookmarks/ephy-bookmarks-popover.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/bookmarks/ephy-bookmarks-popover.c b/src/bookmarks/ephy-bookmarks-popover.c
index 2f4c590..0717a08 100644
--- a/src/bookmarks/ephy-bookmarks-popover.c
+++ b/src/bookmarks/ephy-bookmarks-popover.c
@@ -117,9 +117,6 @@ ephy_bookmarks_popover_bookmark_tag_removed_cb (EphyBookmarksPopover *popover,
     }
 
     if (!exists) {
-      /* Disconnect the previous handler on the instance as create bookmark row
-       * connects another one */
-      g_signal_handlers_disconnect_by_data (bookmark, popover);
       row = create_bookmark_row (bookmark, popover);
       gtk_container_add (GTK_CONTAINER (popover->tags_list_box), row);
     }


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