[gnome-games] libgames-support: Fix a HAVE_HILDON/HAVE_MAEMO mismatch
- From: Christian Persch <chpe src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-games] libgames-support: Fix a HAVE_HILDON/HAVE_MAEMO mismatch
- Date: Thu, 9 Jul 2009 23:11:15 +0000 (UTC)
commit 1325b7597fbf30221fb70c53fb7bfb3754616b20
Author: Christian Persch <chpe gnome org>
Date: Fri Jul 3 19:36:06 2009 +0200
libgames-support: Fix a HAVE_HILDON/HAVE_MAEMO mismatch
aisleriot/sol.c uses HAVE_MAEMO in this case, so do that here too.
libgames-support/games-show.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/libgames-support/games-show.c b/libgames-support/games-show.c
index a186481..50b43e5 100644
--- a/libgames-support/games-show.c
+++ b/libgames-support/games-show.c
@@ -22,15 +22,13 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#ifdef HAVE_HILDON
-#include <libosso.h>
-
+#ifdef HAVE_MAEMO
#ifdef HAVE_MAEMO_3
#include <osso-browser-interface.h>
#else
#include <tablet-browser-interface.h>
#endif /* HAVE_MAEMO_3 */
-#endif /* HAVE_HILDON */
+#endif /* HAVE_MAEMO */
#ifdef G_OS_WIN32
#define WIN32_LEAN_AND_MEAN
@@ -62,7 +60,7 @@ games_show_uri (GdkScreen *screen,
guint32 timestamp,
GError **error)
{
-#ifdef HAVE_HILDON
+#ifdef HAVE_MAEMO
osso_rpc_run_with_defaults (games_runtime_get_osso_context (),
"osso_browser",
OSSO_BROWSER_OPEN_NEW_WINDOW_REQ,
@@ -111,5 +109,5 @@ games_show_uri (GdkScreen *screen,
return FALSE;
#endif /* GTK+ >= 2.14 */
#endif /* G_OS_WIN32 */
-#endif /* HAVE_HILDON */
+#endif /* HAVE_MAEMO */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]