summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2018-05-03 13:03:51 +0000
committerTavmjong Bah <tavmjong@free.fr>2018-05-03 13:03:51 +0000
commit4fba04ae13b00ab1cbcebe4730c41ac70ec87def (patch)
treebe6816dc8f0662b6c807fdd8e6f849c9110a72aa /src
parentUpdate .gitlab-ci.yml (diff)
downloadinkscape-4fba04ae13b00ab1cbcebe4730c41ac70ec87def.tar.gz
inkscape-4fba04ae13b00ab1cbcebe4730c41ac70ec87def.zip
Small bug fixes to font-variations files.
Diffstat (limited to 'src')
-rw-r--r--src/ui/widget/font-variants.cpp5
-rw-r--r--src/ui/widget/font-variants.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/src/ui/widget/font-variants.cpp b/src/ui/widget/font-variants.cpp
index eab1dba0b..bef691260 100644
--- a/src/ui/widget/font-variants.cpp
+++ b/src/ui/widget/font-variants.cpp
@@ -280,6 +280,7 @@ namespace Widget {
// std::cout << "FontVariants::position_callback()" << std::endl;
_position_changed = true;
_changed_signal.emit();
+ return true;
}
void
@@ -779,9 +780,9 @@ namespace Widget {
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8 :
diff --git a/src/ui/widget/font-variants.h b/src/ui/widget/font-variants.h
index e7330b6cc..da0609609 100644
--- a/src/ui/widget/font-variants.h
+++ b/src/ui/widget/font-variants.h
@@ -157,13 +157,13 @@ public:
#endif // INKSCAPE_UI_WIDGET_FONT_VARIANT_H
-/*
+/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
- c-file-offsets:((innamespace . 0)(inline-open . 0))
+ c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8 :