aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-08-17 21:54:43 +1000
committernyamatongwe <unknown>2010-08-17 21:54:43 +1000
commitcee44b080935e53252997c04dce97ba75dc2ffae (patch)
treee9f92d42dd5d9ee2c1b47931e3be2d3c1763027c
parent6683e39412174c147507a661db8b9b81fafa8abe (diff)
downloadscintilla-mirror-cee44b080935e53252997c04dce97ba75dc2ffae.tar.gz
Using a non-deprecated API to allow client code to pass deprecation checking.
-rw-r--r--include/ScintillaWidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ScintillaWidget.h b/include/ScintillaWidget.h
index 7521f4c06..021af2a30 100644
--- a/include/ScintillaWidget.h
+++ b/include/ScintillaWidget.h
@@ -15,7 +15,7 @@
extern "C" {
#endif
-#define SCINTILLA(obj) GTK_CHECK_CAST (obj, scintilla_get_type (), ScintillaObject)
+#define SCINTILLA(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, scintilla_get_type (), ScintillaObject)
#define SCINTILLA_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, scintilla_get_type (), ScintillaClass)
#define IS_SCINTILLA(obj) GTK_CHECK_TYPE (obj, scintilla_get_type ())