[gnome-games] aisleriot: Don't use deprecated gdk_spawn_* on gtk3
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] aisleriot: Don't use deprecated gdk_spawn_* on gtk3
- Date: Sat, 1 Jan 2011 12:53:21 +0000 (UTC)
commit 1b8ee60b263660228180cf3e703a8cdc613e5e91
Author: Christian Persch <chpe gnome org>
Date: Sat Jan 1 13:52:19 2011 +0100
aisleriot: Don't use deprecated gdk_spawn_* on gtk3
Bug #637997.
aisleriot/window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/aisleriot/window.c b/aisleriot/window.c
index 45f8028..0e1bb1d 100644
--- a/aisleriot/window.c
+++ b/aisleriot/window.c
@@ -1849,7 +1849,11 @@ game_exception_response_cb (GtkWidget *dialog,
g_snprintf (pidstr, sizeof (pidstr), "%d", getpid ());
+#if GTK_CHECK_VERSION (2, 91, 8)
+ if (!g_spawn_async (
+#else
if (!gdk_spawn_on_screen (gtk_widget_get_screen (GTK_WIDGET (window)),
+#endif
NULL /* working dir */,
(char **) argv,
NULL /* envp */,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]