[glibmm] Gio::MenuModel: Add signal_items_changed()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Gio::MenuModel: Add signal_items_changed()
- Date: Fri, 31 Jan 2014 14:19:55 +0000 (UTC)
commit 693264ac279866054673a015caa277e3db024b1b
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date: Fri Jan 31 15:14:14 2014 +0100
Gio::MenuModel: Add signal_items_changed()
* gio/src/menumodel.hg: Wrap the "items-changed" signal.
gio/src/menumodel.hg | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/src/menumodel.hg b/gio/src/menumodel.hg
index 729b9c2..696e8f5 100644
--- a/gio/src/menumodel.hg
+++ b/gio/src/menumodel.hg
@@ -164,8 +164,8 @@ dnl See the .ccg implementation for how this conversion works.
_WRAP_METHOD(void items_changed(int position, int removed, int added), g_menu_model_items_changed)
- //TODO: The "items-changed" signal cannot be wrapped because it is not
- //included in the *Class declaration of GMenuModel.
+ // The items-changed signal can't have a default handler in glibmm, because it does not have one in glib.
+ _WRAP_SIGNAL(void items_changed(int position, int removed, int added), "items-changed", no_default_handler)
};
} // namespace Gio
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]