diff options
Diffstat (limited to 'linden/indra/llwindow/llwindowsdl.cpp')
-rw-r--r-- | linden/indra/llwindow/llwindowsdl.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/llwindow/llwindowsdl.cpp b/linden/indra/llwindow/llwindowsdl.cpp index e0a4169..3eb4872 100644 --- a/linden/indra/llwindow/llwindowsdl.cpp +++ b/linden/indra/llwindow/llwindowsdl.cpp | |||
@@ -138,11 +138,11 @@ BOOL ll_try_gtk_init(void) | |||
138 | << gtk_major_version << "." | 138 | << gtk_major_version << "." |
139 | << gtk_minor_version << "." | 139 | << gtk_minor_version << "." |
140 | << gtk_micro_version << llendl; | 140 | << gtk_micro_version << llendl; |
141 | gchar *gtk_warning; | ||
142 | maybe_lock_display(); | 141 | maybe_lock_display(); |
143 | gtk_warning = gtk_check_version(GTK_MAJOR_VERSION, | 142 | const gchar* gtk_warning = gtk_check_version( |
144 | GTK_MINOR_VERSION, | 143 | GTK_MAJOR_VERSION, |
145 | GTK_MICRO_VERSION); | 144 | GTK_MINOR_VERSION, |
145 | GTK_MICRO_VERSION); | ||
146 | maybe_unlock_display(); | 146 | maybe_unlock_display(); |
147 | if (gtk_warning) | 147 | if (gtk_warning) |
148 | { | 148 | { |