commit a9b5baf23c1c962030013e1e1a8b0d2124dc4ddb Author: Hib Eris Date: Mon Dec 22 22:13:07 2008 +0100 Fix compile warnings in gkt-cairo-test diff --git a/test/gtk-cairo-test.cc b/test/gtk-cairo-test.cc index 9a15456..913f46d 100644 --- a/test/gtk-cairo-test.cc +++ b/test/gtk-cairo-test.cc @@ -36,8 +36,6 @@ drawing_area_expose (GtkWidget *drawing_area, void *data) { View *v = (View*) data; - GdkRectangle document; - GdkRectangle draw; cairo_t *cr; gdk_window_clear (drawing_area->window); @@ -51,7 +49,6 @@ drawing_area_expose (GtkWidget *drawing_area, static void view_set_page (View *v, int page) { - int err; int w, h; double width, height; cairo_t *cr; @@ -71,14 +68,6 @@ view_set_page (View *v, int page) } static void -redraw_callback (void *data) -{ - View *v = (View*) data; - - gtk_widget_queue_draw (v->drawing_area); -} - -static void page_changed_callback (GtkSpinButton *button, View *v) { int page;