summaryrefslogtreecommitdiff
path: root/components/rpmview/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'components/rpmview/main.c')
-rw-r--r--components/rpmview/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/components/rpmview/main.c b/components/rpmview/main.c
index 7211e539b..d0ac1da57 100644
--- a/components/rpmview/main.c
+++ b/components/rpmview/main.c
@@ -77,11 +77,10 @@ int main(int argc, char *argv[])
textdomain (PACKAGE);
#endif
- gnome_init_with_popt_table("nautilus-rpm-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-rpm-view", VERSION,
+ argc, argv);
bonobo_init (orb, CORBA_OBJECT_NIL, CORBA_OBJECT_NIL);