diff options
Diffstat (limited to 'linden/indra/newview/llfilepicker.cpp')
-rw-r--r-- | linden/indra/newview/llfilepicker.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/newview/llfilepicker.cpp b/linden/indra/newview/llfilepicker.cpp index bbcfba6..088da4b 100644 --- a/linden/indra/newview/llfilepicker.cpp +++ b/linden/indra/newview/llfilepicker.cpp | |||
@@ -933,7 +933,7 @@ void LLFilePicker::chooser_responder(GtkWidget *widget, gint response, gpointer | |||
933 | 933 | ||
934 | GtkWindow* LLFilePicker::buildFilePicker(bool is_save, bool is_folder, std::string context) | 934 | GtkWindow* LLFilePicker::buildFilePicker(bool is_save, bool is_folder, std::string context) |
935 | { | 935 | { |
936 | if (ll_try_gtk_init() && | 936 | if (LLWindowSDL::ll_try_gtk_init() && |
937 | ! gViewerWindow->getWindow()->getFullscreen()) | 937 | ! gViewerWindow->getWindow()->getFullscreen()) |
938 | { | 938 | { |
939 | GtkWidget *win = NULL; | 939 | GtkWidget *win = NULL; |
@@ -974,7 +974,7 @@ GtkWindow* LLFilePicker::buildFilePicker(bool is_save, bool is_folder, std::stri | |||
974 | // Make GTK tell the window manager to associate this | 974 | // Make GTK tell the window manager to associate this |
975 | // dialog with our non-GTK raw X11 window, which should try | 975 | // dialog with our non-GTK raw X11 window, which should try |
976 | // to keep it on top etc. | 976 | // to keep it on top etc. |
977 | Window XWindowID = get_SDL_XWindowID(); | 977 | Window XWindowID = LLWindowSDL::get_SDL_XWindowID(); |
978 | if (None != XWindowID) | 978 | if (None != XWindowID) |
979 | { | 979 | { |
980 | gtk_widget_realize(GTK_WIDGET(win)); // so we can get its gdkwin | 980 | gtk_widget_realize(GTK_WIDGET(win)); // so we can get its gdkwin |