Replace deprecated gdk_set_sm_client_id() invocation
gdk_set_sm_client_id() has been replaced by gdk_x11_set_sm_client_id() [1] since GDK 2.24. [1] http://developer.gnome.org/gdk/stable/gdk-General.html#gdk-set-sm-client-id Signed-off-by: Raul Gutierrez Segales <rgs@collabora.co.uk> [changed description] Signed-off-by: Sascha Silbe <silbe@activitycentral.com>
This commit is contained in:
parent
20319cb3c4
commit
7464997663
@ -265,7 +265,7 @@ sm_client_xsmp_connect (gpointer user_data)
|
||||
free (client_id);
|
||||
|
||||
gdk_threads_enter ();
|
||||
gdk_set_sm_client_id (xsmp->client_id);
|
||||
gdk_x11_set_sm_client_id (xsmp->client_id);
|
||||
gdk_threads_leave ();
|
||||
|
||||
g_debug ("Got client ID \"%s\"", xsmp->client_id);
|
||||
|
Loading…
Reference in New Issue
Block a user