[gtkmm: 3/10] Remove wrappers for removed functions in Gtk/Gdk




commit 83c33256f7d2ccafe033fb49312b11e0c6e2f7de
Author: Andreas Persson <andreasp56 outlook com>
Date:   Wed Jul 29 08:21:39 2020 +0200

    Remove wrappers for removed functions in Gtk/Gdk

 gdk/src/device.hg     | 9 ---------
 gdk/src/event.hg      | 3 ---
 gtk/src/combobox.hg   | 3 ---
 gtk/src/menubutton.hg | 4 ----
 gtk/src/widget.hg     | 4 ----
 5 files changed, 23 deletions(-)
---
diff --git a/gdk/src/device.hg b/gdk/src/device.hg
index 92b9fee9d..2e72bc397 100644
--- a/gdk/src/device.hg
+++ b/gdk/src/device.hg
@@ -54,17 +54,11 @@ public:
   _WRAP_METHOD(bool get_has_cursor() const, gdk_device_get_has_cursor)
 
   _WRAP_METHOD(InputSource get_source() const, gdk_device_get_source)
-  _WRAP_METHOD(AxisUse get_axis_use(guint index_) const, gdk_device_get_axis_use)
-  _WRAP_METHOD(void get_state(const Glib::RefPtr<Surface>& surface, double& axes, ModifierType& mask), 
gdk_device_get_state)
 
 #m4 _CONVERSION(`GList*',`std::vector<Glib::RefPtr<Gdk::Device> 
',`Glib::ListHandler<Glib::RefPtr<Gdk::Device> >::list_to_vector($3, Glib::OWNERSHIP_SHALLOW)')
   _WRAP_METHOD(std::vector<Glib::RefPtr<Gdk::Device> > list_physical_devices(), 
gdk_device_list_physical_devices)
   //TODO:_WRAP_METHOD(std::vector<Glib::RefPtr<const Gdk::Device> > list_physical_devices() const, 
gdk_device_list_physical_devices, constversion)
 
-  _WRAP_METHOD(int get_n_axes() const, gdk_device_get_n_axes)
-
-  _WRAP_METHOD(bool get_axis(double& axes, AxisUse use, double& value) const, gdk_device_get_axis)
-
   _WRAP_METHOD(Glib::RefPtr<Display> get_display(), gdk_device_get_display, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const Display> get_display() const, gdk_device_get_display, refreturn, 
constversion)
 
@@ -110,8 +104,6 @@ public:
   _WRAP_METHOD(Glib::RefPtr<Seat> get_seat(), gdk_device_get_seat, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const Seat> get_seat() const, gdk_device_get_seat, refreturn, constversion)
 
-  _WRAP_METHOD(AxisFlags get_axes() const, gdk_device_get_axes)
-
   _WRAP_METHOD(guint get_num_touches() const, gdk_device_get_num_touches)
   _WRAP_METHOD(Glib::RefPtr<DeviceTool> get_device_tool(), gdk_device_get_device_tool, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const DeviceTool> get_device_tool() const, gdk_device_get_device_tool, 
refreturn, constversion)
@@ -170,7 +162,6 @@ public:
   _WRAP_PROPERTY("product-id", Glib::ustring, newin "3,22")
   _WRAP_PROPERTY("seat", Glib::RefPtr<Seat>, newin "3,22")
   _WRAP_PROPERTY("num-touches", guint, newin "3,22")
-  _WRAP_PROPERTY("axes", AxisFlags)
   _WRAP_PROPERTY("tool", Glib::RefPtr<DeviceTool>, newin "3,94")
   _WRAP_PROPERTY("direction", Pango::Direction)
   _WRAP_PROPERTY("has-bidi-layouts", bool)
diff --git a/gdk/src/event.hg b/gdk/src/event.hg
index f8e8956db..f3a9f773e 100644
--- a/gdk/src/event.hg
+++ b/gdk/src/event.hg
@@ -79,9 +79,6 @@ public:
   _WRAP_METHOD(Glib::RefPtr<Device> get_device(), gdk_event_get_device, refreturn, newin "3,94")
   _WRAP_METHOD(Glib::RefPtr<const Device> get_device() const, gdk_event_get_device, refreturn, constversion, 
newin "3,94")
 
