Adapt smclient to latest gtk+-3.0 API.

This commit is contained in:
Kjartan Maraas
2010-12-26 13:11:33 +01:00
committed by Matthew Barnes
parent 72a11da2fc
commit a2f59fe0fc
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@
#ifndef __EGG_SM_CLIENT_PRIVATE_H__
#define __EGG_SM_CLIENT_PRIVATE_H__
#include <gdkconfig.h>
#include <gdk/gdk.h>
#include "eggsmclient.h"
G_BEGIN_DECLS

View File

@ -35,7 +35,7 @@
#include <unistd.h>
#include <X11/SM/SMlib.h>
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
#define EGG_TYPE_SM_CLIENT_XSMP \
(egg_sm_client_xsmp_get_type ())
@ -378,7 +378,7 @@ sm_client_xsmp_startup (EggSMClient *client,
free (ret_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);