From b6b241d47f33a67b6f61f9860a278a6582113835 Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Thu, 27 Jan 2011 12:11:32 -0600 Subject: button flickering fixed --- src/sound-service.c | 4 ++-- src/transport-widget.c | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/sound-service.c b/src/sound-service.c index 2cb33d3..c1bb9b4 100644 --- a/src/sound-service.c +++ b/src/sound-service.c @@ -40,8 +40,8 @@ service_shutdown (IndicatorService *service, gpointer user_data) { if (mainloop != NULL) { g_debug("Service shutdown !"); - close_pulse_activites(); - g_main_loop_quit(mainloop); + //close_pulse_activites(); + //g_main_loop_quit(mainloop); } return; } 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; } -- cgit v1.2.3