diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/test-nautilus-mime-actions-set.c | 7 | ||||
-rw-r--r-- | test/test-nautilus-mime-actions.c | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/test/test-nautilus-mime-actions-set.c b/test/test-nautilus-mime-actions-set.c index 7bf6ec49b..b615d9136 100644 --- a/test/test-nautilus-mime-actions-set.c +++ b/test/test-nautilus-mime-actions-set.c @@ -24,7 +24,7 @@ #include <config.h> -#include <gnome.h> +#include <gtk/gtk.h> #include <libnautilus-private/nautilus-mime-actions.h> #include <stdio.h> @@ -107,9 +107,8 @@ main (int argc, char **argv) const char *value; NautilusFile *file; NautilusFileAttributes attributes; - - gnome_program_init ("test-nautilus-mime-actions-set", "0.0", - LIBGNOMEUI_MODULE, argc, argv, NULL); + + gtk_init (&argc, &argv); if (argc < 3) { usage (argv[0]); diff --git a/test/test-nautilus-mime-actions.c b/test/test-nautilus-mime-actions.c index 4e92e0854..e77fff1b4 100644 --- a/test/test-nautilus-mime-actions.c +++ b/test/test-nautilus-mime-actions.c @@ -24,7 +24,7 @@ #include <config.h> -#include <gnome.h> +#include <gtk/gtk.h> #include <libnautilus-private/nautilus-mime-actions.h> #include <stdio.h> @@ -103,8 +103,7 @@ main (int argc, char **argv) NautilusFile *file; NautilusFileAttributes attributes; - gnome_program_init ("test-nautilus-mime-actions", "0.0", - LIBGNOMEUI_MODULE, argc, argv, NULL); + gtk_init (&argc, &argv); if (argc != 2) { fprintf (stderr, "Usage: %s uri\n", *argv); |