summaryrefslogtreecommitdiffstats
path: root/src/widgets/font-selector.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-11-11 12:46:25 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-11-11 12:46:25 +0000
commit5da5121b9afaa8b2d1f0308dffc7d1e1b225b142 (patch)
tree82da3ca8957d85afe43c12cccfdded7a0e769116 /src/widgets/font-selector.cpp
parentcppcheck: Convert more C-style pointer casts to GObject or C++ (diff)
downloadinkscape-5da5121b9afaa8b2d1f0308dffc7d1e1b225b142.tar.gz
inkscape-5da5121b9afaa8b2d1f0308dffc7d1e1b225b142.zip
Replace remaining C-style pointer casts for src/widgets
(bzr r11868)
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 1cb94a8e5..6a677307e 100644
--- a/src/widgets/font-selector.cpp
+++ b/src/widgets/font-selector.cpp
@@ -448,7 +448,7 @@ static void sp_font_selector_emit_set (SPFontSelector *fsel)
GtkWidget *sp_font_selector_new()
{
- SPFontSelector *fsel = (SPFontSelector*) g_object_new(SP_TYPE_FONT_SELECTOR, NULL);
+ SPFontSelector *fsel = SP_FONT_SELECTOR(g_object_new(SP_TYPE_FONT_SELECTOR, NULL));
return (GtkWidget *) fsel;
}