summaryrefslogtreecommitdiff
path: root/gtk/gtkfixed.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/gtkfixed.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/gtkfixed.c')
-rw-r--r--gtk/gtkfixed.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c
index 6e6e5846c3..389d6ea655 100644
--- a/gtk/gtkfixed.c
+++ b/gtk/gtkfixed.c
@@ -71,6 +71,7 @@
#include "gtkfixed.h"
#include "gtkcontainerprivate.h"
+#include "gtkwidgetprivate.h"
#include "gtkprivate.h"
#include "gtkintl.h"
@@ -531,9 +532,9 @@ gtk_fixed_snapshot (GtkWidget *widget,
{
child = list->data;
- gtk_container_snapshot_child (GTK_CONTAINER (fixed),
- child->widget,
- snapshot);
+ gtk_widget_snapshot_child (widget,
+ child->widget,
+ snapshot);
}
}