summaryrefslogtreecommitdiff
path: root/tests/testfilechooser.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-10-19 20:03:58 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-10-19 20:03:58 -0400
commit0b0c6a6477bae9c3125aeb682e2d16395f539e5a (patch)
tree1144c20fd80f95cff114c781835533ffd538b9ea /tests/testfilechooser.c
parentd3aa9df87694a9d655da676329cb56444af10e32 (diff)
downloadgtk+-0b0c6a6477bae9c3125aeb682e2d16395f539e5a.tar.gz
testfilechooser: Test the preview again
There is code in there to show a preview, use it.
Diffstat (limited to 'tests/testfilechooser.c')
-rw-r--r--tests/testfilechooser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c
index 013415a8ad..c912e70329 100644
--- a/tests/testfilechooser.c
+++ b/tests/testfilechooser.c
@@ -647,7 +647,7 @@ main (int argc, char **argv)
/* THIS IS A TERRIBLE PREVIEW WIDGET, AND SHOULD NOT BE COPIED AT ALL.
*/
preview_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
- /*gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (dialog), preview_vbox);*/
+ gtk_file_chooser_set_preview_widget (GTK_FILE_CHOOSER (dialog), preview_vbox);
preview_label = gtk_label_new (NULL);
gtk_box_pack_start (GTK_BOX (preview_vbox), preview_label, TRUE, TRUE, 0);