[gtkmm] Gesture: Remove get/set/unset_window() and property.



commit fe345a0521a38d0a35fa5822849ad84de17427f2
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon May 29 11:22:31 2017 +0200

    Gesture: Remove get/set/unset_window() and property.
    
    Because it was removed from the GTK+ API:
    https://git.gnome.org/browse/gtk+/commit/gtk/gtkgesture.h?id=02932bc406502aa88e36ff840a983e1bcb24eb25

 gtk/src/gesture.ccg |    5 -----
 gtk/src/gesture.hg  |   12 ------------
 2 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gtk/src/gesture.ccg b/gtk/src/gesture.ccg
index 77dee30..14dc3e2 100644
--- a/gtk/src/gesture.ccg
+++ b/gtk/src/gesture.ccg
@@ -33,9 +33,4 @@ std::vector<const GdkEventSequence*> Gesture::get_sequences() const
   return sequences;
 }
 
-void Gesture::unset_window()
-{
-  gtk_gesture_set_window(gobj(), nullptr);
-}
-
 } //namespace Gtk
diff --git a/gtk/src/gesture.hg b/gtk/src/gesture.hg
index 56d2c78..7e52dc4 100644
--- a/gtk/src/gesture.hg
+++ b/gtk/src/gesture.hg
@@ -149,17 +149,6 @@ public:
   _WRAP_METHOD(bool get_bounding_box_center(double& x, double& y) const, gtk_gesture_get_bounding_box_center)
   _WRAP_METHOD(bool is_active() const, gtk_gesture_is_active)
   _WRAP_METHOD(bool is_recognized() const, gtk_gesture_is_recognized)
-  _WRAP_METHOD(Glib::RefPtr<Gdk::Window> get_window(), gtk_gesture_get_window, refreturn)
-  _WRAP_METHOD(Glib::RefPtr<const Gdk::Window> get_window() const, gtk_gesture_get_window, refreturn, 
constversion)
-  _WRAP_METHOD(void set_window(const Glib::RefPtr<Gdk::Window>& window), gtk_gesture_set_window)
-
-  /** Undoes the effect of previous calls to set_window(),
-   * so the gesture will handle events targeting any Gdk::Window that pertains
-   * to Gtk::EventController::get_widget().
-   *
-   * @newin{3,14}
-   */
-  void unset_window();
 
 #m4 _CONVERSION(`const Glib::RefPtr<Gesture>&',`GtkGesture*',__CONVERT_REFPTR_TO_P($3))
   _WRAP_METHOD(void group(const Glib::RefPtr<Gesture>& group_gesture), gtk_gesture_group)
@@ -180,7 +169,6 @@ public:
   _WRAP_SIGNAL(void sequence_state_changed(GdkEventSequence* sequence, EventSequenceState state), 
"sequence_state_changed", no_default_handler)
 
   _WRAP_PROPERTY("n-points", unsigned int)
-  _WRAP_PROPERTY("window", Glib::RefPtr<Gdk::Window>)
 };
 
 } // namespace Gtk


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]