From 2a0f82c19c373e4abce200672492592deefc350e Mon Sep 17 00:00:00 2001 From: Jabiertxof Date: Sat, 28 Sep 2019 17:47:05 +0200 Subject: Fix issue multiple signals on font change. styling --- src/libnrtype/font-lister.cpp | 3 ++- src/libnrtype/font-lister.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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 FontLister::new_font_family(Glib::ustrin return std::make_pair(new_family, best_style); } -std::pair FontLister::set_font_family(Glib::ustring new_family, bool check_style, bool emit) +std::pair 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 set_font_family(Glib::ustring family, bool check_style = true, bool emit = true); + std::pair set_font_family(Glib::ustring family, bool check_style = true, + bool emit = true); /** * Sets font-family from row in list store. -- cgit v1.2.3