diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2011-07-02 11:18:56 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2011-07-02 11:18:56 +0000 |
| commit | 41637727255a12ccedf7782bb65948343203bda3 (patch) | |
| tree | 287605e730f902e0a88fa67e3efb2dd835a45d14 /src/widgets/sp-xmlview-content.cpp | |
| parent | Removed outdated and undesired "I'm in this cpp, so change your behavior" mac... (diff) | |
| parent | GTK+ cleaning: gtk_type_new (diff) | |
| download | inkscape-41637727255a12ccedf7782bb65948343203bda3.tar.gz inkscape-41637727255a12ccedf7782bb65948343203bda3.zip | |
GTK+ cleanup: gtk_type_new
(bzr r10401)
Diffstat (limited to 'src/widgets/sp-xmlview-content.cpp')
| -rw-r--r-- | src/widgets/sp-xmlview-content.cpp | 2 |
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); |
