summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-nautilus-wrap-table.c4
-rw-r--r--test/test.c2
-rw-r--r--test/test.h1
3 files changed, 4 insertions, 3 deletions
diff --git a/test/test-nautilus-wrap-table.c b/test/test-nautilus-wrap-table.c
index 55147d2a9..7892b0166 100644
--- a/test/test-nautilus-wrap-table.c
+++ b/test/test-nautilus-wrap-table.c
@@ -26,7 +26,7 @@ main (int argc, char* argv[])
emblems_table = eel_wrap_table_new (TRUE);
gtk_widget_show (emblems_table);
- gtk_container_set_border_width (GTK_CONTAINER (emblems_table), GNOME_PAD);
+ gtk_container_set_border_width (GTK_CONTAINER (emblems_table), 8);
scroller = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroller),
@@ -61,7 +61,7 @@ main (int argc, char* argv[])
while (nautilus_customization_data_get_next_element_for_display (customization_data,
&emblem_name,
&pixbuf,
- &label) == GNOME_VFS_OK) {
+ &label)) {
stripped_name = eel_filename_strip_extension (emblem_name);
g_free (emblem_name);
diff --git a/test/test.c b/test/test.c
index bd9065ecd..7d1d578a1 100644
--- a/test/test.c
+++ b/test/test.c
@@ -1,4 +1,6 @@
#include "test.h"
+#include <sys/types.h>
+#include <unistd.h>
#include <eel/eel-preferences.h>
diff --git a/test/test.h b/test/test.h
index 0d48ecda0..934b708c0 100644
--- a/test/test.h
+++ b/test/test.h
@@ -3,7 +3,6 @@
#include <config.h>
#include <gtk/gtk.h>
-#include <gnome.h>
#include <eel/eel-art-extensions.h>
#include <eel/eel-art-gtk-extensions.h>