diff options
author | Michael Terry <michael.terry@canonical.com> | 2011-06-27 07:57:31 -0400 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2011-06-27 07:57:31 -0400 |
commit | 4b03b559fa3b69930ae3d2dc769de1b9cc1a7c44 (patch) | |
tree | fcaf0718a1b79e4d1e3e105771992f106d312943 /src | |
parent | 41416ba7f8944ac60a6c1d84409d05a2d9e4d787 (diff) | |
download | ayatana-indicator-sound-4b03b559fa3b69930ae3d2dc769de1b9cc1a7c44.tar.gz ayatana-indicator-sound-4b03b559fa3b69930ae3d2dc769de1b9cc1a7c44.tar.bz2 ayatana-indicator-sound-4b03b559fa3b69930ae3d2dc769de1b9cc1a7c44.zip |
fix gtk3 not drawing transport widget at all
Diffstat (limited to 'src')
-rw-r--r-- | src/transport-widget.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |