diff options
author | Kristian Høgsberg <krh@redhat.com> | 2005-03-05 04:37:14 +0000 |
---|---|---|
committer | Kristian Høgsberg <krh@redhat.com> | 2005-03-05 04:37:14 +0000 |
commit | 60d190ef80a0dcd9cc3a67306e2c65c5dd482f24 (patch) | |
tree | 39991c9c3dd98cb615e8d7195d3f3c425023ab0d /test | |
parent | e6706e505c1675724c8870f7c58079932661db5f (diff) |
2005-03-04 Kristian Høgsberg <krh@redhat.com>
* test/gtk-cairo-test.cc (view_load):
* test/gtk-splash-test.cc (view_load): Fix missing return
statement, and remove unused variables.
* configure.ac: Add configure option to enable the default KDE
flags as described by Albert Astals Cid <tsdgeos@yahoo.es>.
* TODO: Update with Jeff's items.
* .cvsignore:
* */.cvsignore: Add these to silence CVS.
Diffstat (limited to 'test')
-rw-r--r-- | test/gtk-cairo-test.cc | 6 | ||||
-rw-r--r-- | test/gtk-splash-test.cc | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/test/gtk-cairo-test.cc b/test/gtk-cairo-test.cc index 59653911..876c5030 100644 --- a/test/gtk-cairo-test.cc +++ b/test/gtk-cairo-test.cc @@ -122,7 +122,6 @@ void GDKCairoOutputDev::redraw(int srcX, int srcY, int destX, int destY, int width, int height) { GdkGC *gc; - int gdk_rowstride; gc = gdk_gc_new (drawable); gdk_draw_drawable (drawable, gc, @@ -146,7 +145,6 @@ drawing_area_expose (GtkWidget *drawing_area, void *data) { View *v = (View*) data; - int x, y, w, h; GdkRectangle document; GdkRectangle draw; @@ -173,8 +171,6 @@ view_load (View *v, PDFDoc *newDoc; int err; GooString *filename_g; - GtkAdjustment *hadj; - GtkAdjustment *vadj; int w, h; filename_g = new GooString (filename); @@ -203,6 +199,8 @@ view_load (View *v, h = v->out->getPixmapHeight(); gtk_widget_set_size_request (v->drawing_area, w, h); + + return errNone; } static void diff --git a/test/gtk-splash-test.cc b/test/gtk-splash-test.cc index 6925cd5d..15a2630e 100644 --- a/test/gtk-splash-test.cc +++ b/test/gtk-splash-test.cc @@ -162,7 +162,6 @@ drawing_area_expose (GtkWidget *drawing_area, void *data) { View *v = (View*) data; - int x, y, w, h; GdkRectangle document; GdkRectangle draw; @@ -189,8 +188,6 @@ view_load (View *v, PDFDoc *newDoc; int err; GooString *filename_g; - GtkAdjustment *hadj; - GtkAdjustment *vadj; int w, h; filename_g = new GooString (filename); @@ -219,6 +216,8 @@ view_load (View *v, h = v->out->getBitmapHeight(); gtk_widget_set_size_request (v->drawing_area, w, h); + + return errNone; } static void |