diff options
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 aa4c85851..8645d90f7 100644 --- a/src/widgets/sp-widget.cpp +++ b/src/widgets/sp-widget.cpp @@ -234,7 +234,7 @@ sp_widget_new_global (Inkscape::Application *inkscape) spw = (SPWidget*)g_object_new (SP_TYPE_WIDGET, NULL); if (!sp_widget_construct_global (spw, inkscape)) { - gtk_object_unref (GTK_OBJECT (spw)); + g_object_unref (spw); return NULL; } |
