From: Matthias Clasen Date: Thu, 2 Jul 2015 23:23:48 +0000 (-0700) Subject: testfilechooser: Disable the terrible preview X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~24^2~9182 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f87f43b6229d2314523c925d0f3584ab23c7adf9;p=gtk4.git testfilechooser: Disable the terrible preview It makes testing the intended user experience harder. --- 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 */