summaryrefslogtreecommitdiff
path: root/gtk/gtkfontbutton.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/gtkfontbutton.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/gtkfontbutton.c')
-rw-r--r--gtk/gtkfontbutton.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkfontbutton.c b/gtk/gtkfontbutton.c
index 02b848589e..33dd4df027 100644
--- a/gtk/gtkfontbutton.c
+++ b/gtk/gtkfontbutton.c
@@ -474,13 +474,12 @@ gtk_font_button_measure (GtkWidget *widget,
static void
gtk_font_button_size_allocate (GtkWidget *widget,
const GtkAllocation *allocation,
- int baseline,
- GtkAllocation *out_clip)
+ int baseline)
{
GtkFontButton *button = GTK_FONT_BUTTON (widget);
GtkFontButtonPrivate *priv = gtk_font_button_get_instance_private (button);
- gtk_widget_size_allocate (priv->button, allocation, baseline, out_clip);
+ gtk_widget_size_allocate (priv->button, allocation, baseline);
}
static void