summaryrefslogtreecommitdiff
path: root/components/notes/nautilus-notes.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/notes/nautilus-notes.c')
-rw-r--r--components/notes/nautilus-notes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/notes/nautilus-notes.c b/components/notes/nautilus-notes.c
index 010f223e7..618272ded 100644
--- a/components/notes/nautilus-notes.c
+++ b/components/notes/nautilus-notes.c
@@ -241,12 +241,12 @@ main(int argc, char *argv[])
gnome_client_disable_master_connection ();
/* initialize CORBA and Bonobo */
+ gnomelib_register_popt_table (oaf_popt_options, oaf_get_popt_table_name ());
+ orb = oaf_init (argc, argv);
- gnome_init_with_popt_table("nautilus-notes", VERSION,
- argc, argv,
- oaf_popt_options, 0, NULL);
+ gnome_init ("nautilus-notes", VERSION,
+ argc, argv);
gdk_rgb_init ();
- orb = oaf_init (argc, argv);
bonobo_init (orb, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL);