aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.h
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2014-02-13 17:18:53 +0100
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2014-02-13 17:18:53 +0100
commit9affd1f62c4813c0b9e055f7ca5062cab7f46437 (patch)
tree579562d68426fbd70edcb6cd888e39524d3cb07f /libindicator/indicator-object.h
parent759fdd8e61a90a0c13ccd0d1f2665507fd7d00e7 (diff)
downloadlibayatana-indicator-9affd1f62c4813c0b9e055f7ca5062cab7f46437.tar.gz
libayatana-indicator-9affd1f62c4813c0b9e055f7ca5062cab7f46437.tar.bz2
libayatana-indicator-9affd1f62c4813c0b9e055f7ca5062cab7f46437.zip
IndicatorObject: add parent_window parameter to IndicatorEntry
Diffstat (limited to 'libindicator/indicator-object.h')
-rw-r--r--libindicator/indicator-object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index 5c8de4b..e542c0d 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -145,12 +145,12 @@ struct _IndicatorObjectClass {
void (*secondary_activate) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp, gpointer user_data);
gint (*get_position) (IndicatorObject *io);
+ guint (*get_parent_window) (IndicatorObject *io);
/* Reserved */
void (*reserved1) (void);
void (*reserved2) (void);
void (*reserved3) (void);
- void (*reserved4) (void);
};
/**
@@ -174,11 +174,11 @@ struct _IndicatorObject {
of the indicator
@name_hint: A name to describe the indicator being placed to allow
the caller to be more aware of the individual entries.
+ @parent_window: the id of the parent window of the indicator entry (if any).
@reserved1: Reserved for future use
@reserved2: Reserved for future use
@reserved3: Reserved for future use
- @reserved4: Reserved for future use
*/
struct _IndicatorObjectEntry {
IndicatorObject * parent_object;
@@ -187,11 +187,11 @@ struct _IndicatorObjectEntry {
GtkMenu * menu;
const gchar * accessible_desc;
const gchar * name_hint;
+ guint parent_window;
void (*reserved1) (void);
void (*reserved2) (void);
void (*reserved3) (void);
- void (*reserved4) (void);
};
GType indicator_object_get_type (void);