[gtkmm] Gdk::Seat: Add get_slaves()



commit 914affdd2ff3fbb6e6102ce1c82bd7084809f7ed
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Tue Jan 12 18:11:27 2016 +0100

    Gdk::Seat: Add get_slaves()
    
    Bug #759806.

 gdk/src/seat.hg |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gdk/src/seat.hg b/gdk/src/seat.hg
index 056dcd0..191cd35 100644
--- a/gdk/src/seat.hg
+++ b/gdk/src/seat.hg
@@ -67,12 +67,10 @@ public:
   _WRAP_METHOD(Glib::RefPtr<const Display> get_display() const, gdk_seat_get_display, refreturn, 
constversion)
   _WRAP_METHOD(SeatCapabilities get_capabilities() const, gdk_seat_get_capabilities)
 
-//TODO: Wrap gdk_seat_get_slaves() when we can be sure that it's intended to return
-// a list of GdkDevice's. https://bugzilla.gnome.org/show_bug.cgi?id=759785
-//#m4 
_CONVERSION(`GList*',`std::vector<Glib::RefPtr<Device>>',`Glib::ListHandler<Glib::RefPtr<Device>>::list_to_vector($3,
 Glib::OWNERSHIP_SHALLOW)')
-//  _WRAP_METHOD(std::vector<Glib::RefPtr<Device>> get_slaves(SeatCapabilities capabilities), 
gdk_seat_get_slaves)
-//#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_slaves(SeatCapabilities capabilities) const, 
gdk_seat_get_slaves)
+#m4 
_CONVERSION(`GList*',`std::vector<Glib::RefPtr<Device>>',`Glib::ListHandler<Glib::RefPtr<Device>>::list_to_vector($3,
 Glib::OWNERSHIP_SHALLOW)')
+  _WRAP_METHOD(std::vector<Glib::RefPtr<Device>> get_slaves(SeatCapabilities capabilities), 
gdk_seat_get_slaves)
+#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_slaves(SeatCapabilities capabilities) const, 
gdk_seat_get_slaves)
 
   _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]