[gtk: 1/3] widget: Remove leftover parent-changed handler removal
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/3] widget: Remove leftover parent-changed handler removal
- Date: Thu, 25 Apr 2019 16:43:04 +0000 (UTC)
commit 1ad406e15d1e8fc5701fd2f7b4ddfc80c1c9b952
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Thu Apr 25 14:29:19 2019 +0200
widget: Remove leftover parent-changed handler removal
It was never added, as the listener was replaced by explicit code in
gtk_widget_(un)root(), but the removal code was left in place in error.
gtk/gtkwidget.c | 3 ---
gtk/gtkwidgetprivate.h | 1 -
2 files changed, 4 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index ab33790cb2..6a546e78cc 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -3832,9 +3832,6 @@ gtk_widget_remove_surface_transform_changed_callback (GtkWidget *widget,
{
if (priv->parent_surface_transform_changed_parent)
remove_parent_surface_transform_changed_listener (widget);
-
- g_signal_handler_disconnect (widget, priv->parent_changed_handler_id);
- priv->parent_changed_handler_id = 0;
}
}
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h
index 2e596f24c4..9744bc915a 100644
--- a/gtk/gtkwidgetprivate.h
+++ b/gtk/gtkwidgetprivate.h
@@ -123,7 +123,6 @@ struct _GtkWidgetPrivate
/* Surface relative transform updates callbacks */
guint parent_surface_transform_changed_id;
GtkWidget *parent_surface_transform_changed_parent;
- gulong parent_changed_handler_id;
GList *surface_transform_changed_callbacks;
gboolean cached_surface_transform_valid;
graphene_matrix_t cached_surface_transform;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]