diff options
| author | nyamatongwe <devnull@localhost> | 2002-11-21 20:16:36 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2002-11-21 20:16:36 +0000 |
| commit | 18fdf34e65a3827ab17a02538879e7daa975dceb (patch) | |
| tree | 04c6e96391c2ecc1d762ae2cd3face48343cc3c2 | |
| parent | fd28ea00badd7c830037d629f2e6f0965247b7e3 (diff) | |
| download | scintilla-mirror-18fdf34e65a3827ab17a02538879e7daa975dceb.tar.gz | |
pragma to avoid MSVC warning.
| -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); |