-  _WRAP_METHOD(Glib::RefPtr<Device> get_source_device(), gdk_event_get_source_device, refreturn, newin 
"3,94")
-  _WRAP_METHOD(Glib::RefPtr<const Device> get_source_device() const, gdk_event_get_source_device, refreturn, 
constversion, newin "3,94")
-
   _WRAP_METHOD(Glib::RefPtr<DeviceTool> get_device_tool(), gdk_event_get_device_tool, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const DeviceTool> get_device_tool() const, gdk_event_get_device_tool, refreturn, 
constversion)
 
diff --git a/gtk/src/combobox.hg b/gtk/src/combobox.hg
index 6d0c9e431..e2ab10d99 100644
--- a/gtk/src/combobox.hg
+++ b/gtk/src/combobox.hg
@@ -159,9 +159,6 @@ public:
   _WRAP_METHOD(void popup(const Glib::RefPtr<Gdk::Device>& device), gtk_combo_box_popup_for_device)
   _WRAP_METHOD(void popdown(), gtk_combo_box_popdown)
 
-  _WRAP_METHOD(Glib::RefPtr<Atk::Object> get_popup_accessible(), gtk_combo_box_get_popup_accessible, ifdef 
GTKMM_ATKMM_ENABLED)
-  _WRAP_METHOD(Glib::RefPtr<const Atk::Object> get_popup_accessible() const, 
gtk_combo_box_get_popup_accessible, constversion, ifdef GTKMM_ATKMM_ENABLED)
-
   _WRAP_METHOD(int get_id_column() const, gtk_combo_box_get_id_column)
   _WRAP_METHOD(void set_id_column(int id_column), gtk_combo_box_set_id_column)
   _WRAP_METHOD(Glib::ustring get_active_id() const, gtk_combo_box_get_active_id)
diff --git a/gtk/src/menubutton.hg b/gtk/src/menubutton.hg
index 407c243d9..4625c9243 100644
--- a/gtk/src/menubutton.hg
+++ b/gtk/src/menubutton.hg
@@ -66,10 +66,6 @@ public:
   _WRAP_METHOD(Glib::RefPtr<Gio::MenuModel> get_menu_model(), gtk_menu_button_get_menu_model, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const Gio::MenuModel> get_menu_model() const, gtk_menu_button_get_menu_model, 
refreturn, constversion)
 
-  _WRAP_METHOD(void set_align_widget(Widget& align_widget), gtk_menu_button_set_align_widget)
-  _WRAP_METHOD(Widget* get_align_widget(), gtk_menu_button_get_align_widget)
-  _WRAP_METHOD(const Widget* get_align_widget() const, gtk_menu_button_get_align_widget, constversion)
-
   _WRAP_METHOD(void set_icon_name(const Glib::ustring& icon_name), gtk_menu_button_set_icon_name)
   _WRAP_METHOD(Glib::ustring get_icon_name() const, gtk_menu_button_get_icon_name)
 
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index d8d756324..e05046e10 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -275,9 +275,6 @@ public:
    */
   void set_expand(bool expand = true);
 
-  _WRAP_METHOD(Glib::RefPtr<Atk::Object> get_accessible(), gtk_widget_get_accessible, refreturn, ifdef 
GTKMM_ATKMM_ENABLED)
-  _WRAP_METHOD(Glib::RefPtr<const Atk::Object> get_accessible() const, gtk_widget_get_accessible, refreturn, 
constversion, ifdef GTKMM_ATKMM_ENABLED)
-
   _WRAP_METHOD(Align get_halign() const, gtk_widget_get_halign)
   _WRAP_METHOD(void set_halign(Align align), gtk_widget_set_halign)
   _WRAP_METHOD(Align get_valign() const, gtk_widget_get_valign)
@@ -642,7 +639,6 @@ protected:
    * @param child The child widget.
    */
   _WRAP_VFUNC(void set_focus_child(Widget* child), set_focus_child)
-  _WRAP_VFUNC(Glib::RefPtr<Atk::Object> get_accessible(), "get_accessible", refreturn, ifdef 
GTKMM_ATKMM_ENABLED)
 
   _WRAP_VFUNC(void compute_expand(bool& hexpand_p, bool& vexpand_p), compute_expand,
     custom_vfunc_callback, custom_vfunc)


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