mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1166741 followup: Guard GTK file-picker member-var decl/init statements with same #ifdef that its usages are guarded with, to avoid -Wunused-private-field warning. r=karlt
This commit is contained in:
parent
69f8511757
commit
409ae858e5
@ -163,10 +163,12 @@ MakeCaseInsensitiveShellGlob(const char* aPattern) {
|
||||
NS_IMPL_ISUPPORTS(nsFilePicker, nsIFilePicker)
|
||||
|
||||
nsFilePicker::nsFilePicker()
|
||||
: mSelectedType(0),
|
||||
mRunning(false),
|
||||
mAllowURLs(false),
|
||||
mFileChooserDelegate(nullptr)
|
||||
: mSelectedType(0)
|
||||
, mRunning(false)
|
||||
, mAllowURLs(false)
|
||||
#if (MOZ_WIDGET_GTK == 3)
|
||||
, mFileChooserDelegate(nullptr)
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,9 @@ protected:
|
||||
private:
|
||||
static nsIFile *mPrevDisplayDirectory;
|
||||
|
||||
#if (MOZ_WIDGET_GTK == 3)
|
||||
GtkFileChooserWidget *mFileChooserDelegate;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user