diff options
author | nyamatongwe <devnull@localhost> | 2010-08-18 11:40:14 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-08-18 11:40:14 +1000 |
commit | 872f139da45e08f177ef0a9e941e01861b2d16fe (patch) | |
tree | 1c65da47aeaaadff963f1e792ad8740d20b293ff | |
parent | 48de8560b85ce0c3d66a2cb20f838de5c1325065 (diff) | |
download | scintilla-mirror-872f139da45e08f177ef0a9e941e01861b2d16fe.tar.gz |
Avoid deprecated API gtk_type_class.
-rw-r--r-- | gtk/ScintillaGTK.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index cf0dca5f9..d5349ef5b 100644 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -584,7 +584,7 @@ void ScintillaGTK::SizeAllocate(GtkWidget *widget, GtkAllocation *allocation) { void ScintillaGTK::Initialise() { //Platform::DebugPrintf("ScintillaGTK::Initialise\n"); parentClass = reinterpret_cast<GtkWidgetClass *>( - gtk_type_class(gtk_container_get_type())); + g_type_class_ref(gtk_container_get_type())); GTK_WIDGET_SET_FLAGS(PWidget(wMain), GTK_CAN_FOCUS); GTK_WIDGET_SET_FLAGS(GTK_WIDGET(PWidget(wMain)), GTK_SENSITIVE); |