diff options
| author | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-07-09 16:40:49 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebronyat-signgmaildotcom> | 2014-07-09 16:40:49 +0000 |
| commit | eed38c52370d904571447d0bcf19857be91059c0 (patch) | |
| tree | 1d42b837f9ea0635ae79ca927a0d8255ed5fd269 /src/widgets/paintbucket-toolbar.cpp | |
| parent | Fix make check (diff) | |
| parent | Add signals to ToggleButton; more coding style (diff) | |
| download | inkscape-eed38c52370d904571447d0bcf19857be91059c0.tar.gz inkscape-eed38c52370d904571447d0bcf19857be91059c0.zip | |
Update to experimental r13428
(bzr r13090.1.89)
Diffstat (limited to 'src/widgets/paintbucket-toolbar.cpp')
| -rw-r--r-- | src/widgets/paintbucket-toolbar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/paintbucket-toolbar.cpp b/src/widgets/paintbucket-toolbar.cpp index e20811de8..8ddaccf64 100644 --- a/src/widgets/paintbucket-toolbar.cpp +++ b/src/widgets/paintbucket-toolbar.cpp @@ -83,6 +83,8 @@ static void paintbucket_offset_changed(GtkAdjustment *adj, GObject *tbl) // Don't adjust the offset value because we're saving the // unit and it'll be correctly handled on load. prefs->setDouble("/tools/paintbucket/offset", (gdouble)gtk_adjustment_get_value(adj)); + + g_return_if_fail(unit != NULL); prefs->setString("/tools/paintbucket/offsetunits", unit->abbr); } |
