summaryrefslogtreecommitdiffstats
path: root/src/widgets/font-selector.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-07-02 11:17:50 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-07-02 11:17:50 +0000
commitcb302be5567e13d38c794debb7a68bbf5f4abd1e (patch)
tree9cdd3861ef347abd88d51ce96d390d21de800d21 /src/widgets/font-selector.cpp
parentMigrate clonetiler to GtkComboBox (diff)
downloadinkscape-cb302be5567e13d38c794debb7a68bbf5f4abd1e.tar.gz
inkscape-cb302be5567e13d38c794debb7a68bbf5f4abd1e.zip
GTK+ cleaning: gtk_type_new
(bzr r10390.1.3)
Diffstat (limited to 'src/widgets/font-selector.cpp')
-rw-r--r--src/widgets/font-selector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/font-selector.cpp b/src/widgets/font-selector.cpp
index 965910ba2..eee0113c8 100644
--- a/src/widgets/font-selector.cpp
+++ b/src/widgets/font-selector.cpp
@@ -391,7 +391,7 @@ static void sp_font_selector_emit_set (SPFontSelector *fsel)
GtkWidget *sp_font_selector_new()
{
- SPFontSelector *fsel = (SPFontSelector*) gtk_type_new(SP_TYPE_FONT_SELECTOR);
+ SPFontSelector *fsel = (SPFontSelector*) g_object_new(SP_TYPE_FONT_SELECTOR, NULL);
return (GtkWidget *) fsel;
}