diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-07-22 20:21:22 +0200 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-07-22 20:21:22 +0200 |
commit | 21b398262932ad1c835e524d7c2f450e855ed8b8 (patch) | |
tree | 5a96a46ad8617c0fc7f24870f4d3840078b7a50d /src/play-button.c | |
parent | 6265822d010af70aef509031e602714d1c2e24c5 (diff) | |
parent | cf97680d74aa9ab00cd55359d9e16acdad9f057f (diff) | |
download | ayatana-indicator-sound-21b398262932ad1c835e524d7c2f450e855ed8b8.tar.gz ayatana-indicator-sound-21b398262932ad1c835e524d7c2f450e855ed8b8.tar.bz2 ayatana-indicator-sound-21b398262932ad1c835e524d7c2f450e855ed8b8.zip |
ido scrub bar in but there are some bugs
Diffstat (limited to 'src/play-button.c')
-rw-r--r-- | src/play-button.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/play-button.c b/src/play-button.c index 539b2b2..1aeff12 100644 --- a/src/play-button.c +++ b/src/play-button.c @@ -328,7 +328,7 @@ play_button_init (PlayButton *self) priv->command_coordinates = g_hash_table_new_full(g_direct_hash, g_direct_equal, NULL, - g_list_free); + (GDestroyNotify)g_list_free); GList* previous_list = NULL; previous_list = g_list_insert(previous_list, GINT_TO_POINTER(15), 0); previous_list = g_list_insert(previous_list, GINT_TO_POINTER(10), 1); @@ -939,7 +939,6 @@ draw (GtkWidget* button, cairo_t *cr) BUTTON_SHADOW, BUTTON_SHADOW, FALSE); - cairo_surface_write_to_png(surf, "/tmp/drop_shadow.png"); _surface_blur (surf, 1); _finalize (cr, &cr_surf, &surf, PAUSE_X, PAUSE_Y + 1.0f); // draw play-button @@ -960,8 +959,6 @@ draw (GtkWidget* button, cairo_t *cr) BUTTON_START, BUTTON_END, FALSE); - cairo_surface_write_to_png(surf, "/tmp/play.png"); - _finalize (cr, &cr_surf, &surf, PAUSE_X, PAUSE_Y); } |