From 4b03b559fa3b69930ae3d2dc769de1b9cc1a7c44 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Mon, 27 Jun 2011 07:57:31 -0400 Subject: fix gtk3 not drawing transport widget at all --- src/transport-widget.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/transport-widget.c b/src/transport-widget.c index f9b5319..79eef63 100644 --- a/src/transport-widget.c +++ b/src/transport-widget.c @@ -1232,12 +1232,14 @@ draw (GtkWidget* button, cairo_t *cr) cairo_surface_t* surf = NULL; cairo_t* cr_surf = NULL; +#if ! GTK_CHECK_VERSION(3, 0, 0) GtkAllocation allocation; gtk_widget_get_allocation (button, &allocation); cairo_translate (cr, allocation.x, allocation.y); //g_debug("button x allocation = %i", allocation.x); //g_debug("button y allocation = %i", allocation.y); +#endif GtkStyle *style; -- cgit v1.2.3