summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-01-07 17:02:20 +0100
committerTimm Bäder <mail@baedert.org>2017-01-07 17:19:30 +0100
commit47d4ad71fbc680b9a9f47be03d0fdbfcdd3cf636 (patch)
tree9657e68685d2b5163258cf21715a2c336c23022a /gtk/gtktoolbar.c
parentf486805ba094751bb842aa60237448fdc2311f2b (diff)
downloadgtk+-47d4ad71fbc680b9a9f47be03d0fdbfcdd3cf636.tar.gz
Remove gtk_container_snapshot_child
Replace it with the already existing gtk_widget_snapshot_child.
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r--gtk/gtktoolbar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index e64359da81..db198b3883 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -838,9 +838,9 @@ gtk_toolbar_render (GtkCssGadget *gadget,
toolbar_content_snapshot (content, GTK_CONTAINER (widget), snapshot);
}
- gtk_container_snapshot_child (GTK_CONTAINER (widget),
- priv->arrow_button,
- snapshot);
+ gtk_widget_snapshot_child (widget,
+ priv->arrow_button,
+ snapshot);
return FALSE;
}
@@ -3156,7 +3156,7 @@ toolbar_content_snapshot (ToolbarContent *content,
widget = GTK_WIDGET (content->item);
if (widget)
- gtk_container_snapshot_child (container, widget, snapshot);
+ gtk_widget_snapshot_child (GTK_WIDGET (container), widget, snapshot);
}
static gboolean