aboutsummaryrefslogtreecommitdiff
path: root/src/play-button.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/play-button.c')
-rw-r--r--src/play-button.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/play-button.c b/src/play-button.c
index d15b139..2a73030 100644
--- a/src/play-button.c
+++ b/src/play-button.c
@@ -371,6 +371,7 @@ play_button_init (PlayButton *self)
next_list);
gtk_widget_set_size_request(GTK_WIDGET(self), 200, 50);
+ GtkA
gtk_event_box_set_visible_window (GTK_EVENT_BOX(self), FALSE);
}
@@ -393,11 +394,15 @@ play_button_expose (GtkWidget *button, GdkEventExpose *event)
cairo_t *cr;
cr = gdk_cairo_create (button->window);
- /*cairo_rectangle (cr,
+ //GtkAllocation alloc;
+ //gtk_widget_get_allocation (metadata, &alloc);
+
+ g_debug("In the playbutton's expose method, x = %i, y=%i and width: %i and height: %i'")
+ cairo_rectangle (cr,
event->area.x, event->area.y,
event->area.width, event->area.height);
- cairo_clip(cr);*/
+ cairo_clip(cr);
draw (button, cr);
cairo_destroy (cr);