[clutter] conform/script: Add the return type for the margin test



commit 98982331cb7709d90d0f0bc09621cd8fbb791fb0
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jun 20 18:58:31 2012 +0100

    conform/script: Add the return type for the margin test
    
    The compiler would default to 'int', and warn - and then warn again
    because the function would not return a value.

 tests/conform/script-parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/conform/script-parser.c b/tests/conform/script-parser.c
index 8c2ae7c..0b455e1 100644
--- a/tests/conform/script-parser.c
+++ b/tests/conform/script-parser.c
@@ -399,6 +399,7 @@ script_layout_property (TestConformSimpleFixture *fixture,
   g_object_unref (script);
 }
 
+void
 script_margin (TestConformSimpleFixture *fixture,
                gpointer                  dummy)
 {
@@ -441,4 +442,3 @@ script_margin (TestConformSimpleFixture *fixture,
   g_object_unref (script);
   g_free (test_file);
 }
-



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