summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-07-02 16:23:48 -0700
committerMatthias Clasen <mclasen@redhat.com>2015-07-04 00:29:25 -0400
commitf87f43b6229d2314523c925d0f3584ab23c7adf9 (patch)
treef6c3bdba52535ddde5243ffc40b6e5c13349768c /tests
parentfe128b5b4d198a39c74a1a81b7a3e27f12262ff8 (diff)
downloadgtk+-f87f43b6229d2314523c925d0f3584ab23c7adf9.tar.gz
testfilechooser: Disable the terrible preview
It makes testing the intended user experience harder.
Diffstat (limited to 'tests')
-rw-r--r--tests/testfilechooser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index 389eb2212b..0d8ff1c036 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -643,6 +643,7 @@ main (int argc, char **argv)
gtk_file_filter_add_pixbuf_formats (filter);
gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dialog), filter);
+#if 0
/* Preview widget */
/* THIS IS A TERRIBLE PREVIEW WIDGET, AND SHOULD NOT BE COPIED AT ALL.
*/
@@ -660,6 +661,7 @@ main (int argc, char **argv)
update_preview_cb (GTK_FILE_CHOOSER (dialog));
g_signal_connect (dialog, "update-preview",
G_CALLBACK (update_preview_cb), NULL);
+#endif
/* Extra widget */