diff options
Diffstat (limited to 'components/hardware/main.c')
-rw-r--r-- | components/hardware/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/components/hardware/main.c b/components/hardware/main.c index 25881a3c7..3297e2cf0 100644 --- a/components/hardware/main.c +++ b/components/hardware/main.c @@ -78,12 +78,12 @@ int main(int argc, char *argv[]) CORBA_exception_init(&ev); - gnome_init_with_popt_table("nautilus-hardware-view", VERSION, - argc, argv, - oaf_popt_options, 0, NULL); - + gnomelib_register_popt_table (oaf_popt_options, oaf_get_popt_table_name ()); orb = oaf_init (argc, argv); - + + gnome_init ("nautilus-hardware-view", VERSION, + argc, argv); + bonobo_init (orb, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL); /* initialize gnome-vfs, etc */ |