aboutsummaryrefslogtreecommitdiff
path: root/libindicate/indicator.h
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-03 18:50:57 +0100
committerTed Gould <ted@canonical.com>2009-08-03 18:50:57 +0100
commitb3d3f3de3bb73ac8cc77ed5c8bde5aeb76073af2 (patch)
tree34ef8db1cf698114b04b736ef432c6bdc39c208c /libindicate/indicator.h
parent573c458ef73f399868624e0446f69dc03ced69cb (diff)
downloadlibayatana-indicator-b3d3f3de3bb73ac8cc77ed5c8bde5aeb76073af2.tar.gz
libayatana-indicator-b3d3f3de3bb73ac8cc77ed5c8bde5aeb76073af2.tar.bz2
libayatana-indicator-b3d3f3de3bb73ac8cc77ed5c8bde5aeb76073af2.zip
Adding a function to set the server of the indicator upon creation. indicate_indicator_new_with_server()
Diffstat (limited to 'libindicate/indicator.h')
-rw-r--r--libindicate/indicator.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libindicate/indicator.h b/libindicate/indicator.h
index 3e2a803..118c6c0 100644
--- a/libindicate/indicator.h
+++ b/libindicate/indicator.h
@@ -68,6 +68,8 @@ struct _IndicateIndicator {
GObject parent;
};
+#include "server.h"
+
/**
IndicateIndicatorClass:
@parent_class: Parent class #GObjectClass.
@@ -109,7 +111,9 @@ struct _IndicateIndicatorClass {
GType indicate_indicator_get_type(void) G_GNUC_CONST;
+/* New Indicator Functions */
IndicateIndicator * indicate_indicator_new (void);
+IndicateIndicator * indicate_indicator_new_with_server (IndicateServer * server);
/* Show and hide this indicator */
void indicate_indicator_show (IndicateIndicator * indicator);
@@ -167,4 +171,3 @@ GPtrArray * indicate_indicator_list_properties (IndicateIndicator * indicator);
G_END_DECLS
#endif /* INDICATE_INDICATOR_H_INCLUDED__ */
-