summaryrefslogtreecommitdiff
path: root/mate-panel/panel-session.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-16 20:19:25 +0200
committerinfirit <[email protected]>2014-05-16 21:47:47 +0200
commitdd5556550e07876cf74db99909be97ef8a87a508 (patch)
tree3b3dcf1893f76638f631784400ffc7787c5b9569 /mate-panel/panel-session.c
parent65886d8d05867862632319982af408ed03b6f96c (diff)
downloadmate-panel-dd5556550e07876cf74db99909be97ef8a87a508.tar.bz2
mate-panel-dd5556550e07876cf74db99909be97ef8a87a508.tar.xz
Use gdk_x11_set_sm_client_id also for gtk+2 (since 2.24)
Diffstat (limited to 'mate-panel/panel-session.c')
-rw-r--r--mate-panel/panel-session.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mate-panel/panel-session.c b/mate-panel/panel-session.c
index 5f43f3f4..917d9ff5 100644
--- a/mate-panel/panel-session.c
+++ b/mate-panel/panel-session.c
@@ -80,9 +80,5 @@ panel_session_init (void)
/* We don't want the WM to try and save/restore our
* window position */
-#if GTK_CHECK_VERSION (3, 0, 0)
gdk_x11_set_sm_client_id (NULL);
-#else
- gdk_set_sm_client_id (NULL);
-#endif
}