[gnome-flashback] input-sources: clear current_source when sources are reloaded
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] input-sources: clear current_source when sources are reloaded
- Date: Wed, 14 Oct 2015 05:47:18 +0000 (UTC)
commit 32ac89f285cda30c8a55a6667d5c8e63e03675f6
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Oct 14 08:26:23 2015 +0300
input-sources: clear current_source when sources are reloaded
.../libinput-sources/gf-input-source-manager.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/libinput-sources/gf-input-source-manager.c
b/gnome-flashback/libinput-sources/gf-input-source-manager.c
index b2cc110..0f1d122 100644
--- a/gnome-flashback/libinput-sources/gf-input-source-manager.c
+++ b/gnome-flashback/libinput-sources/gf-input-source-manager.c
@@ -753,6 +753,8 @@ sources_changed_cb (GfInputSourceSettings *settings,
manager->ibus_sources = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free, g_object_unref);
+ manager->current_source = NULL;
+
sources_by_name = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]