diff options
Diffstat (limited to 'gtk/gtksearchbar.c')
-rw-r--r-- | gtk/gtksearchbar.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c index df91d8ef31..6ccd1ca0f0 100644 --- a/gtk/gtksearchbar.c +++ b/gtk/gtksearchbar.c @@ -392,14 +392,19 @@ gtk_search_bar_measure (GtkWidget *widget, } static void -gtk_search_bar_size_allocate (GtkWidget *widget, - const GtkAllocation *allocation, - int baseline) +gtk_search_bar_size_allocate (GtkWidget *widget, + int width, + int height, + int baseline) { GtkSearchBar *bar = GTK_SEARCH_BAR (widget); GtkSearchBarPrivate *priv = gtk_search_bar_get_instance_private (bar); - gtk_widget_size_allocate (priv->revealer, allocation, baseline); + gtk_widget_size_allocate (priv->revealer, + &(GtkAllocation) { + 0, 0, + width, height + }, baseline); } static void |