diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2012-01-25 15:33:36 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2012-01-25 15:33:36 +0100 |
| commit | 483864e4d7d21156f9e91a10fd0c973a052cec75 (patch) | |
| tree | 8cd807cae410b4f4ed6283387917e51c6674e1e4 /services | |
| parent | 14931a05ea0b8646204a11a6eecfd9cee5bc6c30 (diff) | |
PanelService: using unsigned int for sending the button
(bzr r1858.9.8)
Diffstat (limited to 'services')
| -rw-r--r-- | services/panel-main.c | 6 | ||||
| -rw-r--r-- | services/panel-service.c | 4 | ||||
| -rw-r--r-- | services/panel-service.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/services/panel-main.c b/services/panel-main.c index 1d6df3f01..33905a22b 100644 --- a/services/panel-main.c +++ b/services/panel-main.c @@ -64,7 +64,7 @@ static const gchar introspection_xml[] = " <arg type='s' name='entry_id' direction='in'/>" " <arg type='i' name='x' direction='in'/>" " <arg type='i' name='y' direction='in'/>" - " <arg type='i' name='button' direction='in'/>" + " <arg type='u' name='button' direction='in'/>" " <arg type='u' name='timestamp' direction='in'/>" " </method>" "" @@ -186,9 +186,9 @@ handle_method_call (GDBusConnection *connection, gchar *entry_id; gint32 x; gint32 y; - gint32 button; + guint32 button; guint32 timestamp; - g_variant_get (parameters, "(usiiiu)", &xid, &entry_id, ×tamp, &x, &y, &button, NULL); + g_variant_get (parameters, "(usiiuu)", &xid, &entry_id, &x, &y, &button, ×tamp, NULL); panel_service_show_entry (service, xid, entry_id, x, y, button, timestamp); diff --git a/services/panel-service.c b/services/panel-service.c index 227bc29f8..1cf44f526 100644 --- a/services/panel-service.c +++ b/services/panel-service.c @@ -1458,7 +1458,7 @@ panel_service_actually_show_entry (PanelService *self, IndicatorObjectEntry *entry, gint32 x, gint32 y, - gint32 button, + guint32 button, guint32 timestamp) { PanelServicePrivate *priv; @@ -1567,7 +1567,7 @@ panel_service_show_entry (PanelService *self, const gchar *entry_id, gint32 x, gint32 y, - gint32 button, + guint32 button, guint32 timestamp) { IndicatorObject *object; diff --git a/services/panel-service.h b/services/panel-service.h index 62c404697..443f168a0 100644 --- a/services/panel-service.h +++ b/services/panel-service.h @@ -98,7 +98,7 @@ void panel_service_show_entry (PanelService *self, const gchar *entry_id, gint32 x, gint32 y, - gint32 button, + guint32 button, guint32 timestamp); void panel_service_show_app_menu (PanelService *self, |
