[gedit] Update smclient
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Update smclient
- Date: Wed, 28 Sep 2011 12:31:37 +0000 (UTC)
commit f5b10094eff898432d1e36d27dd4b364b15a16ee
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Sep 28 12:31:19 2011 +0200
Update smclient
gedit/smclient/eggsmclient-xsmp.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gedit/smclient/eggsmclient-xsmp.c b/gedit/smclient/eggsmclient-xsmp.c
index 9fd1e5d..d5cf3b5 100644
--- a/gedit/smclient/eggsmclient-xsmp.c
+++ b/gedit/smclient/eggsmclient-xsmp.c
@@ -193,6 +193,11 @@ egg_sm_client_xsmp_class_init (EggSMClientXSMPClass *klass)
EggSMClient *
egg_sm_client_xsmp_new (void)
{
+#if GTK_CHECK_VERSION(3,0,0)
+ if (!GDK_IS_X11_DISPLAY_MANAGER (gdk_display_manager_get ()))
+ return NULL;
+#endif
+
if (!g_getenv ("SESSION_MANAGER"))
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]