diff --git a/src/gtk/utilsgtk.cpp b/src/gtk/utilsgtk.cpp index a4e3895ffb..76158b1ea4 100644 --- a/src/gtk/utilsgtk.cpp +++ b/src/gtk/utilsgtk.cpp @@ -472,11 +472,11 @@ wxGUIAppTraits::GetStandardCmdLineOptions(wxArrayString& names, { wxString usage; - // check whether GLib version is lower than 2.39 - // because, as we use the undocumented _GOptionGroup struct, we don't want - // to run this code with future versions which might change it (2.38 is the - // latest one at the time of this writing) - if (glib_check_version(2,39,0)) + // Check whether GLib version is lower than the last tested version for + // which the code below works because, as we use the undocumented + // _GOptionGroup struct, we don't want to run this code with future + // versions which might change it and result in run-time crashes. + if (glib_check_version(2,50,0)) { usage << _("The following standard GTK+ options are also supported:\n");