summaryrefslogtreecommitdiffstats
path: root/src/widgets/sp-xmlview-content.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-07-02 11:17:50 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-07-02 11:17:50 +0000
commitcb302be5567e13d38c794debb7a68bbf5f4abd1e (patch)
tree9cdd3861ef347abd88d51ce96d390d21de800d21 /src/widgets/sp-xmlview-content.cpp
parentMigrate clonetiler to GtkComboBox (diff)
downloadinkscape-cb302be5567e13d38c794debb7a68bbf5f4abd1e.tar.gz
inkscape-cb302be5567e13d38c794debb7a68bbf5f4abd1e.zip
GTK+ cleaning: gtk_type_new
(bzr r10390.1.3)
Diffstat (limited to 'src/widgets/sp-xmlview-content.cpp')
-rw-r--r--src/widgets/sp-xmlview-content.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/sp-xmlview-content.cpp b/src/widgets/sp-xmlview-content.cpp
index 804bc1737..605fbeb06 100644
--- a/src/widgets/sp-xmlview-content.cpp
+++ b/src/widgets/sp-xmlview-content.cpp
@@ -46,7 +46,7 @@ sp_xmlview_content_new (Inkscape::XML::Node * repr)
SPXMLViewContent *text;
tb = gtk_text_buffer_new (NULL);
- text = (SPXMLViewContent*)gtk_type_new (SP_TYPE_XMLVIEW_CONTENT);
+ text = (SPXMLViewContent*)g_object_new (SP_TYPE_XMLVIEW_CONTENT, NULL);
gtk_text_view_set_buffer (GTK_TEXT_VIEW (text), tb);
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text), GTK_WRAP_CHAR);