[Xfce4-commits] <xfce4-panel:devel> Remove the provider signal from the iface.
Nick Schermer
noreply at xfce.org
Fri Nov 20 22:14:02 CET 2009
Updating branch refs/heads/devel
to de804e2a8ea91ad1cba21ff84ebbe06758246390 (commit)
from 4dd5b61e4d84c8f647fb538770037000f97258a4 (commit)
commit de804e2a8ea91ad1cba21ff84ebbe06758246390
Author: Nick Schermer <nick at xfce.org>
Date: Fri Nov 20 21:50:37 2009 +0100
Remove the provider signal from the iface.
libxfce4panel/xfce-panel-plugin-provider.c | 3 +--
libxfce4panel/xfce-panel-plugin-provider.h | 4 ----
panel/panel-plugin-external.c | 1 -
3 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/libxfce4panel/xfce-panel-plugin-provider.c b/libxfce4panel/xfce-panel-plugin-provider.c
index 7ed6375..12309f7 100644
--- a/libxfce4panel/xfce-panel-plugin-provider.c
+++ b/libxfce4panel/xfce-panel-plugin-provider.c
@@ -73,8 +73,7 @@ xfce_panel_plugin_provider_class_init (gpointer klass,
g_signal_new (g_intern_static_string ("provider-signal"),
G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (XfcePanelPluginProviderIface, provider_signal),
- NULL, NULL,
+ 0, NULL, NULL,
g_cclosure_marshal_VOID__UINT,
G_TYPE_NONE, 1, G_TYPE_UINT);
}
diff --git a/libxfce4panel/xfce-panel-plugin-provider.h b/libxfce4panel/xfce-panel-plugin-provider.h
index ea413ee..4c2a048 100644
--- a/libxfce4panel/xfce-panel-plugin-provider.h
+++ b/libxfce4panel/xfce-panel-plugin-provider.h
@@ -48,10 +48,6 @@ struct _XfcePanelPluginProviderIface
/*< private >*/
GTypeInterface __parent__;
- /*< signals >*/
- void (*provider_signal) (XfcePanelPluginProvider *provider,
- XfcePanelPluginProviderSignal signal);
-
/*< public >*/
const gchar *(*get_name) (XfcePanelPluginProvider *provider);
gint (*get_unique_id) (XfcePanelPluginProvider *provider);
diff --git a/panel/panel-plugin-external.c b/panel/panel-plugin-external.c
index e645b0c..430eda3 100644
--- a/panel/panel-plugin-external.c
+++ b/panel/panel-plugin-external.c
@@ -259,7 +259,6 @@ panel_plugin_external_init (PanelPluginExternal *external)
static void
panel_plugin_external_provider_init (XfcePanelPluginProviderIface *iface)
{
- iface->provider_signal = NULL;
iface->get_name = panel_plugin_external_get_name;
iface->get_unique_id = panel_plugin_external_get_unique_id;
iface->set_size = panel_plugin_external_set_size;
More information about the Xfce4-commits
mailing list