[rhythmbox/gobject-introspection: 12/34] adjust rbplugin vfunc defs so they get noticed by gi



commit 786e1bf8b0abcbc2915d2392ace866f5fb4f09c5
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue Jul 13 09:11:18 2010 +1000

    adjust rbplugin vfunc defs so they get noticed by gi

 shell/rb-plugin.h |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/shell/rb-plugin.h b/shell/rb-plugin.h
index d94195e..b0d1353 100644
--- a/shell/rb-plugin.h
+++ b/shell/rb-plugin.h
@@ -71,14 +71,13 @@ struct _RBPluginClass
 	GObjectClass parent_class;
 
 	/* Virtual public methods */
+	void (*activate) (RBPlugin *plugin, RBShell *shell);
+	void (*deactivate) (RBPlugin *plugin, RBShell *shell);
 
-	RBPluginActivationFunc		activate;
-	RBPluginActivationFunc		deactivate;
-	RBPluginWidgetFunc		create_configure_dialog;
-
+	GtkWidget* (*create_configure_dialog) (RBPlugin *plugin);
 	/* Plugins should not override this, it's handled automatically by
 	   the RbPluginClass */
-	RBPluginBooleanFunc		is_configurable;
+	gboolean (*is_configurable) (RBPlugin *plugin);
 };
 
 /*



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]