aboutsummaryrefslogtreecommitdiff
path: root/src/play-button.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-09-15 18:05:58 -0400
committerKen VanDine <ken.vandine@canonical.com>2010-09-15 18:05:58 -0400
commitea70683cc857be94778e67eac2c0aef126373ae9 (patch)
tree14f0369795c2fe76ab44e40ec7fff4063078599c /src/play-button.c
parent38dd038d1c0df47308fcda969bc21253ed5d019f (diff)
parent7695b78d05fd79ad7581d82b1f5ad171529e19e0 (diff)
downloadayatana-indicator-sound-ea70683cc857be94778e67eac2c0aef126373ae9.tar.gz
ayatana-indicator-sound-ea70683cc857be94778e67eac2c0aef126373ae9.tar.bz2
ayatana-indicator-sound-ea70683cc857be94778e67eac2c0aef126373ae9.zip
releasing version 0.4.7-0ubuntu1
Diffstat (limited to 'src/play-button.c')
-rw-r--r--src/play-button.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/play-button.c b/src/play-button.c
index 2ab5fc8..5e8a90d 100644
--- a/src/play-button.c
+++ b/src/play-button.c
@@ -99,6 +99,7 @@ static void play_button_dispose (GObject *object);
static void play_button_finalize (GObject *object);
static gboolean play_button_expose (GtkWidget *button, GdkEventExpose *event);
+
static void draw (GtkWidget* button, cairo_t *cr);
G_DEFINE_TYPE (PlayButton, play_button, GTK_TYPE_DRAWING_AREA);
@@ -370,6 +371,7 @@ play_button_init (PlayButton *self)
next_list);
gtk_widget_set_size_request(GTK_WIDGET(self), 200, 50);
+
}
static void
@@ -395,6 +397,7 @@ play_button_expose (GtkWidget *button, GdkEventExpose *event)
event->area.width, event->area.height);
cairo_clip(cr);
+
draw (button, cr);
cairo_destroy (cr);
return FALSE;