[gtkmm] Add Gdk::Seat::get_tools()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Add Gdk::Seat::get_tools()
- Date: Sat, 10 Oct 2020 08:55:54 +0000 (UTC)
commit 70b4947d5444e80dbc1c5dce50ab18adc1695d20
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sat Oct 10 10:53:58 2020 +0200
Add Gdk::Seat::get_tools()
gdk/src/seat.hg | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gdk/src/seat.hg b/gdk/src/seat.hg
index 8bba4697..096a67c1 100644
--- a/gdk/src/seat.hg
+++ b/gdk/src/seat.hg
@@ -53,12 +53,10 @@ public:
#m4 _CONVERSION(`GList*',`std::vector<Glib::RefPtr<const Device>>',`Glib::ListHandler<Glib::RefPtr<const
Device>>::list_to_vector($3, Glib::OWNERSHIP_SHALLOW)')
_WRAP_METHOD(std::vector<Glib::RefPtr<const Device>> get_devices(Capabilities capabilities) const,
gdk_seat_get_devices)
-//TODO: gdk_seat_get_tools() is an internal GTK functions, because it's not declared GDK_AVAILABLE_IN_ALL.
-// That's probably a mistake. Wrap it when the mistake has been fixed.
-//#m4
_CONVERSION(`GList*',`std::vector<Glib::RefPtr<DeviceTool>>',`Glib::ListHandler<Glib::RefPtr<DeviceTool>>::list_to_vector($3,
Glib::OWNERSHIP_SHALLOW)')
-// _WRAP_METHOD(std::vector<Glib::RefPtr<DeviceTool>> get_tools(), gdk_seat_get_tools)
-//#m4 _CONVERSION(`GList*',`std::vector<Glib::RefPtr<const
DeviceTool>>',`Glib::ListHandler<Glib::RefPtr<const DeviceTool>>::list_to_vector($3,
Glib::OWNERSHIP_SHALLOW)')
-// _WRAP_METHOD(std::vector<Glib::RefPtr<const DeviceTool>> get_tools() const, gdk_seat_get_tools)
+#m4
_CONVERSION(`GList*',`std::vector<Glib::RefPtr<DeviceTool>>',`Glib::ListHandler<Glib::RefPtr<DeviceTool>>::list_to_vector($3,
Glib::OWNERSHIP_SHALLOW)')
+ _WRAP_METHOD(std::vector<Glib::RefPtr<DeviceTool>> get_tools(), gdk_seat_get_tools)
+#m4 _CONVERSION(`GList*',`std::vector<Glib::RefPtr<const DeviceTool>>',`Glib::ListHandler<Glib::RefPtr<const
DeviceTool>>::list_to_vector($3, Glib::OWNERSHIP_SHALLOW)')
+ _WRAP_METHOD(std::vector<Glib::RefPtr<const DeviceTool>> get_tools() const, gdk_seat_get_tools)
_WRAP_METHOD(Glib::RefPtr<Device> get_pointer(), gdk_seat_get_pointer, refreturn)
_WRAP_METHOD(Glib::RefPtr<const Device> get_pointer() const, gdk_seat_get_pointer, refreturn, constversion)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]