Commit 45299eba authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Ray Strode
parent f91274d2
......@@ -171,21 +171,28 @@ org.gnome.SessionManager.Inhibitor.h: org.gnome.SessionManager.Inhibitor.xml Mak
org.gnome.SessionManager.Inhibitor.c: org.gnome.SessionManager.Inhibitor.h
@: # generated as a side-effect
gsm-presence-glue.h: org.gnome.SessionManager.Presence.xml Makefile.am
$(AM_V_GEN)dbus-binding-tool --prefix=gsm_presence --mode=glib-server --output=gsm-presence-glue.h $(srcdir)/org.gnome.SessionManager.Presence.xml
BUILT_SOURCES = \
org.gnome.SessionManager.App.h \
org.gnome.SessionManager.App.c \
org.gnome.SessionManager.Client.h \
org.gnome.SessionManager.Client.c \
org.gnome.SessionManager.Presence.h: org.gnome.SessionManager.Presence.xml Makefile.am
$(AM_V_GEN) gdbus-codegen --interface-prefix org.gnome.SessionManager.Presence. \
--generate-c-code org.gnome.SessionManager.Presence \
--c-namespace Gsm \
--annotate "org.gnome.SessionManager.Presence" "org.gtk.GDBus.C.Name" ExportedPresence \
$(srcdir)/org.gnome.SessionManager.Presence.xml
org.gnome.SessionManager.Presence.c: org.gnome.SessionManager.Presence.h
@: # generated as a side-effect
BUILT_SOURCES = \
org.gnome.SessionManager.App.h \
org.gnome.SessionManager.App.c \
org.gnome.SessionManager.Client.h \
org.gnome.SessionManager.Client.c \
org.gnome.SessionManager.ClientPrivate.h \
org.gnome.SessionManager.ClientPrivate.c \
org.gnome.SessionManager.Inhibitor.h \
org.gnome.SessionManager.Inhibitor.c \
org.gnome.SessionManager.h \
org.gnome.SessionManager.c \
gsm-presence-glue.h
org.gnome.SessionManager.h \
org.gnome.SessionManager.c \
org.gnome.SessionManager.Presence.h \
org.gnome.SessionManager.Presence.c
EXTRA_DIST = \
README \
......
This diff is collapsed.
......@@ -50,9 +50,6 @@ struct _GsmPresenceClass
void (* status_changed) (GsmPresence *presence,
guint status);
void (* status_text_changed) (GsmPresence *presence,
const char *status_text);
};
typedef enum
......@@ -62,9 +59,6 @@ typedef enum
} GsmPresenceError;
#define GSM_PRESENCE_ERROR gsm_presence_error_quark ()
GType gsm_presence_error_get_type (void);
#define GSM_PRESENCE_TYPE_ERROR (gsm_presence_error_get_type ())
GQuark gsm_presence_error_quark (void);
GType gsm_presence_get_type (void) G_GNUC_CONST;
......@@ -76,14 +70,6 @@ void gsm_presence_set_idle_enabled (GsmPresence *presence,
void gsm_presence_set_idle_timeout (GsmPresence *presence,
guint n_seconds);
/* exported to bus */
gboolean gsm_presence_set_status (GsmPresence *presence,
guint status,
GError **error);
gboolean gsm_presence_set_status_text (GsmPresence *presence,
const char *status_text,
GError **error);
G_END_DECLS
#endif /* __GSM_PRESENCE_H__ */
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