[gtk+] filechoosernativewin32: Remove unused variables
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechoosernativewin32: Remove unused variables
- Date: Thu, 11 Feb 2016 02:46:42 +0000 (UTC)
commit 9efb275a13a82bc251c1d30d648811e0dddf7527
Author: Benjamin Otte <otte gnome org>
Date: Sun Feb 7 19:20:09 2016 +0100
filechoosernativewin32: Remove unused variables
gtk/gtkfilechoosernativewin32.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtkfilechoosernativewin32.c b/gtk/gtkfilechoosernativewin32.c
index 3403ff8..8cc5580 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]