[gtk+] tests: return 0; from main()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] tests: return 0; from main()
- Date: Tue, 8 Jan 2013 14:49:40 +0000 (UTC)
commit b867970bf449aa17d2476b884445d8ae8bd2a168
Author: Benjamin Otte <otte redhat com>
Date: Tue Jan 8 12:23:52 2013 +0100
tests: return 0; from main()
So that gcc stops complaining.
gtk/tests/accessible.c | 2 ++
tests/testgeometry.c | 2 ++
tests/testtoplevelembed.c | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/tests/accessible.c b/gtk/tests/accessible.c
index 2805a2e..b44cb14 100644
--- a/gtk/tests/accessible.c
+++ b/gtk/tests/accessible.c
@@ -33,4 +33,6 @@ main (int argc, char *argv[])
for (i = 0; tp[i]; i++)
test_type (tp[i]);
+
+ return 0;
}
diff --git a/tests/testgeometry.c b/tests/testgeometry.c
index c3c4fbe..0e0fff1 100644
--- a/tests/testgeometry.c
+++ b/tests/testgeometry.c
@@ -219,4 +219,6 @@ main(int argc, char **argv)
create_window (GDK_HINT_RESIZE_INC | GDK_HINT_BASE_SIZE | GDK_HINT_MIN_SIZE);
gtk_main ();
+
+ return 0;
}
diff --git a/tests/testtoplevelembed.c b/tests/testtoplevelembed.c
index e183d94..997d050 100644
--- a/tests/testtoplevelembed.c
+++ b/tests/testtoplevelembed.c
@@ -100,4 +100,6 @@ main (gint argc, gchar **argv)
gtk_widget_show_all (window);
gtk_main ();
+
+ return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]