[gnome-games] aisleriot: More GSEAL fixes
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] aisleriot: More GSEAL fixes
- Date: Fri, 2 Jul 2010 21:50:31 +0000 (UTC)
commit c1517a854b7efa485fa6787e1c7349599abfaf50
Author: Christian Persch <chpe gnome org>
Date: Fri Jul 2 23:41:07 2010 +0200
aisleriot: More GSEAL fixes
aisleriot/ar-clutter-embed.c | 4 ++--
aisleriot/prop-editor.c | 4 ++++
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/aisleriot/ar-clutter-embed.c b/aisleriot/ar-clutter-embed.c
index 98f11e1..e09ee9b 100644
--- a/aisleriot/ar-clutter-embed.c
+++ b/aisleriot/ar-clutter-embed.c
@@ -161,7 +161,7 @@ ar_clutter_embed_init (ArClutterEmbed *embed)
embed->priv = G_TYPE_INSTANCE_GET_PRIVATE (embed, AR_TYPE_CLUTTER_EMBED, ArClutterEmbedPrivate);
- GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS);
+ gtk_widget_set_can_focus (widget, TRUE);
}
static void
@@ -265,7 +265,7 @@ ar_clutter_embed_set_cursor (ArClutterEmbed *embed,
#ifndef HAVE_HILDON
ArClutterEmbedPrivate *priv = embed->priv;
- gdk_window_set_cursor (GTK_WIDGET (embed)->window,
+ gdk_window_set_cursor (gtk_widget_get_window (GTK_WIDGET (embed)),
priv->cursor[cursor]);
#endif /* !HAVE_HILDON */
}
diff --git a/aisleriot/prop-editor.c b/aisleriot/prop-editor.c
index c589f75..9f82f3b 100644
--- a/aisleriot/prop-editor.c
+++ b/aisleriot/prop-editor.c
@@ -17,6 +17,10 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
+#undef GSEAL_ENABLE
+
#include <string.h>
#include <gtk/gtk.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]