popover demo: Fix size-allocate callback signature

This commit is contained in:
Timm Bäder 2018-12-29 17:09:27 +01:00
parent 66d3aa8101
commit 9d3120cc1e

View File

@ -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;