[seed] [example module] Fix warnings (include glib, etc)
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] [example module] Fix warnings (include glib, etc)
- Date: Tue, 7 Jul 2009 05:50:34 +0000 (UTC)
commit 3da6f00a365d347db51e88430fdc84ea8ad339d6
Author: Tim Horton <hortont424 gmail com>
Date: Tue Jul 7 01:18:45 2009 -0400
[example module] Fix warnings (include glib, etc)
modules/example/Makefile.am | 1 -
modules/example/seed-example.c | 5 +++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/modules/example/Makefile.am b/modules/example/Makefile.am
index 908a48e..4cd6060 100644
--- a/modules/example/Makefile.am
+++ b/modules/example/Makefile.am
@@ -8,7 +8,6 @@ seedlib_LTLIBRARIES = \
libseed_example_la_SOURCES = \
seed-example.c
-
AM_CPPFLAGS = \
-I top_srcdir@/libseed/ \
-I top_srcdir@/modules/ \
diff --git a/modules/example/seed-example.c b/modules/example/seed-example.c
index 97c2d36..018b4ef 100644
--- a/modules/example/seed-example.c
+++ b/modules/example/seed-example.c
@@ -1,8 +1,9 @@
-#include <seed.h>
+#include <glib.h>
+#include <seed-module.h>
SeedObject
seed_module_init(SeedEngine * eng)
{
- g_printf("Hello Seed Module World \n");
+ g_print("Hello Seed Module World \n");
return seed_make_object (eng->context, NULL, NULL);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]