From 65d94254dd1ef51c727e7bd0128c9bcff22078c9 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sun, 8 Jan 2012 01:07:17 +0100 Subject: Fix pointer initialization (bzr r10859) --- src/ui/widget/style-swatch.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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:")); -- cgit v1.2.3