[gtk+/xi2: 92/127] testphotoalbum: Fix compiler warnings.



commit 8dc97d17e09bb62ae66e61a7fff8da2a6db31217
Author: Carlos Garnacho <carlos gnome org>
Date:   Sat Feb 6 13:42:25 2010 +0100

    testphotoalbum: Fix compiler warnings.

 tests/multidevice/testphotoalbum.c       |    1 -
 tests/multidevice/testphotoalbumwidget.c |    3 ++-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/multidevice/testphotoalbum.c b/tests/multidevice/testphotoalbum.c
index 53779e9..974f587 100644
--- a/tests/multidevice/testphotoalbum.c
+++ b/tests/multidevice/testphotoalbum.c
@@ -81,7 +81,6 @@ int
 main (int argc, char *argv[])
 {
   GtkWidget *window, *widget;
-  GList *devices;
   GFile *dir;
 
   if (argc != 2)
diff --git a/tests/multidevice/testphotoalbumwidget.c b/tests/multidevice/testphotoalbumwidget.c
index e7c526b..dbd6eb4 100644
--- a/tests/multidevice/testphotoalbumwidget.c
+++ b/tests/multidevice/testphotoalbumwidget.c
@@ -157,7 +157,6 @@ calculate_rotated_point (gdouble  angle,
 static void
 allocate_photo_region (TestPhoto *photo)
 {
-  GdkRegion *region;
   GdkPoint points[4];
   gint width, height, i;
 
@@ -316,6 +315,8 @@ test_photo_album_widget_button_release (GtkWidget      *widget,
 
   if (group)
     gtk_device_group_remove_device (group, event->device);
+
+  return TRUE;
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]