summaryrefslogtreecommitdiffstats
path: root/src/widgets/gradient-vector.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-07-02 11:18:56 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-07-02 11:18:56 +0000
commit41637727255a12ccedf7782bb65948343203bda3 (patch)
tree287605e730f902e0a88fa67e3efb2dd835a45d14 /src/widgets/gradient-vector.cpp
parentRemoved outdated and undesired "I'm in this cpp, so change your behavior" mac... (diff)
parentGTK+ cleaning: gtk_type_new (diff)
downloadinkscape-41637727255a12ccedf7782bb65948343203bda3.tar.gz
inkscape-41637727255a12ccedf7782bb65948343203bda3.zip
GTK+ cleanup: gtk_type_new
(bzr r10401)
Diffstat (limited to 'src/widgets/gradient-vector.cpp')
-rw-r--r--src/widgets/gradient-vector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/gradient-vector.cpp b/src/widgets/gradient-vector.cpp
index 310002b54..63d4bcee0 100644
--- a/src/widgets/gradient-vector.cpp
+++ b/src/widgets/gradient-vector.cpp
@@ -165,7 +165,7 @@ GtkWidget *sp_gradient_vector_selector_new(SPDocument *doc, SPGradient *gr)
g_return_val_if_fail(!gr || SP_IS_GRADIENT(gr), NULL);
g_return_val_if_fail(!gr || (gr->document == doc), NULL);
- gvs = static_cast<GtkWidget*>(gtk_type_new(SP_TYPE_GRADIENT_VECTOR_SELECTOR));
+ gvs = static_cast<GtkWidget*>(g_object_new(SP_TYPE_GRADIENT_VECTOR_SELECTOR, NULL));
if (doc) {
sp_gradient_vector_selector_set_gradient(SP_GRADIENT_VECTOR_SELECTOR(gvs), doc, gr);