diff options
| author | nyamatongwe <unknown> | 2010-08-18 11:40:14 +1000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2010-08-18 11:40:14 +1000 | 
| commit | 331e722126061c3d89e7bf1cfd3244bf2acfeb91 (patch) | |
| tree | e0a5b54b83b7235321ceae631fbe690585c91e18 /gtk/ScintillaGTK.cxx | |
| parent | 622ab914257d6106de604d4e91c5c686eb5e3272 (diff) | |
| download | scintilla-mirror-331e722126061c3d89e7bf1cfd3244bf2acfeb91.tar.gz | |
Avoid deprecated API gtk_type_class.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
| -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); | 
