Commit 96ce81a4 authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Ray Strode

gsm-dbus-client: port to GDBus

https://bugzilla.gnome.org/show_bug.cgi?id=622924
parent 8ce2bbb4
......@@ -144,6 +144,15 @@ org.gnome.SessionManager.Client.h: org.gnome.SessionManager.Client.xml Makefile.
org.gnome.SessionManager.Client.c: org.gnome.SessionManager.Client.h
@: # generated as a side-effect
org.gnome.SessionManager.ClientPrivate.h: org.gnome.SessionManager.ClientPrivate.xml Makefile.am
$(AM_V_GEN) gdbus-codegen --interface-prefix org.gnome.SessionManager.ClientPrivate. \
--generate-c-code org.gnome.SessionManager.ClientPrivate \
--c-namespace Gsm \
--annotate "org.gnome.SessionManager.ClientPrivate" "org.gtk.GDBus.C.Name" ExportedClientPrivate \
$(srcdir)/org.gnome.SessionManager.ClientPrivate.xml
org.gnome.SessionManager.ClientPrivate.c: org.gnome.SessionManager.ClientPrivate.h
@: # generated as a side-effect
gsm-app-glue.h: org.gnome.SessionManager.App.xml Makefile.am
$(AM_V_GEN)dbus-binding-tool --prefix=gsm_app --mode=glib-server --output=gsm-app-glue.h $(srcdir)/org.gnome.SessionManager.App.xml
......@@ -156,6 +165,8 @@ gsm-presence-glue.h: org.gnome.SessionManager.Presence.xml Makefile.am
BUILT_SOURCES = \
org.gnome.SessionManager.Client.h \
org.gnome.SessionManager.Client.c \
org.gnome.SessionManager.ClientPrivate.h \
org.gnome.SessionManager.ClientPrivate.c \
org.gnome.SessionManager.h \
org.gnome.SessionManager.c \
gsm-presence-glue.h \
......
This diff is collapsed.
......@@ -46,20 +46,6 @@ struct _GsmDBusClientClass
GsmClientClass parent_class;
};
typedef enum
{
GSM_DBUS_CLIENT_ERROR_GENERAL = 0,
GSM_DBUS_CLIENT_ERROR_NOT_CLIENT,
GSM_DBUS_CLIENT_NUM_ERRORS
} GsmDBusClientError;
#define GSM_DBUS_CLIENT_ERROR gsm_dbus_client_error_quark ()
GType gsm_dbus_client_error_get_type (void);
#define GSM_DBUS_CLIENT_TYPE_ERROR (gsm_dbus_client_error_get_type ())
GQuark gsm_dbus_client_error_quark (void);
GType gsm_dbus_client_get_type (void) G_GNUC_CONST;
GsmClient * gsm_dbus_client_new (const char *startup_id,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment