summaryrefslogtreecommitdiff
path: root/tests/testoverlaystyleclass.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 /tests/testoverlaystyleclass.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 'tests/testoverlaystyleclass.c')
-rw-r--r--tests/testoverlaystyleclass.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testoverlaystyleclass.c b/tests/testoverlaystyleclass.c
index 6ed24b11d6..86437ee020 100644
--- a/tests/testoverlaystyleclass.c
+++ b/tests/testoverlaystyleclass.c
@@ -1,9 +1,10 @@
#include <gtk/gtk.h>
static void
-child_size_allocate (GtkWidget *child,
+child_size_allocate (GtkWidget *child,
GdkRectangle *allocation,
- gpointer user_data)
+ gint baseline,
+ gpointer user_data)
{
GtkStyleContext *context;
context = gtk_widget_get_style_context (child);