summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechoosernativewin32.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2020-02-22 16:39:01 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2020-02-22 16:39:01 +0000
commitff6772fd983b17ff173b0a829ba0a86fa72dd472 (patch)
tree412651ffa12b6542b48087a8e05544781c8d9e6b /gtk/gtkfilechoosernativewin32.c
parente5ef26efa8345aedab1230c58804cddf68113400 (diff)
downloadgtk+-ff6772fd983b17ff173b0a829ba0a86fa72dd472.tar.gz
Remove preview widget from GtkFileChooser
The preview widget harks from a platform before time, when we didn't have GIO, or a thumbnail specification. Very few applications use it correctly, if at all; it has an horrid hack to deal with the ownership of the widget's instance when accessed through the getter function; it messes up the layout of the widget and its label is less than useful when it comes to file names longer than a dozen characters; it's a poor substitute for a proper thumbnail view.
Diffstat (limited to 'gtk/gtkfilechoosernativewin32.c')
-rw-r--r--gtk/gtkfilechoosernativewin32.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk/gtkfilechoosernativewin32.c b/gtk/gtkfilechoosernativewin32.c
index feec909d46..56cc5d4dcf 100644
--- a/gtk/gtkfilechoosernativewin32.c
+++ b/gtk/gtkfilechoosernativewin32.c
@@ -865,14 +865,9 @@ gtk_file_chooser_native_win32_show (GtkFileChooserNative *self)
FilechooserWin32ThreadData *data;
GtkWindow *transient_for;
GtkFileChooserAction action;
- guint update_preview_signal;
GSList *filters, *l;
int n_filters, i;
- update_preview_signal = g_signal_lookup ("update-preview", GTK_TYPE_FILE_CHOOSER);
- if (g_signal_has_handler_pending (self, update_preview_signal, 0, TRUE))
- return FALSE;
-
data = g_new0 (FilechooserWin32ThreadData, 1);
filters = gtk_file_chooser_list_filters (GTK_FILE_CHOOSER (self));