summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-10-07 19:49:14 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-10-07 19:49:14 +0000
commitcf740f7f9b16c589d817de512671abc71608bb42 (patch)
tree458be85d882eee19bb20e7e924fb0ba8edc15354 /test
parent06c73e519ae09ec31a52aee8d4b9eb2a118d1c0d (diff)
downloadnautilus-cf740f7f9b16c589d817de512671abc71608bb42.tar.gz
Require trunk eel. Drop libgnome* and librsvg deps.
2008-10-07 Alexander Larsson <alexl@redhat.com> * configure.in: Require trunk eel. Drop libgnome* and librsvg deps. * libnautilus-private/nautilus-customization-data.c: (nautilus_customization_data_get_next_element_for_display): * libnautilus-private/nautilus-icon-canvas-item.c: (real_map_pixbuf): * src/nautilus-property-browser.c: (make_drag_image): Use librsvg indirectly via gdk-pixbuf loader. * libnautilus-private/nautilus-thumbnails.c: Use thumbnail factory from gnome-desktop. * libnautilus-private/nautilus-undo.c: (nautilus_undo_get_undo_manager): Kill references to gnome canvas. * libnautilus-private/nautilus-vfs-file.c: Don't include removed eel-mount-operation.h header * src/file-manager/fm-properties-window.c: (update_preview_callback): Use thumbnail utils from gnome-desktop. * src/Makefile.am: * src/nautilus-bookmarks-window.c: * src/nautilus-bookmarks-window.glade: Removed. * src/nautilus-bookmarks-window.ui: Added. * src/nautilus-file-management-properties.c: * src/nautilus-file-management-properties.glade: Removed. * src/nautilus-file-management-properties.ui: Added. Switch from libglade to gtkbuilder. * libnautilus-private/nautilus-file-operations.c: * src/nautilus-emblem-sidebar.c: * src/nautilus-navigation-window.h: * test/test-nautilus-wrap-table.c: * test/test.c: * test/test.h: Drop old unused libgnome/librsvg includes svn path=/trunk/; revision=14704
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>