aboutsummaryrefslogtreecommitdiffstats
path: root/shell/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/main.c')
-rw-r--r--shell/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/main.c b/shell/main.c
index 4b7c3cce3d..4d28eb7549 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -34,7 +34,6 @@
#include "e-util/e-bconf-map.h"
#include <e-util/e-icon-factory.h>
-#include "e-shell-registry.h"
#include "e-util/e-profile-event.h"
#include "e-util/e-util.h"
@@ -294,7 +293,8 @@ idle_cb (gchar **uris)
return FALSE;
}
- initial_view = e_shell_registry_get_canonical_name (requested_view);
+ initial_view = e_shell_get_canonical_name (
+ global_shell, requested_view);
if (initial_view != NULL) {
GConfClient *client;