aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-plugin-ui.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-03-16 00:11:26 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-03-16 00:14:36 +0800
commit04305b8fa35d87d97e48b11f93d24604cef5155d (patch)
tree5bb4922a88238522039431aa4d3583777d1f3466 /e-util/e-plugin-ui.h
parent2971ce413ce9f91ac768d53487c47056b2f5710f (diff)
downloadgsoc2013-evolution-04305b8fa35d87d97e48b11f93d24604cef5155d.tar.gz
gsoc2013-evolution-04305b8fa35d87d97e48b11f93d24604cef5155d.tar.zst
gsoc2013-evolution-04305b8fa35d87d97e48b11f93d24604cef5155d.zip
Revert some bad assumptions I made in EPluginUI.
We can't require the use of EUIManager everywhere because we don't control all the UI manager instances -- the most compelling example being the composer, whose UI manager comes from GtkhtmlEditor. Instead, EPluginUI will check the instance type and pick an appropriate "load_from_string" function.
Diffstat (limited to 'e-util/e-plugin-ui.h')
-rw-r--r--e-util/e-plugin-ui.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/e-util/e-plugin-ui.h b/e-util/e-plugin-ui.h
index e0cbb32f2d..e59b5f5222 100644
--- a/e-util/e-plugin-ui.h
+++ b/e-util/e-plugin-ui.h
@@ -20,7 +20,6 @@
#include <gtk/gtk.h>
-#include <e-util/e-ui-manager.h>
#include <e-util/e-plugin.h>
/* Standard GObject macros */
@@ -59,17 +58,17 @@ struct _EPluginUIHookClass {
/* Plugins with "org.gnome.evolution.ui" hooks should define a
* function named e_plugin_ui_init() having this signature. */
-typedef gboolean (*EPluginUIInitFunc) (EUIManager *ui_manager,
+typedef gboolean (*EPluginUIInitFunc) (GtkUIManager *ui_manager,
gpointer user_data);
GType e_plugin_ui_hook_get_type (void);
-void e_plugin_ui_register_manager (EUIManager *ui_manager,
+void e_plugin_ui_register_manager (GtkUIManager *ui_manager,
const gchar *id,
gpointer user_data);
-void e_plugin_ui_enable_manager (EUIManager *ui_manager,
+void e_plugin_ui_enable_manager (GtkUIManager *ui_manager,
const gchar *id);
-void e_plugin_ui_disable_manager (EUIManager *ui_manager,
+void e_plugin_ui_disable_manager (GtkUIManager *ui_manager,
const gchar *id);
G_END_DECLS