[gtkmm] Gtk::Widget: Remove intersect()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm] Gtk::Widget: Remove intersect()
- Date: Thu, 6 Dec 2018 13:25:11 +0000 (UTC)
commit e4de68b314209a00ad4e38b1806fc79aaf2c0966
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Thu Dec 6 14:23:06 2018 +0100
Gtk::Widget: Remove intersect()
gtk_widget_intersect() has been removed.
gtk/src/widget.ccg | 6 ------
gtk/src/widget.hg | 3 ---
2 files changed, 9 deletions(-)
---
diff --git a/gtk/src/widget.ccg b/gtk/src/widget.ccg
index 87524458..749ababc 100644
--- a/gtk/src/widget.ccg
+++ b/gtk/src/widget.ccg
@@ -318,12 +318,6 @@ void Widget::reparent(Container& new_parent)
}
}
-bool Widget::intersect(const Gdk::Rectangle& area) const
-{
- return gtk_widget_intersect(
- const_cast<GtkWidget*>(gobj()), const_cast<GdkRectangle*>(area.gobj()), nullptr);
-}
-
void Widget::unset_name()
{
gtk_widget_set_name(gobj(), nullptr);
diff --git a/gtk/src/widget.hg b/gtk/src/widget.hg
index 94d28c44..44aa3eaf 100644
--- a/gtk/src/widget.hg
+++ b/gtk/src/widget.hg
@@ -161,9 +161,6 @@ public:
*/
void reparent(Container& new_parent);
- bool intersect(const Gdk::Rectangle& area) const;
- _WRAP_METHOD(bool intersect(const Gdk::Rectangle& area, Gdk::Rectangle& intersection) const,
gtk_widget_intersect)
-
_WRAP_METHOD(void freeze_child_notify(), gtk_widget_freeze_child_notify)
_WRAP_METHOD(void child_notify(const Glib::ustring& child_property), gtk_widget_child_notify)
_WRAP_METHOD(void thaw_child_notify(), gtk_widget_thaw_child_notify)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]