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-widget.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-widget.cpp')
| -rw-r--r-- | src/widgets/sp-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/sp-widget.cpp b/src/widgets/sp-widget.cpp index 141f4afc1..8f9c6a6d7 100644 --- a/src/widgets/sp-widget.cpp +++ b/src/widgets/sp-widget.cpp @@ -222,7 +222,7 @@ sp_widget_new_global (Inkscape::Application *inkscape) { SPWidget *spw; - spw = (SPWidget*)gtk_type_new (SP_TYPE_WIDGET); + spw = (SPWidget*)g_object_new (SP_TYPE_WIDGET, NULL); if (!sp_widget_construct_global (spw, inkscape)) { gtk_object_unref (GTK_OBJECT (spw)); |
