[gtkmm: 7/10] Adapt to Gdk changes




commit ae948832ba549551208a9016a778d76bcd4d8ec0
Author: Andreas Persson <andreasp56 outlook com>
Date:   Thu Jul 30 09:46:28 2020 +0200

    Adapt to Gdk changes

 gdk/src/display.hg | 3 ---
 gdk/src/monitor.hg | 2 --
 gdk/src/surface.hg | 5 +----
 3 files changed, 1 insertion(+), 9 deletions(-)
---
diff --git a/gdk/src/display.hg b/gdk/src/display.hg
index 1b592c90..77adb82e 100644
--- a/gdk/src/display.hg
+++ b/gdk/src/display.hg
@@ -75,9 +75,6 @@ public:
 
   _WRAP_METHOD(void flush(), gdk_display_flush)
 
-  _WRAP_METHOD(Glib::RefPtr<Surface> get_default_group(), gdk_display_get_default_group, refreturn)
-  _WRAP_METHOD(Glib::RefPtr<const Surface> get_default_group() const, gdk_display_get_default_group, 
refreturn, constversion)
-
   _WRAP_METHOD(Glib::RefPtr<Clipboard> get_clipboard(), gdk_display_get_clipboard, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const Clipboard> get_clipboard() const, gdk_display_get_clipboard, refreturn, 
constversion)
   _WRAP_METHOD(Glib::RefPtr<Clipboard> get_primary_clipboard(), gdk_display_get_primary_clipboard, refreturn)
diff --git a/gdk/src/monitor.hg b/gdk/src/monitor.hg
index e28ca9f1..fb5c8bf1 100644
--- a/gdk/src/monitor.hg
+++ b/gdk/src/monitor.hg
@@ -46,7 +46,6 @@ public:
   _WRAP_METHOD(Glib::RefPtr<Display> get_display(), gdk_monitor_get_display, refreturn)
   _WRAP_METHOD(Glib::RefPtr<const Display> get_display() const, gdk_monitor_get_display, refreturn, 
constversion)
   _WRAP_METHOD(void get_geometry(Rectangle& geometry) const, gdk_monitor_get_geometry)
-  _WRAP_METHOD(void get_workarea(Rectangle& workarea) const, gdk_monitor_get_workarea)
   _WRAP_METHOD(int get_width_mm() const, gdk_monitor_get_width_mm)
   _WRAP_METHOD(int get_height_mm() const, gdk_monitor_get_height_mm)
   _WRAP_METHOD(Glib::ustring get_manufacturer() const, gdk_monitor_get_manufacturer)
@@ -67,7 +66,6 @@ public:
   _WRAP_PROPERTY("connector", Glib::ustring)
   _WRAP_PROPERTY("scale-factor", int)
   _WRAP_PROPERTY("geometry", Gdk::Rectangle)
-  _WRAP_PROPERTY("workarea", Gdk::Rectangle)
   _WRAP_PROPERTY("width-mm", int)
   _WRAP_PROPERTY("height-mm", int)
   _WRAP_PROPERTY("refresh-rate", int)
diff --git a/gdk/src/surface.hg b/gdk/src/surface.hg
index 66ebda71..04cef9ce 100644
--- a/gdk/src/surface.hg
+++ b/gdk/src/surface.hg
@@ -109,10 +109,7 @@ public:
   _WRAP_METHOD(Glib::RefPtr<Drag> drag_begin_from_point(const Glib::RefPtr<Device>& device,
     const Glib::RefPtr<ContentProvider>& content, DragAction actions, double dx, double dy), gdk_drag_begin)
 
-  _WRAP_METHOD(void queue_expose(), gdk_surface_queue_expose)
-
-  _WRAP_METHOD(void freeze_updates(), gdk_surface_freeze_updates)
-  _WRAP_METHOD(void thaw_updates(), gdk_surface_thaw_updates)
+  _WRAP_METHOD(void queue_render(), gdk_surface_queue_render)
 
   _WRAP_METHOD(Glib::RefPtr<FrameClock> get_frame_clock(), gdk_surface_get_frame_clock, refreturn, newin 
"3,24")
   _WRAP_METHOD(Glib::RefPtr<const FrameClock> get_frame_clock() const, gdk_surface_get_frame_clock, 
refreturn, constversion, newin "3,24")


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