diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-11-11 12:46:25 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-11-11 12:46:25 +0000 |
| commit | 5da5121b9afaa8b2d1f0308dffc7d1e1b225b142 (patch) | |
| tree | 82da3ca8957d85afe43c12cccfdded7a0e769116 /src/widgets/calligraphy-toolbar.cpp | |
| parent | cppcheck: Convert more C-style pointer casts to GObject or C++ (diff) | |
| download | inkscape-5da5121b9afaa8b2d1f0308dffc7d1e1b225b142.tar.gz inkscape-5da5121b9afaa8b2d1f0308dffc7d1e1b225b142.zip | |
Replace remaining C-style pointer casts for src/widgets
(bzr r11868)
Diffstat (limited to 'src/widgets/calligraphy-toolbar.cpp')
| -rw-r--r-- | src/widgets/calligraphy-toolbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/calligraphy-toolbar.cpp b/src/widgets/calligraphy-toolbar.cpp index a0ae136e8..1c39cd9e5 100644 --- a/src/widgets/calligraphy-toolbar.cpp +++ b/src/widgets/calligraphy-toolbar.cpp @@ -259,7 +259,7 @@ static void sp_dcc_save_profile(GtkWidget * /*widget*/, GObject *tbl) { using Inkscape::UI::Dialog::CalligraphicProfileRename; Inkscape::Preferences *prefs = Inkscape::Preferences::get(); - SPDesktop *desktop = (SPDesktop *) g_object_get_data(tbl, "desktop" ); + SPDesktop *desktop = static_cast<SPDesktop *>(g_object_get_data(tbl, "desktop" )); if (! desktop) { return; } |
