tests: Remove testplacesview test
authorBenjamin Otte <otte@redhat.com>
Thu, 16 Jul 2015 04:37:37 +0000 (06:37 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 16 Jul 2015 04:37:37 +0000 (06:37 +0200)
The GtkPlacesView widget was made private, so we can't create it in a
testcase.

tests/Makefile.am
tests/testplacesview.c

index 07483c791aaf886a3998febffa9a69146c40f781..233daa4064954b959a6ce14e60b6cdcd207febc6 100644 (file)
@@ -106,7 +106,6 @@ noinst_PROGRAMS =  $(TEST_PROGS)    \
        testorientable                  \
        testoverlay                     \
        testoverlaystyleclass           \
-       testplacesview                  \
        testprint                       \
        testrecentchooser               \
        testrecentchoosermenu           \
@@ -254,7 +253,6 @@ testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
 testorientable_DEPENDENCIES = $(TEST_DEPS)
 testoverlay_DEPENDENCIES = $(TEST_DEPS)
 testoverlaystyleclass_DEPENDENCIES = $(TEST_DEPS)
-testplacesview_DEPENDENCIES = $(TEST_DEPS)
 testprint_DEPENDENCIES = $(TEST_DEPS)
 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
@@ -399,9 +397,6 @@ testtoolbar_SOURCES =       \
 testmenubutton_SOURCES =       \
        testmenubutton.c
 
-testplacesview_SOURCES =       \
-       testplacesview.c
-
 testprint_SOURCES =            \
        testprint.c             \
        testprintfileoperation.h \
index 89da3448873ceb02cae0722031902869224e175f..4a87e3b40873ea9fcbaaf087836f2ca405039c88 100644 (file)
@@ -1,4 +1,6 @@
 #include <gtk/gtk.h>
+#define GTK_COMPILATION
+#include "gtk/gtkplacesviewprivate.h"
 
 int
 main (int argc, char *argv[])