Small fix to make the package actually compile.
authorMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Wed, 25 Apr 2007 13:44:25 +0000 (13:44 +0000)
committerMichael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
Wed, 25 Apr 2007 13:44:25 +0000 (13:44 +0000)
ChangeLog
README
configure.ac
src/hildon-helper.h

index f41032c..c97b140 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-25  Michael Dominic Kostrzewa  <michael.kostrzewa@nokia.com> 
+
+       * README:
+       * configure.ac:
+       * src/hildon-helper.h: Small fix to make the package actually compile.
+
 2007-04-25  Xan Lopez  <xan.lopez@nokia.com>
 
        * src/hildon-bread-crumb-trail.h:
diff --git a/README b/README
index e69de29..e49f396 100644 (file)
--- a/README
+++ b/README
@@ -0,0 +1 @@
+Please define ENABLE_UNSTABLE_API to use the unstable api header parts.
index 2786263..e90fef3 100644 (file)
@@ -142,7 +142,7 @@ CFLAGS="$CFLAGS ${ASSERT_CFLAGS} -Wall -Wmissing-prototypes -Wmissing-declaratio
 # -Wno-format due to way translation string are done
 
 ### enable MAEMO platform extensions
-CFLAGS="$CFLAGS -DMAEMO_CHANGES"
+CFLAGS="$CFLAGS -DMAEMO_CHANGES -DENABLE_UNSTABLE_API"
 
 # HILDON_OBJ_*
 # default vars for the examples
index 64918d1..3031858 100644 (file)
@@ -22,6 +22,8 @@
  *
  */
 
+#ifdef                                          ENABLE_UNSTABLE_API
+
 #ifndef                                         __HILDON_HELPER_H__
 #define                                         __HILDON_HELPER_H__
 
@@ -59,4 +61,6 @@ hildon_helper_set_thumb_scrollbar               (GtkScrolledWindow *win,
 
 G_END_DECLS
 
-#endif                                          /* HILDON_HELPER_H */
+#endif                                          /* __HILDON_HELPER_H__ */
+
+#endif                                          /* ENABLE_UNSTABLE_API */