summaryrefslogtreecommitdiff
path: root/copy-n-paste
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-05-27 14:06:08 +0300
committermonsta <[email protected]>2016-05-27 14:06:08 +0300
commitf47350b1da9c2d91d6cd6a25085badc3be0c7925 (patch)
treeb7ade22a67cd7d8876ab669c83b735cf0a4f8c37 /copy-n-paste
parent9bf273fb9b31f878fe597c605a8faa18d220c37a (diff)
downloadengrampa-f47350b1da9c2d91d6cd6a25085badc3be0c7925.tar.bz2
engrampa-f47350b1da9c2d91d6cd6a25085badc3be0c7925.tar.xz
drop old GTK+2 code
Diffstat (limited to 'copy-n-paste')
-rw-r--r--copy-n-paste/eggsmclient-xsmp.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/copy-n-paste/eggsmclient-xsmp.c b/copy-n-paste/eggsmclient-xsmp.c
index 98b9bbe..e19a829 100644
--- a/copy-n-paste/eggsmclient-xsmp.c
+++ b/copy-n-paste/eggsmclient-xsmp.c
@@ -368,13 +368,7 @@ sm_client_xsmp_startup (EggSMClient *client,
xsmp->client_id = g_strdup (ret_client_id);
free (ret_client_id);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gdk_threads_enter ();
-#endif
gdk_x11_set_sm_client_id (xsmp->client_id);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gdk_threads_leave ();
-#endif
g_debug ("Got client ID \"%s\"", xsmp->client_id);
}
@@ -541,10 +535,6 @@ idle_do_pending_events (gpointer data)
EggSMClientXSMP *xsmp = data;
EggSMClient *client = data;
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gdk_threads_enter ();
-#endif
-
xsmp->idle = 0;
if (xsmp->waiting_to_emit_quit)
@@ -568,9 +558,6 @@ idle_do_pending_events (gpointer data)
}
out:
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gdk_threads_leave ();
-#endif
return FALSE;
}
@@ -1292,13 +1279,7 @@ process_ice_messages (IceConn ice_conn)
{
IceProcessMessagesStatus status;
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gdk_threads_enter ();
-#endif
status = IceProcessMessages (ice_conn, NULL, NULL);
-#if !GTK_CHECK_VERSION (3, 0, 0)
- gdk_threads_leave ();
-#endif
switch (status)
{