diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2010-09-15 14:02:13 -0400 |
---|---|---|
committer | Bazaar Package Importer <james.westby@ubuntu.com> | 2010-09-15 14:02:13 -0400 |
commit | 1ccd374f4757568a1f676d4814e700330a7b3a04 (patch) | |
tree | 5a3f94f07d4d70e889b15421fd4ce5626ff5766f /src/play-button.c | |
parent | 27eda7071ca30703ae477a4526df70d85a69724f (diff) | |
parent | 7695b78d05fd79ad7581d82b1f5ad171529e19e0 (diff) | |
download | ayatana-indicator-sound-1ccd374f4757568a1f676d4814e700330a7b3a04.tar.gz ayatana-indicator-sound-1ccd374f4757568a1f676d4814e700330a7b3a04.tar.bz2 ayatana-indicator-sound-1ccd374f4757568a1f676d4814e700330a7b3a04.zip |
Import upstream version 0.4.7
Diffstat (limited to 'src/play-button.c')
-rw-r--r-- | src/play-button.c | 3 |
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; |