summaryrefslogtreecommitdiff
path: root/gtk/gtkmediacontrols.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmediacontrols.c')
-rw-r--r--gtk/gtkmediacontrols.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/gtk/gtkmediacontrols.c b/gtk/gtkmediacontrols.c
index 22d1852b48..146d21eaf7 100644
--- a/gtk/gtkmediacontrols.c
+++ b/gtk/gtkmediacontrols.c
@@ -185,13 +185,18 @@ gtk_media_controls_measure (GtkWidget *widget,
}
static void
-gtk_media_controls_size_allocate (GtkWidget *widget,
- const GtkAllocation *allocation,
- int baseline)
+gtk_media_controls_size_allocate (GtkWidget *widget,
+ int width,
+ int height,
+ int baseline)
{
GtkMediaControls *controls = GTK_MEDIA_CONTROLS (widget);
- gtk_widget_size_allocate (controls->box, allocation, baseline);
+ gtk_widget_size_allocate (controls->box,
+ &(GtkAllocation) {
+ 0, 0,
+ width, height
+ }, baseline);
}
static void