summaryrefslogtreecommitdiff
path: root/test/test-nautilus-mime-actions.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@ximian.com>2001-11-21 08:34:57 +0000
committerMichael Meeks <mmeeks@src.gnome.org>2001-11-21 08:34:57 +0000
commit7a030297d96722f9c7255b46ea971d8c848d83e7 (patch)
tree01493597bd465a91f43ffee91bea0dcf086885ae /test/test-nautilus-mime-actions.c
parent44af9fae6c0e1ab24a4a3314dd3a5ebb8285e8b0 (diff)
downloadnautilus-7a030297d96722f9c7255b46ea971d8c848d83e7.tar.gz
fix.
2001-11-21 Michael Meeks <michael@ximian.com> * test/test-nautilus-wrap-table.c (main): fix. * test/test-nautilus-mime-actions.c (main): upd. init. * test/test.c (test_init): upd. (test_label_new): kill tile_pixbuf support. (test_image_new): ditto. * test/test-nautilus-async-activation.c (main): upd. * test/Makefile.am: add CORE_CFLAGS, update LDADD. * libnautilus-private/nautilus-directory.c (nautilus_directory_destroy): rename to (nautilus_directory_dispose): this, but leave as a gtk object for now, double emission protect, move removal from directories list to head & split into: (nautilus_directory_finalize): here. * libnautilus-private/nautilus-directory-async.c (nautilus_directory_async_state_changed): fully remove GTK_OBJECT_DESTROYED check.
Diffstat (limited to 'test/test-nautilus-mime-actions.c')
-rw-r--r--test/test-nautilus-mime-actions.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/test/test-nautilus-mime-actions.c b/test/test-nautilus-mime-actions.c
index 962295ab8..2cc31d8fe 100644
--- a/test/test-nautilus-mime-actions.c
+++ b/test/test-nautilus-mime-actions.c
@@ -154,13 +154,8 @@ main (int argc, char **argv)
NautilusFile *file;
GList *attributes;
- g_thread_init (NULL);
- gnome_vfs_init ();
-
- gnomelib_register_popt_table (bonobo_activation_popt_options, bonobo_activation_get_popt_table_name ());
- bonobo_activation_init (argc, argv);
- gnome_init("test-nautilus-mime-actions", "0.0",
- argc, argv);
+ gnome_program_init ("test-nautilus-mime-actions", "0.0",
+ LIBGNOMEUI_MODULE, argc, argv, NULL);
if (argc != 2) {
fprintf (stderr, "Usage: %s uri\n", *argv);