summaryrefslogtreecommitdiff
path: root/gtk/gtkfixed.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-03-14 11:00:02 +0100
committerTimm Bäder <mail@baedert.org>2018-03-14 17:28:41 +0100
commit955dca950c7e32b1f141873662af5715cb7e33d1 (patch)
tree0728919e1f775829a5b67a1616a8aa3e77efa5f0 /gtk/gtkfixed.c
parent5f2283c0abf7cdd69aaa19a9199d1673965454cf (diff)
downloadgtk+-955dca950c7e32b1f141873662af5715cb7e33d1.tar.gz
fixed: Remove snapshot implementation
It does the same thing as the default implementation.
Diffstat (limited to 'gtk/gtkfixed.c')
-rw-r--r--gtk/gtkfixed.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c
index 355929ecc7..a54ee0e2d9 100644
--- a/gtk/gtkfixed.c
+++ b/gtk/gtkfixed.c
@@ -105,8 +105,6 @@ static void gtk_fixed_size_allocate (GtkWidget *widget,
const GtkAllocation *allocation,
int baseline,
GtkAllocation *out_clip);
-static void gtk_fixed_snapshot (GtkWidget *widget,
- GtkSnapshot *snapshot);
static void gtk_fixed_add (GtkContainer *container,
GtkWidget *widget);
static void gtk_fixed_remove (GtkContainer *container,
@@ -140,7 +138,6 @@ gtk_fixed_class_init (GtkFixedClass *class)
widget_class->measure = gtk_fixed_measure;
widget_class->size_allocate = gtk_fixed_size_allocate;
- widget_class->snapshot = gtk_fixed_snapshot;
container_class->add = gtk_fixed_add;
container_class->remove = gtk_fixed_remove;
@@ -482,25 +479,3 @@ gtk_fixed_forall (GtkContainer *container,
(* callback) (child->widget, callback_data);
}
}
-
-static void
-gtk_fixed_snapshot (GtkWidget *widget,
- GtkSnapshot *snapshot)
-{
- GtkFixed *fixed = GTK_FIXED (widget);
- GtkFixedPrivate *priv = fixed->priv;
- GtkFixedChild *child;
- GList *list;
-
- for (list = priv->children;
- list;
- list = list->next)
- {
- child = list->data;
-
- gtk_widget_snapshot_child (widget,
- child->widget,
- snapshot);
- }
-}
-