summaryrefslogtreecommitdiff
path: root/libnautilus
diff options
context:
space:
mode:
Diffstat (limited to 'libnautilus')
-rw-r--r--libnautilus/nautilus-view-standard-main.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libnautilus/nautilus-view-standard-main.c b/libnautilus/nautilus-view-standard-main.c
index ec9a00561..424d46a42 100644
--- a/libnautilus/nautilus-view-standard-main.c
+++ b/libnautilus/nautilus-view-standard-main.c
@@ -113,12 +113,13 @@ nautilus_view_standard_main_multi (const char *executable_name,
/* Disable session manager connection */
gnome_client_disable_master_connection ();
+ gnomelib_register_popt_table (oaf_popt_options, oaf_get_popt_table_name ());
+ orb = oaf_init (argc, argv);
+
/* Initialize libraries. */
- gnome_init_with_popt_table (executable_name, version,
- argc, argv,
- oaf_popt_options, 0, NULL);
+ gnome_init (executable_name, version,
+ argc, argv);
gdk_rgb_init ();
- orb = oaf_init (argc, argv);
gnome_vfs_init ();
bonobo_init (orb, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL);