aboutsummaryrefslogtreecommitdiff
path: root/src/fontengine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontengine.cpp')
-rw-r--r--src/fontengine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fontengine.cpp b/src/fontengine.cpp
index 14b65f593..f881701e0 100644
--- a/src/fontengine.cpp
+++ b/src/fontengine.cpp
@@ -35,7 +35,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
FontEngine* g_fontengine = NULL;
/** callback to be used on change of font size setting */
-static void font_setting_changed(const std::string, void *userdata) {
+static void font_setting_changed(const std::string &name, void *userdata)
+{
g_fontengine->readSettings();
}