[gnome-photos] embed: Remove workaround for an old GTK+ bug



commit 39ac92ff05df513aaa252b716bc64eb6d41b8936
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Nov 29 12:18:23 2016 +0100

    embed: Remove workaround for an old GTK+ bug
    
    This was fixed in GTK+ 3.16 and we require 3.19.1 these days.

 src/photos-embed.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/src/photos-embed.c b/src/photos-embed.c
index 7fe4ca0..c04b4f4 100644
--- a/src/photos-embed.c
+++ b/src/photos-embed.c
@@ -602,19 +602,6 @@ photos_embed_dispose (GObject *object)
   g_clear_object (&self->srch_cntrlr);
   g_clear_object (&self->trk_ovrvw_cntrlr);
 
-  /* GtkStack triggers notify::visible-child during dispose and this means that
-   * we have to explicitly disconnect the signal handler before calling up to
-   * the parent implementation, or photos_embed_notify_visible_child() will
-   * get called while we're in a inconsistent state
-   *
-   * See https://bugzilla.gnome.org/show_bug.cgi?id=749012
-   */
-  if (self->stack != NULL)
-    {
-      g_signal_handlers_disconnect_by_func (self->stack, photos_embed_notify_visible_child, self);
-      self->stack = NULL;
-    }
-
   G_OBJECT_CLASS (photos_embed_parent_class)->dispose (object);
 }
 


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