summaryrefslogtreecommitdiff
path: root/gtk/gtklayoutmanagerprivate.h
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-03-26 17:13:18 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2019-03-26 17:37:49 +0000
commit3389ddf6fc8ce84daa3b652bbbae749fbf02faa1 (patch)
treecbe8e92dea361a09ab162ea73bf882ca2a25f562 /gtk/gtklayoutmanagerprivate.h
parent341660e05602b26958a2379184eec9558d77cb36 (diff)
downloadgtk+-3389ddf6fc8ce84daa3b652bbbae749fbf02faa1.tar.gz
Do not connect to a non-existing signal
The GtkWidget::parent-set signal was removed in ff6cd8f7. Instead of removing GtkLayoutChild instances associated to a widget using notifications when the widget's parent changes, we can have gtk_widget_unparent() call a method on GtkLayoutManager to remove any eventual GtkLayoutChild instances associated to the widget.
Diffstat (limited to 'gtk/gtklayoutmanagerprivate.h')
-rw-r--r--gtk/gtklayoutmanagerprivate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtklayoutmanagerprivate.h b/gtk/gtklayoutmanagerprivate.h
index d02ed56a6f..14eb30e161 100644
--- a/gtk/gtklayoutmanagerprivate.h
+++ b/gtk/gtklayoutmanagerprivate.h
@@ -7,4 +7,7 @@ G_BEGIN_DECLS
void gtk_layout_manager_set_widget (GtkLayoutManager *manager,
GtkWidget *widget);
+void gtk_layout_manager_remove_layout_child (GtkLayoutManager *manager,
+ GtkWidget *widget);
+
G_END_DECLS