summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2016-02-07 19:20:09 +0100
committerBenjamin Otte <otte@redhat.com>2016-02-11 03:44:47 +0100
commit9efb275a13a82bc251c1d30d648811e0dddf7527 (patch)
tree11d06147904c7c2039a6aebb081f65f02caf933b
parentdda959332f5a9b1d479f308b85e7b566a0b20a28 (diff)
downloadgtk+-9efb275a13a82bc251c1d30d648811e0dddf7527.tar.gz
filechoosernativewin32: Remove unused variables
-rw-r--r--gtk/gtkfilechoosernativewin32.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk/gtkfilechoosernativewin32.c b/gtk/gtkfilechoosernativewin32.c
index 3403ff80ca..8cc5580415 100644
--- a/gtk/gtkfilechoosernativewin32.c
+++ b/gtk/gtkfilechoosernativewin32.c
@@ -397,11 +397,7 @@ filechooser_win32_thread (gpointer _data)
HRESULT hr;
IFileDialog *pfd = NULL;
IFileDialog2 *pfd2 = NULL;
- gboolean res = FALSE;
DWORD flags;
- HWND parent = NULL;
- HWND dialog_hwnd;
- GtkWindow *transient_for;
DWORD cookie;
GSList *l;
@@ -566,7 +562,7 @@ filechooser_win32_thread (gpointer _data)
IShellItem *item;
hr = IShellItemArray_GetItemAt (res, i, &item);
if (FAILED (hr))
- g_error ("Can't get item at %d: %s\n", i, g_win32_error_message (hr));
+ g_error ("Can't get item at %lu: %s\n", i, g_win32_error_message (hr));
data_add_shell_item (data, item);
IShellItem_Release (item);
}
@@ -673,7 +669,6 @@ gtk_file_chooser_native_win32_show (GtkFileChooserNative *self)
guint update_preview_signal;
GSList *filters, *l;
int n_filters, i;
- COMDLG_FILTERSPEC *win32_filters;
if (gtk_file_chooser_get_extra_widget (GTK_FILE_CHOOSER (self)) != NULL)
return FALSE;