diff --git a/demos/gtk-demo/popover.c b/demos/gtk-demo/popover.c index 2feb48ac70..3aa201c2d3 100644 --- a/demos/gtk-demo/popover.c +++ b/demos/gtk-demo/popover.c @@ -55,10 +55,11 @@ create_complex_popover (GtkWidget *parent, } static void -entry_size_allocate_cb (GtkEntry *entry, - const GtkAllocation *allocation, - int baseline, - gpointer user_data) +entry_size_allocate_cb (GtkEntry *entry, + int width, + int height, + int baseline, + gpointer user_data) { GtkEntryIconPosition popover_pos; GtkPopover *popover = user_data;