summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/style-swatch.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2012-01-07 06:12:03 +0000
committerJon A. Cruz <jon@joncruz.org>2012-01-07 06:12:03 +0000
commit0d1448a6e78c1d171bda9155fb8d6963a8d24792 (patch)
tree0e78cfef121e0e5f0b93f76a52def0c00e2bc782 /src/ui/widget/style-swatch.cpp
parentWarning and uninitialized data cleanup. (diff)
downloadinkscape-0d1448a6e78c1d171bda9155fb8d6963a8d24792.tar.gz
inkscape-0d1448a6e78c1d171bda9155fb8d6963a8d24792.zip
Fixed warning under gcc 4.5.2
(bzr r10854)
Diffstat (limited to 'src/ui/widget/style-swatch.cpp')
-rw-r--r--src/ui/widget/style-swatch.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ui/widget/style-swatch.cpp b/src/ui/widget/style-swatch.cpp
index 759e2ff04..6556a1d1e 100644
--- a/src/ui/widget/style-swatch.cpp
+++ b/src/ui/widget/style-swatch.cpp
@@ -106,13 +106,13 @@ void StyleSwatch::ToolObserver::notify(Inkscape::Preferences::Entry const &val)
StyleSwatch::StyleSwatch(SPCSSAttr *css, gchar const *main_tip)
:
- _desktop(NULL),
- _verb_t(NULL),
- _css(NULL),
- _tool_obs(NULL),
- _style_obs(NULL),
+ _desktop(0),
+ _verb_t(0),
+ _css(0),
+ _tool_obs(0),
+ _style_obs(0),
_table(2, 6),
- _sw_unit(NULL)
+ _sw_unit(0)
{
_label[SS_FILL].set_markup(_("Fill:"));
_label[SS_STROKE].set_markup(_("Stroke:"));