diff --git a/libxfce4panel/xfce-panel-plugin.c b/libxfce4panel/xfce-panel-plugin.c index 1e11b6ed..9c2396d4 100644 --- a/libxfce4panel/xfce-panel-plugin.c +++ b/libxfce4panel/xfce-panel-plugin.c @@ -371,7 +371,7 @@ xfce_panel_plugin_class_init (XfcePanelPluginClass *klass) G_STRUCT_OFFSET (XfcePanelPluginClass, remote_event), NULL, NULL, _libxfce4panel_marshal_BOOLEAN__STRING_BOXED, - G_TYPE_BOOLEAN, 2, G_TYPE_STRING, G_TYPE_VALUE); + G_TYPE_BOOLEAN, 3, G_TYPE_STRING, G_TYPE_VALUE, G_TYPE_UINT); /** * XfcePanelPlugin::removed @@ -1728,7 +1728,7 @@ xfce_panel_plugin_remote_event (XfcePanelPluginProvider *provider, panel_return_val_if_fail (value == NULL || G_IS_VALUE (value), TRUE); g_signal_emit (G_OBJECT (provider), plugin_signals[REMOTE_EVENT], 0, - name, value, &stop_emission); + name, value, handle, &stop_emission); return stop_emission; } diff --git a/libxfce4panel/xfce-panel-plugin.h b/libxfce4panel/xfce-panel-plugin.h index 6cfe47cf..f97504cc 100644 --- a/libxfce4panel/xfce-panel-plugin.h +++ b/libxfce4panel/xfce-panel-plugin.h @@ -124,7 +124,8 @@ struct _XfcePanelPluginClass void (*removed) (XfcePanelPlugin *plugin); gboolean (*remote_event) (XfcePanelPlugin *plugin, const gchar *name, - const GValue *value); + const GValue *value, + guint *handle); /* new in 4.10 */ void (*mode_changed) (XfcePanelPlugin *plugin,