[gthumb] gth-test-simple: use a signed integer



commit eecb4940549738c08a583d11f7b7118cb7a651f4
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Apr 4 11:26:20 2013 +0200

    gth-test-simple: use a signed integer

 gthumb/gth-test-simple.c |    2 +-
 gthumb/gth-test-simple.h |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-test-simple.c b/gthumb/gth-test-simple.c
index 1e83b76..788a0a1 100644
--- a/gthumb/gth-test-simple.c
+++ b/gthumb/gth-test-simple.c
@@ -1258,7 +1258,7 @@ gth_test_simple_set_data_as_string (GthTestSimple *test,
 
 void
 gth_test_simple_set_data_as_int (GthTestSimple *test,
-                                guint64        i)
+                                gint64         i)
 {
        _gth_test_simple_free_data (test);
        test->priv->data_type = GTH_TEST_DATA_TYPE_INT;
diff --git a/gthumb/gth-test-simple.h b/gthumb/gth-test-simple.h
index 339e44e..d3449f1 100644
--- a/gthumb/gth-test-simple.h
+++ b/gthumb/gth-test-simple.h
@@ -45,7 +45,7 @@ typedef gint64 (*GthTestGetData) (GthTest        *test,
                                  gpointer       *data,
                                  GDestroyNotify *data_destroy_func);
 
-typedef enum { 
+typedef enum {
        GTH_TEST_DATA_TYPE_NONE,
        GTH_TEST_DATA_TYPE_INT,
        GTH_TEST_DATA_TYPE_SIZE,
@@ -68,7 +68,7 @@ GType  gth_test_simple_get_type           (void) G_GNUC_CONST;
 void   gth_test_simple_set_data_as_string (GthTestSimple *test,
                                           const char    *s);
 void   gth_test_simple_set_data_as_int    (GthTestSimple *test,
-                                          guint64        i);
+                                          gint64         i);
 void   gth_test_simple_set_data_as_size   (GthTestSimple *test,
                                           guint64        i);
 void   gth_test_simple_set_data_as_date   (GthTestSimple *test,


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