aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2015-02-12 10:25:28 -0500
committerWilliam Hua <william.hua@canonical.com>2015-02-12 10:25:28 -0500
commit548bcac9f532e4ee29d2f10a0f1a1cdd66069d5f (patch)
treecb90076a2254ae5a815aeb976c210de63ba4c470 /lib
parentf865cabb408fdf41ffbe12ea9da334a5499f7348 (diff)
downloadayatana-indicator-keyboard-548bcac9f532e4ee29d2f10a0f1a1cdd66069d5f.tar.gz
ayatana-indicator-keyboard-548bcac9f532e4ee29d2f10a0f1a1cdd66069d5f.tar.bz2
ayatana-indicator-keyboard-548bcac9f532e4ee29d2f10a0f1a1cdd66069d5f.zip
Fix type signature of GLib.MenuModel.get_item_links ().
Diffstat (limited to 'lib')
-rw-r--r--lib/ibus-menu.vala2
-rw-r--r--lib/indicator-menu.vala2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ibus-menu.vala b/lib/ibus-menu.vala
index c0862ac3..62bd88e8 100644
--- a/lib/ibus-menu.vala
+++ b/lib/ibus-menu.vala
@@ -295,7 +295,7 @@ public class Indicator.Keyboard.IBusMenu : MenuModel {
return menu.get_item_link (item_index, link);
}
- public override void get_item_links (int item_index, out HashTable<string, MenuModel>? links) {
+ public override void get_item_links (int item_index, out HashTable<string, MenuModel> links) {
menu.get_item_links (item_index, out links);
}
diff --git a/lib/indicator-menu.vala b/lib/indicator-menu.vala
index 209fcbf1..77d4512e 100644
--- a/lib/indicator-menu.vala
+++ b/lib/indicator-menu.vala
@@ -131,7 +131,7 @@ public class Indicator.Keyboard.IndicatorMenu : MenuModel {
indicator_menu.get_item_attributes (item_index, out attributes);
}
- public override void get_item_links (int item_index, out HashTable<string, MenuModel>? links) {
+ public override void get_item_links (int item_index, out HashTable<string, MenuModel> links) {
indicator_menu.get_item_links (item_index, out links);
}