aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-08-17 21:54:43 +1000
committernyamatongwe <devnull@localhost>2010-08-17 21:54:43 +1000
commit07ae2b79d9f566775137a679e105debf9f428e8d (patch)
treeba41facd8bb4e2b76b8de1df7338744d8e035db2
parent077ce5cdefea6299fbc3edbf0bacff10b7b72a4d (diff)
downloadscintilla-mirror-07ae2b79d9f566775137a679e105debf9f428e8d.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 ())