aboutsummaryrefslogtreecommitdiff
path: root/src/play-button.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-22 19:56:43 +0200
committerConor Curran <conor.curran@canonical.com>2010-07-22 19:56:43 +0200
commitcf97680d74aa9ab00cd55359d9e16acdad9f057f (patch)
tree5a96a46ad8617c0fc7f24870f4d3840078b7a50d /src/play-button.c
parent928fbf4bab7659ec523ae16adc052ca42fece589 (diff)
downloadayatana-indicator-sound-cf97680d74aa9ab00cd55359d9e16acdad9f057f.tar.gz
ayatana-indicator-sound-cf97680d74aa9ab00cd55359d9e16acdad9f057f.tar.bz2
ayatana-indicator-sound-cf97680d74aa9ab00cd55359d9e16acdad9f057f.zip
trying to set the time line
Diffstat (limited to 'src/play-button.c')
-rw-r--r--src/play-button.c5
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);
}