From 331e722126061c3d89e7bf1cfd3244bf2acfeb91 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 18 Aug 2010 11:40:14 +1000 Subject: Avoid deprecated API gtk_type_class. --- gtk/ScintillaGTK.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( - 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); -- cgit v1.2.3