aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/chat_input/smiley_converter.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/chat_input/smiley_converter.vala')
-rw-r--r--main/src/ui/chat_input/smiley_converter.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/ui/chat_input/smiley_converter.vala b/main/src/ui/chat_input/smiley_converter.vala
index 849745f9..f8d29225 100644
--- a/main/src/ui/chat_input/smiley_converter.vala
+++ b/main/src/ui/chat_input/smiley_converter.vala
@@ -42,7 +42,7 @@ class SmileyConverter {
}
private void check_convert() {
- if (Dino.Settings.instance().convert_utf8_smileys) {
+ if (Dino.Application.get_default().settings.convert_utf8_smileys) {
foreach (string smiley in smiley_translations.keys) {
if (text_input.buffer.text.has_suffix(smiley)) {
if (text_input.buffer.text.length == smiley.length ||
@@ -55,4 +55,4 @@ class SmileyConverter {
}
}
-} \ No newline at end of file
+}