diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-09-28 15:47:05 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2019-09-28 15:47:05 +0000 |
| commit | 2a0f82c19c373e4abce200672492592deefc350e (patch) | |
| tree | d86b2bc2cf0da271614e8cc54f36b3e48201a4e6 /src | |
| parent | Fis issue pointed by Mc (diff) | |
| download | inkscape-2a0f82c19c373e4abce200672492592deefc350e.tar.gz inkscape-2a0f82c19c373e4abce200672492592deefc350e.zip | |
Fix issue multiple signals on font change. styling
Diffstat (limited to 'src')
| -rw-r--r-- | src/libnrtype/font-lister.cpp | 3 | ||||
| -rw-r--r-- | src/libnrtype/font-lister.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/libnrtype/font-lister.cpp b/src/libnrtype/font-lister.cpp index f5cb43744..984741adc 100644 --- a/src/libnrtype/font-lister.cpp +++ b/src/libnrtype/font-lister.cpp @@ -678,7 +678,8 @@ std::pair<Glib::ustring, Glib::ustring> FontLister::new_font_family(Glib::ustrin return std::make_pair(new_family, best_style); } -std::pair<Glib::ustring, Glib::ustring> FontLister::set_font_family(Glib::ustring new_family, bool check_style, bool emit) +std::pair<Glib::ustring, Glib::ustring> FontLister::set_font_family(Glib::ustring new_family, bool check_style, + bool emit) { #ifdef DEBUG_FONT diff --git a/src/libnrtype/font-lister.h b/src/libnrtype/font-lister.h index 1a0a47b15..769f02172 100644 --- a/src/libnrtype/font-lister.h +++ b/src/libnrtype/font-lister.h @@ -217,7 +217,8 @@ public: * Calls new_font_family(). * (For use in text-toolbar where update is immediate.) */ - std::pair<Glib::ustring, Glib::ustring> set_font_family(Glib::ustring family, bool check_style = true, bool emit = true); + std::pair<Glib::ustring, Glib::ustring> set_font_family(Glib::ustring family, bool check_style = true, + bool emit = true); /** * Sets font-family from row in list store. |
