[yelp/wip/kill-gnome-common: 8/18] Return an int from main() in tests



commit 53ba0389dd2dc22a60547214e6e80619cacec1d5
Author: David King <amigadave amigadave com>
Date:   Thu Jan 29 13:44:03 2015 +0000

    Return an int from main() in tests

 tests/test-settings.c |    2 ++
 tests/test-view.c     |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-settings.c b/tests/test-settings.c
index 6eb891b..b8e21f9 100644
--- a/tests/test-settings.c
+++ b/tests/test-settings.c
@@ -327,4 +327,6 @@ main (int argc, char **argv)
     gtk_widget_show_all (GTK_WIDGET (window));
 
     gtk_main ();
+
+    return 0;
 }
diff --git a/tests/test-view.c b/tests/test-view.c
index bab71dc..5b9c27a 100644
--- a/tests/test-view.c
+++ b/tests/test-view.c
@@ -106,4 +106,6 @@ main (int argc, char **argv)
     gtk_widget_show_all (GTK_WIDGET (window));
 
     gtk_main ();
+
+    return 0;
 }


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