diff options
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, |
