aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-21 09:17:41 -0500
committerTed Gould <ted@gould.cx>2011-07-21 09:17:41 -0500
commit4234bd3c279346274d5acabc24a869c596a3e1e7 (patch)
treef022b5e6b08030bbe5c586f92fa7699dde608350
parent6f1c8e020c0db10a1b2c69c0d2f08a5e69cbc271 (diff)
downloadlibayatana-indicator-4234bd3c279346274d5acabc24a869c596a3e1e7.tar.gz
libayatana-indicator-4234bd3c279346274d5acabc24a869c596a3e1e7.tar.bz2
libayatana-indicator-4234bd3c279346274d5acabc24a869c596a3e1e7.zip
Dropping the x and y paramaters from the secondary activate signal
-rw-r--r--libindicator/indicator-object-marshal.list1
-rw-r--r--libindicator/indicator-object.c7
-rw-r--r--libindicator/indicator-object.h2
3 files changed, 3 insertions, 7 deletions
diff --git a/libindicator/indicator-object-marshal.list b/libindicator/indicator-object-marshal.list
index d0b0437..4896ac4 100644
--- a/libindicator/indicator-object-marshal.list
+++ b/libindicator/indicator-object-marshal.list
@@ -2,4 +2,3 @@ VOID: POINTER, UINT, UINT
VOID: POINTER, UINT, ENUM
VOID: POINTER, UINT
VOID: POINTER, BOOLEAN
-VOID: POINTER, UINT, INT, INT
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c
index 04809f1..ad74c79 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -175,8 +175,6 @@ indicator_object_class_init (IndicatorObjectClass *klass)
@arg1: A pointer to the #IndicatorObjectEntry that
receives the secondary activate event.
@arg2: The timestamp of the event
- @arg3: The X position of the pointer
- @arg4: The Y position of the pointer
When the indicator receives a secondary activation event
from the user, this signal is emitted.
@@ -186,9 +184,8 @@ indicator_object_class_init (IndicatorObjectClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (IndicatorObjectClass, secondary_activate),
NULL, NULL,
- _indicator_object_marshal_VOID__POINTER_UINT_INT_INT,
- G_TYPE_NONE, 4, G_TYPE_POINTER, G_TYPE_UINT,
- G_TYPE_INT, G_TYPE_INT);
+ _indicator_object_marshal_VOID__POINTER_UINT,
+ G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_UINT);
/**
IndicatorObject::menu-show:
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index 097b4a1..3a120f5 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -128,7 +128,7 @@ struct _IndicatorObjectClass {
void (*menu_show) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp, gpointer user_data);
void (*show_now_changed) (IndicatorObject * io, IndicatorObjectEntry * entry, gboolean show_now_state, gpointer user_data);
void (*accessible_desc_update) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
- void (*secondary_activate) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp, gint x, gint y, gpointer user_data);
+ void (*secondary_activate) (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp, gpointer user_data);
/* Reserved */
void (*reserved1) (void);