diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2012-01-08 00:07:17 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2012-01-08 00:07:17 +0000 |
| commit | 65d94254dd1ef51c727e7bd0128c9bcff22078c9 (patch) | |
| tree | 23275ac057a8dcfecb12fbcda63e0d969798d484 /src | |
| parent | dropped deprecated function sp_repr_get_double_attribute (diff) | |
| download | inkscape-65d94254dd1ef51c727e7bd0128c9bcff22078c9.tar.gz inkscape-65d94254dd1ef51c727e7bd0128c9bcff22078c9.zip | |
Fix pointer initialization
(bzr r10859)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/widget/style-swatch.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/widget/style-swatch.cpp b/src/ui/widget/style-swatch.cpp index 6556a1d1e..73c92914e 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(0), + _desktop(NULL), _verb_t(0), - _css(0), - _tool_obs(0), - _style_obs(0), + _css(NULL), + _tool_obs(NULL), + _style_obs(NULL), _table(2, 6), - _sw_unit(0) + _sw_unit(NULL) { _label[SS_FILL].set_markup(_("Fill:")); _label[SS_STROKE].set_markup(_("Stroke:")); |
