diff options
author | Darin Adler <darin@src.gnome.org> | 2002-01-03 23:18:38 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2002-01-03 23:18:38 +0000 |
commit | 3eec4d53e18c0f9efd0c86e859bb3e48dbfbd003 (patch) | |
tree | 042a59d58554d855f57a33f54e3d21aaf7f2685a /test | |
parent | baa640126870f63ee62b818f0c6e2b8e9596b753 (diff) | |
download | nautilus-3eec4d53e18c0f9efd0c86e859bb3e48dbfbd003.tar.gz |
Turn on test subdirectory.
* Makefile.am: Turn on test subdirectory.
* test/test.c: (test_init), (test_label_new):
* test/test.h:
Build without using EelLabel.
* src/nautilus-sidebar-title.c: Remove unused header include.
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 27 | ||||
-rw-r--r-- | test/test.h | 1 |
2 files changed, 2 insertions, 26 deletions
diff --git a/test/test.c b/test/test.c index f2e1d882a..63345070c 100644 --- a/test/test.c +++ b/test/test.c @@ -11,20 +11,7 @@ test_init (int *argc, gdk_rgb_init (); gnome_vfs_init (); - eel_make_warnings_and_criticals_stop_in_debugger - (G_LOG_DOMAIN, - "Bonobo", - "Gdk", - "GnomeUI", - "GnomeVFS", - "GnomeVFS-CORBA", - "GnomeVFS-pthread", - "Gtk", - "Nautilus", - "Nautilus-Authenticate", - "Nautilus-Tree", - "ORBit", - NULL); + eel_make_warnings_and_criticals_stop_in_debugger (); } int @@ -178,17 +165,7 @@ test_label_new (const char *text, text = "Foo"; } - if (with_background) { - label = eel_label_new_with_background (text); - } else { - label = eel_label_new (text); - } - - if (num_sizes_larger < 0) { - eel_label_make_smaller (EEL_LABEL (label), ABS (num_sizes_larger)); - } else if (num_sizes_larger > 0) { - eel_label_make_larger (EEL_LABEL (label), num_sizes_larger); - } + label = gtk_label_new (text); return label; } diff --git a/test/test.h b/test/test.h index f94491de1..c3ccb4321 100644 --- a/test/test.h +++ b/test/test.h @@ -1,4 +1,3 @@ - #ifndef TEST_H #define TEST_H |