aboutsummaryrefslogtreecommitdiff
path: root/src/transport-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-27 12:11:32 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-27 12:11:32 -0600
commitb6b241d47f33a67b6f61f9860a278a6582113835 (patch)
treeeaf53d145990befd253821a6b7763b17737ddcfb /src/transport-widget.c
parent1529af0e1224f04616054095742b698d8814cec4 (diff)
downloadayatana-indicator-sound-b6b241d47f33a67b6f61f9860a278a6582113835.tar.gz
ayatana-indicator-sound-b6b241d47f33a67b6f61f9860a278a6582113835.tar.bz2
ayatana-indicator-sound-b6b241d47f33a67b6f61f9860a278a6582113835.zip
button flickering fixed
Diffstat (limited to 'src/transport-widget.c')
-rw-r--r--src/transport-widget.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/transport-widget.c b/src/transport-widget.c
index a276a31..6ddd4bc 100644
--- a/src/transport-widget.c
+++ b/src/transport-widget.c
@@ -289,11 +289,7 @@ transport_widget_motion_notify_event (GtkWidget *menuitem,
event);
priv->motion_event = result;
- cairo_t *cr;
- cr = gdk_cairo_create (menuitem->window);
- draw ( menuitem, cr );
- cairo_destroy ( cr );
-
+ gtk_widget_queue_draw (menuitem);
return TRUE;
}