diff options
author | nyamatongwe <unknown> | 2002-11-21 20:16:36 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-11-21 20:16:36 +0000 |
commit | 31baa8339df6ff6882490f36a70c7b0012194ee3 (patch) | |
tree | 04c6e96391c2ecc1d762ae2cd3face48343cc3c2 | |
parent | c2cb313437420fa9abec5100f924343e9f110ac7 (diff) | |
download | scintilla-mirror-31baa8339df6ff6882490f36a70c7b0012194ee3.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); |