From c6eab162d9397b44d26943e5e3fbf4ffe70aa8f7 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 10 Feb 2009 15:16:31 -0600 Subject: Adding in a set_type function and fixing the prototype for set_desktop --- libindicate/server.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libindicate') diff --git a/libindicate/server.h b/libindicate/server.h index c2b2191..1aaeb47 100644 --- a/libindicate/server.h +++ b/libindicate/server.h @@ -55,7 +55,8 @@ void indicate_server_set_dbus_object (const gchar * obj); /* Sets the desktop file to get data like name and description * out of */ -void indicate_server_set_desktop_file (const gchar * path); +void indicate_server_set_desktop_file (IndicateServer * server, const gchar * path); +void indicate_server_set_type (IndicateServer * server, const gchar * type); /* Show and hide the server on DBus, this allows for the server to * be created, change the object, and then shown. If for some @@ -71,6 +72,7 @@ void indicate_server_remove_indicator (IndicateServer * server, IndicateIndicato IndicateServer * indicate_server_ref_default (void); void indicate_server_set_default (IndicateServer * server); + /* DBus API */ gboolean indicate_server_get_indicator_count (IndicateServer * server, guint * count, GError **error); gboolean indicate_server_get_indicator_count_by_type (IndicateServer * server, gchar * type, guint * count, GError **error); -- cgit v1.2.3