42
42
\brief Retrieves an int attribute guarding against screwed-up data; if the value is beyond limits, default is returned
45
prefs_get_int_attribute_limited(gchar const *path, gchar const *attr, gint def, gint min, gint max)
45
prefs_get_int_attribute_limited(gchar const *path, gchar const *attr, long long int def, long long int min, long long int max)
47
47
Inkscape::XML::Node *repr = inkscape_get_repr(INKSCAPE, path);
50
50
if (v >= min && v <= max) {