diff options
| -rw-r--r-- | gtk/PlatGTK.cxx | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 8c19e5f85..1bfd0c22f 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1371,6 +1371,11 @@ void ListBox::Sort() {  	gtk_clist_sort(GTK_CLIST(list));  } +// g_return_if_fail causes unnecessary compiler warning in release compile. +#ifdef _MSC_VER +#pragma warning(disable: 4127) +#endif +  void ListBox::SetTypeXpm(int type, const char **xpm_data) {  	ListImage *list_image;  	g_return_if_fail(xpm_data); | 
