diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2011-07-02 11:17:50 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2011-07-02 11:17:50 +0000 |
| commit | cb302be5567e13d38c794debb7a68bbf5f4abd1e (patch) | |
| tree | 9cdd3861ef347abd88d51ce96d390d21de800d21 /src/widgets/gradient-image.cpp | |
| parent | Migrate clonetiler to GtkComboBox (diff) | |
| download | inkscape-cb302be5567e13d38c794debb7a68bbf5f4abd1e.tar.gz inkscape-cb302be5567e13d38c794debb7a68bbf5f4abd1e.zip | |
GTK+ cleaning: gtk_type_new
(bzr r10390.1.3)
Diffstat (limited to 'src/widgets/gradient-image.cpp')
| -rw-r--r-- | src/widgets/gradient-image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/gradient-image.cpp b/src/widgets/gradient-image.cpp index eb4ab789d..37f74997d 100644 --- a/src/widgets/gradient-image.cpp +++ b/src/widgets/gradient-image.cpp @@ -144,7 +144,7 @@ sp_gradient_image_new (SPGradient *gradient) { SPGradientImage *image; - image = (SPGradientImage*)gtk_type_new (SP_TYPE_GRADIENT_IMAGE); + image = (SPGradientImage*)g_object_new (SP_TYPE_GRADIENT_IMAGE, NULL); sp_gradient_image_set_gradient (image, gradient); |
