summaryrefslogtreecommitdiff
path: root/src/locale/localed.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-05 00:53:46 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-05 01:13:05 +0100
commit6d1bd3b2bbae29dbd3862fdb9af2b472b01c480e (patch)
treecf9a23637bb0c90f4236f7a9adb18e9cd904b656 /src/locale/localed.c
parentfe5af61253ab8531c6d683da77546fe97be69b38 (diff)
localed: mark bus properties as change emitting
Otherwise sd_bus_emit_properties_changed() will refuse sending out change signals
Diffstat (limited to 'src/locale/localed.c')
-rw-r--r--src/locale/localed.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 2d9891a6d2..61a3015ead 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -1040,13 +1040,13 @@ static int method_set_x11_keyboard(sd_bus *bus, sd_bus_message *m, void *userdat
static const sd_bus_vtable locale_vtable[] = {
SD_BUS_VTABLE_START(0),
- SD_BUS_PROPERTY("Locale", "as", property_get_locale, 0, 0),
- SD_BUS_PROPERTY("X11Layout", "s", NULL, offsetof(Context, x11_layout), 0),
- SD_BUS_PROPERTY("X11Model", "s", NULL, offsetof(Context, x11_model), 0),
- SD_BUS_PROPERTY("X11Variant", "s", NULL, offsetof(Context, x11_variant), 0),
- SD_BUS_PROPERTY("X11Options", "s", NULL, offsetof(Context, x11_options), 0),
- SD_BUS_PROPERTY("VConsoleKeymap", "s", NULL, offsetof(Context, vc_keymap), 0),
- SD_BUS_PROPERTY("VConsoleKeymapToggle", "s", NULL, offsetof(Context, vc_keymap_toggle), 0),
+ SD_BUS_PROPERTY("Locale", "as", property_get_locale, 0, SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
+ SD_BUS_PROPERTY("X11Layout", "s", NULL, offsetof(Context, x11_layout), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
+ SD_BUS_PROPERTY("X11Model", "s", NULL, offsetof(Context, x11_model), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
+ SD_BUS_PROPERTY("X11Variant", "s", NULL, offsetof(Context, x11_variant), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
+ SD_BUS_PROPERTY("X11Options", "s", NULL, offsetof(Context, x11_options), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
+ SD_BUS_PROPERTY("VConsoleKeymap", "s", NULL, offsetof(Context, vc_keymap), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
+ SD_BUS_PROPERTY("VConsoleKeymapToggle", "s", NULL, offsetof(Context, vc_keymap_toggle), SD_BUS_VTABLE_PROPERTY_EMITS_CHANGE),
SD_BUS_METHOD("SetLocale", "asb", NULL, method_set_locale, 0),
SD_BUS_METHOD("SetVConsoleKeyboard", "ssbb", NULL, method_set_vc_keyboard, 0),
SD_BUS_METHOD("SetX11Keyboard", "ssssbb", NULL, method_set_x11_keyboard, 0),