diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-09-15 01:38:47 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-09-15 01:49:08 +0800 |
commit | 95fe9256305bad92697bf1043efcbd61238cf94b (patch) | |
tree | b1b8d204cba628580ab7097283c980c56507be14 /modules/plugin-manager/evolution-plugin-manager.c | |
parent | b6f61694d42b65d02d12c268e991fdf8b96f50bf (diff) | |
download | gsoc2013-evolution-95fe9256305bad92697bf1043efcbd61238cf94b.tar.gz gsoc2013-evolution-95fe9256305bad92697bf1043efcbd61238cf94b.tar.zst gsoc2013-evolution-95fe9256305bad92697bf1043efcbd61238cf94b.zip |
Fix a crapload of run-time warnings.
EConfig and EMAccountEditor are very, very brittle.
Diffstat (limited to 'modules/plugin-manager/evolution-plugin-manager.c')
-rw-r--r-- | modules/plugin-manager/evolution-plugin-manager.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/plugin-manager/evolution-plugin-manager.c b/modules/plugin-manager/evolution-plugin-manager.c index a46215b41f..554719810e 100644 --- a/modules/plugin-manager/evolution-plugin-manager.c +++ b/modules/plugin-manager/evolution-plugin-manager.c @@ -224,7 +224,7 @@ eppm_enable_toggled (GtkCellRendererToggle *renderer, static void action_plugin_manager_cb (GtkAction *action, - EShellWindow *shell_window) + EExtension *extension) { Manager *m; gint i; @@ -239,13 +239,17 @@ action_plugin_manager_cb (GtkAction *action, GSList *plugins, *link; gchar *string; GtkWidget *subvbox; + EExtensible *extensible; m = g_malloc0 (sizeof (*m)); + /* Retrieve the parent EShellWindow. */ + extensible = e_extension_get_extensible (extension); + /* Setup the ui */ dialog = gtk_dialog_new_with_buttons ( _("Plugin Manager"), - GTK_WINDOW (shell_window), + GTK_WINDOW (extensible), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, NULL); |