summaryrefslogtreecommitdiff
path: root/gtk/gtkfixed.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-31 21:02:28 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-05 14:56:38 +0200
commit169203951b1a338e0a7ef737238731619e5b8c4a (patch)
tree61eebf0a1f0a4b777e3ce58e779b2aa5fda31f63 /gtk/gtkfixed.c
parentfc6de135fe30ad285c50267bc9d24e10135bcc2c (diff)
downloadgtk+-169203951b1a338e0a7ef737238731619e5b8c4a.tar.gz
widget: Remove clip from size-allocate vfunc
As the clip is no longer needed, get rid of it.
Diffstat (limited to 'gtk/gtkfixed.c')
-rw-r--r--gtk/gtkfixed.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c
index e22a2d2fa0..b01be4f1ef 100644
--- a/gtk/gtkfixed.c
+++ b/gtk/gtkfixed.c
@@ -103,8 +103,7 @@ static void gtk_fixed_measure (GtkWidget *widget,
static void gtk_fixed_size_allocate (GtkWidget *widget,
const GtkAllocation *allocation,
- int baseline,
- GtkAllocation *out_clip);
+ int baseline);
static void gtk_fixed_add (GtkContainer *container,
GtkWidget *widget);
static void gtk_fixed_remove (GtkContainer *container,
@@ -394,8 +393,7 @@ gtk_fixed_measure (GtkWidget *widget,
static void
gtk_fixed_size_allocate (GtkWidget *widget,
const GtkAllocation *allocation,
- int baseline,
- GtkAllocation *out_clip)
+ int baseline)
{
GtkFixed *fixed = GTK_FIXED (widget);
GtkFixedPrivate *priv = fixed->priv;
@@ -417,7 +415,7 @@ gtk_fixed_size_allocate (GtkWidget *widget,
child_allocation.width = child_requisition.width;
child_allocation.height = child_requisition.height;
- gtk_widget_size_allocate (child->widget, &child_allocation, -1, out_clip);
+ gtk_widget_size_allocate (child->widget, &child_allocation, -1);
}
}