diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-03-31 21:58:52 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-04-01 00:10:54 +0800 |
commit | 0494d4c3c67403293c496d0ab6ce498b954a8a06 (patch) | |
tree | 845fb73df494c60b39132fc6bbb1c1358f46ba54 /e-util/e-plugin-ui.c | |
parent | 0125093ff7f0883fd8b97176a18cac5e798a37b9 (diff) | |
download | gsoc2013-evolution-0494d4c3c67403293c496d0ab6ce498b954a8a06.tar.gz gsoc2013-evolution-0494d4c3c67403293c496d0ab6ce498b954a8a06.tar.zst gsoc2013-evolution-0494d4c3c67403293c496d0ab6ce498b954a8a06.zip |
Remove EUIManager.
No longer needed. Use GtkUIManager directly.
Diffstat (limited to 'e-util/e-plugin-ui.c')
-rw-r--r-- | e-util/e-plugin-ui.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/e-util/e-plugin-ui.c b/e-util/e-plugin-ui.c index 3ef863c2a3..a8d0368e3e 100644 --- a/e-util/e-plugin-ui.c +++ b/e-util/e-plugin-ui.c @@ -21,8 +21,6 @@ #include "e-plugin-ui.h" -#include "e-ui-manager.h" - #include <string.h> #define E_PLUGIN_UI_HOOK_GET_PRIVATE(obj) \ @@ -247,12 +245,8 @@ plugin_ui_hook_merge_ui (EPluginUIHook *hook, ui_definition = g_hash_table_lookup (hash_table, id); g_return_val_if_fail (ui_definition != NULL, 0); - if (E_IS_UI_MANAGER (ui_manager)) - merge_id = e_ui_manager_add_ui_from_string ( - E_UI_MANAGER (ui_manager), ui_definition, &error); - else - merge_id = gtk_ui_manager_add_ui_from_string ( - ui_manager, ui_definition, -1, &error); + merge_id = gtk_ui_manager_add_ui_from_string ( + ui_manager, ui_definition, -1, &error); if (error != NULL) { g_warning ("%s", error->message); |