summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2008-10-06 09:40:38 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-10-06 09:40:38 +0000
commit0dcbcb7324c60c74613ddcff57f704cf417f132f (patch)
tree9200b70cee956d795247d3a75bd6b56c1eb3df68 /test
parentbcff418e46aae8956c57a9817ae5f18ea326e6a2 (diff)
downloadnautilus-0dcbcb7324c60c74613ddcff57f704cf417f132f.tar.gz
Use gtk_show_uri instead of gnome_help
2008-10-06 Cosimo Cecchi <cosimoc@gnome.org> * src/nautilus-window-menus.c: (action_nautilus_manual_callback): Use gtk_show_uri instead of gnome_help * src/nautilus-file-management-properties-main.c: * src/nautilus-connect-server-dialog-main.c: * src/nautilus-autorun-software.c: * test/test-nautilus-mime-actions-set.c: * test/test-nautilus-mime-actions.c: Use GOption instead of GnomeProgram * src/nautilus-property-browser.c: Use GtkColorButton instead of GnomeColorPicker Use gtk_show_uri instead of gnome_help svn path=/trunk/; revision=14683
Diffstat (limited to 'test')
-rw-r--r--test/test-nautilus-mime-actions-set.c7
-rw-r--r--test/test-nautilus-mime-actions.c5
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);