[gtkmm/use-dllexport: 17/60] Gdk, Gtk: Update for the latest gtk4 (remove Gdk::Surface methods, etc.)
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/use-dllexport: 17/60] Gdk, Gtk: Update for the latest gtk4 (remove Gdk::Surface methods, etc.)
- Date: Mon, 8 Jun 2020 02:43:25 +0000 (UTC)
commit b0a2976da4bc9c348d917a6af947eeb0ebae9a55
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Mar 22 18:55:00 2020 +0100
Gdk, Gtk: Update for the latest gtk4 (remove Gdk::Surface methods, etc.)
Incomplete list of changes:
* gdk/src/surface.[ccg|hg]: Remove many methods.
* gtk/src/window.[ccg|hg]: Remove focus methods and some other methods.
gdk/src/surface.ccg | 11 ------
gdk/src/surface.hg | 97 ++--------------------------------------------
gtk/src/builder.ccg | 2 +-
gtk/src/builder.hg | 4 +-
gtk/src/padactionentry.ccg | 8 ++--
gtk/src/window.ccg | 10 -----
gtk/src/window.hg | 42 --------------------
tools/m4/convert_gdk.m4 | 4 +-
8 files changed, 11 insertions(+), 167 deletions(-)
---
diff --git a/gdk/src/surface.ccg b/gdk/src/surface.ccg
index 4f96da16..123f6005 100644
--- a/gdk/src/surface.ccg
+++ b/gdk/src/surface.ccg
@@ -26,7 +26,6 @@
#include <gdkmm/frameclock.h>
#include <gdkmm/monitor.h>
-using Type = Gdk::Surface::Type;
using State = Gdk::Surface::State;
using TypeHint = Gdk::Surface::TypeHint;
using CairoRegion = cairo_region_t;
@@ -39,14 +38,4 @@ void Surface::set_cursor()
gdk_surface_set_cursor(gobj(), nullptr);
}
-void Surface::unset_icon()
-{
- gdk_surface_set_icon_name(gobj(), nullptr); /* See GDK docs */
-}
-
-void Surface::restack(bool above)
-{
- gdk_surface_restack(gobj(), nullptr, above);
-}
-
} // namespace Gdk
diff --git a/gdk/src/surface.hg b/gdk/src/surface.hg
index dc530d60..4e48cd07 100644
--- a/gdk/src/surface.hg
+++ b/gdk/src/surface.hg
@@ -34,8 +34,6 @@ _PINCLUDE(glibmm/private/object_p.h)
namespace Gdk
{
-_WRAP_ENUM(WMDecoration, GdkWMDecoration)
-_WRAP_ENUM(WMFunction, GdkWMFunction)
_WRAP_ENUM(SurfaceEdge, GdkSurfaceEdge)
_WRAP_ENUM(FullscreenMode, GdkFullscreenMode,
s#^CURRENT_MONITOR$#ON_CURRENT_MONITOR#,
@@ -60,7 +58,6 @@ class Surface : public Glib::Object
_IGNORE(gdk_surface_destroy, gdk_surface_is_destroyed)
public:
- _WRAP_ENUM(Type, GdkSurfaceType)
_WRAP_ENUM(State, GdkSurfaceState)
_WRAP_ENUM(Hints, GdkSurfaceHints)
_WRAP_ENUM(TypeHint, GdkSurfaceTypeHint)
@@ -74,58 +71,15 @@ public:
_WRAP_METHOD(static Glib::RefPtr<Surface> create_popup(
const Glib::RefPtr<Surface>& parent, bool autohide), gdk_surface_new_popup)
- _WRAP_METHOD(Type get_surface_type() const, gdk_surface_get_surface_type)
-
- _WRAP_METHOD(Glib::RefPtr<Surface> get_parent(), gdk_surface_get_parent, refreturn)
- _WRAP_METHOD(Glib::RefPtr<const Surface> get_parent() const, gdk_surface_get_parent, refreturn,
constversion)
-
_WRAP_METHOD(Glib::RefPtr<Display> get_display(), gdk_surface_get_display, refreturn)
_WRAP_METHOD(Glib::RefPtr<const Display> get_display() const, gdk_surface_get_display, refreturn,
constversion)
- _WRAP_METHOD(void show(), gdk_surface_show)
_WRAP_METHOD(void hide(), gdk_surface_hide)
- _WRAP_METHOD(void show_unraised(), gdk_surface_show_unraised)
- _WRAP_METHOD(void resize(int width, int height), gdk_surface_resize)
-
- _WRAP_METHOD(bool present_popup(int width, int height, const Glib::RefPtr<const PopupLayout>& layout),
- gdk_surface_present_popup)
- _WRAP_METHOD(Gravity get_popup_surface_anchor() const, gdk_surface_get_popup_surface_anchor)
- _WRAP_METHOD(Gravity get_popup_rect_anchor() const, gdk_surface_get_popup_rect_anchor)
-
- _WRAP_METHOD(void raise(), gdk_surface_raise)
- _WRAP_METHOD(void lower(), gdk_surface_lower)
-
- _WRAP_METHOD(void restack(const Glib::RefPtr<Surface>& sibling, bool above), gdk_surface_restack)
-
- /** Changes the position of this surface in the Z-order (stacking order). This
- * either raises (if @a above is true) or lowers the surface.
- *
- * If this is a toplevel, the window manager may choose to deny the
- * request to move the surface in the Z-order. restack() only
- * requests the restack but does not guarantee it.
- *
- * @param above Whether to raise or lower the surface.
- *
- * @newin{2,18}
- */
- void restack(bool above);
-
- _WRAP_METHOD(void focus(guint32 timestamp), gdk_surface_focus)
- _WRAP_METHOD(void input_shape_combine_region(const ::Cairo::RefPtr< ::Cairo::Region>& shape_region, int
offset_x, int offset_y), gdk_surface_input_shape_combine_region)
+ _WRAP_METHOD(void set_input_region(const ::Cairo::RefPtr< ::Cairo::Region>& region),
gdk_surface_set_input_region)
_WRAP_METHOD(bool is_viewable() const, gdk_surface_is_viewable)
_WRAP_METHOD(bool get_mapped() const, gdk_surface_get_mapped)
- _WRAP_METHOD(bool get_autohide() const, gdk_surface_get_autohide)
- _WRAP_METHOD(State get_state() const, gdk_surface_get_state)
- _WRAP_METHOD(void set_type_hint(TypeHint hint), gdk_surface_set_type_hint)
- _WRAP_METHOD(TypeHint get_type_hint(), gdk_surface_get_type_hint)
- _WRAP_METHOD(bool get_modal_hint() const, gdk_surface_get_modal_hint)
- _WRAP_METHOD(void set_modal_hint(bool modal = true), gdk_surface_set_modal_hint)
- _WRAP_METHOD(void set_geometry_hints(const Geometry& geometry, Hints geom_mask),
gdk_surface_set_geometry_hints)
- _WRAP_METHOD(void set_title(const Glib::ustring& title), gdk_surface_set_title)
- _WRAP_METHOD(void set_startup_id(const Glib::ustring& startup_id), gdk_surface_set_startup_id)
- _WRAP_METHOD(void set_transient_for(const Glib::RefPtr<Surface>& parent), gdk_surface_set_transient_for)
_WRAP_METHOD(void set_cursor(const Glib::RefPtr<Cursor>& cursor), gdk_surface_set_cursor)
@@ -145,40 +99,18 @@ public:
_WRAP_METHOD(int get_width() const, gdk_surface_get_width)
_WRAP_METHOD(int get_height() const, gdk_surface_get_height)
- _WRAP_METHOD(void get_position(int& x, int& y) const, gdk_surface_get_position)
-
_WRAP_METHOD(int get_scale_factor() const, gdk_surface_get_scale_factor)
_WRAP_METHOD(void get_device_position(const Glib::RefPtr<const Device>& device, double& x, double& y,
ModifierType& mask) const, gdk_surface_get_device_position)
-#m4 _CONVERSION(`const
std::vector<Glib::RefPtr<Texture>>&',`GList*',`Glib::ListHandler<Glib::RefPtr<Texture>>::vector_to_list($3).data()')
- _WRAP_METHOD(void set_icon_list(const std::vector<Glib::RefPtr<Texture>>& textures),
gdk_surface_set_icon_list)
- void unset_icon();
- _WRAP_METHOD(void set_icon_name(const Glib::ustring& name), gdk_surface_set_icon_name)
-
- _WRAP_METHOD(void set_decorations(WMDecoration decorations), gdk_surface_set_decorations)
- _WRAP_METHOD(bool get_decorations(WMDecoration& decorations) const, gdk_surface_get_decorations)
- _WRAP_METHOD(void set_functions(WMFunction functions), gdk_surface_set_functions)
-
#m4 _CONVERSION(`::Cairo::Content',`cairo_content_t',`(cairo_content_t)($3)')
_WRAP_METHOD(::Cairo::RefPtr< ::Cairo::Surface> create_similar_surface(::Cairo::Content content, int
width, int height), gdk_surface_create_similar_surface )
_WRAP_METHOD(void beep(), gdk_surface_beep)
- _WRAP_METHOD(void minimize(), gdk_surface_minimize)
- _WRAP_METHOD(void unminimize(), gdk_surface_unminimize)
- _WRAP_METHOD(void stick(), gdk_surface_stick)
- _WRAP_METHOD(void unstick(), gdk_surface_unstick)
- _WRAP_METHOD(void maximize(), gdk_surface_maximize)
- _WRAP_METHOD(void unmaximize(), gdk_surface_unmaximize)
-
- _WRAP_METHOD(void begin_resize_drag(SurfaceEdge edge, int button, int root_x, int root_y, guint32
timestamp), gdk_surface_begin_resize_drag)
+ _WRAP_METHOD(void begin_resize_drag(SurfaceEdge edge, const Glib::RefPtr<Device>& device, int button, int
x, int y, guint32 timestamp), gdk_surface_begin_resize_drag)
- _WRAP_METHOD(void resize_drag(SurfaceEdge edge, const Glib::RefPtr<Device>& device, int button, int
root_x, int root_y, guint32 timestamp), gdk_surface_begin_resize_drag_for_device)
-
- _WRAP_METHOD(void begin_move_drag(int button, int root_x, int root_y, guint32 timestamp),
gdk_surface_begin_move_drag)
-
- _WRAP_METHOD(void begin_move_drag(const Glib::RefPtr<Device>& device, int button, int root_x, int root_y,
guint32 timestamp), gdk_surface_begin_move_drag_for_device)
+ _WRAP_METHOD(void begin_move_drag(const Glib::RefPtr<Device>& device, int button, int x, int y, guint32
timestamp), gdk_surface_begin_move_drag)
_WRAP_METHOD(Glib::RefPtr<Drag> drag_begin_from_point(const Glib::RefPtr<Device>& device,
const Glib::RefPtr<ContentProvider>& content, DragAction actions, int dx, int dy), gdk_drag_begin)
@@ -191,23 +123,6 @@ public:
_WRAP_METHOD(static void constrain_size(const Geometry& geometry, Hints flags,
int width, int height, int& new_width, int& new_height), gdk_surface_constrain_size)
- _WRAP_METHOD(void fullscreen(), gdk_surface_fullscreen)
- _WRAP_METHOD(void fullscreen_on_monitor(const Glib::RefPtr<Monitor>& monitor),
gdk_surface_fullscreen_on_monitor)
- _WRAP_METHOD(void set_fullscreen_mode(FullscreenMode mode), gdk_surface_set_fullscreen_mode)
- _WRAP_METHOD(FullscreenMode get_fullscreen_mode() const, gdk_surface_get_fullscreen_mode)
- _WRAP_METHOD(void unfullscreen(), gdk_surface_unfullscreen)
-
- _WRAP_METHOD(void set_keep_above(bool setting = true), gdk_surface_set_keep_above)
- _WRAP_METHOD(void set_keep_below(bool setting = true), gdk_surface_set_keep_below)
-
- _WRAP_METHOD(void set_opacity(double opacity), gdk_surface_set_opacity)
-
- _WRAP_METHOD(bool get_accept_focus() const, gdk_surface_get_accept_focus)
- _WRAP_METHOD(void set_accept_focus(bool accept_focus = true), gdk_surface_set_accept_focus)
-
- _WRAP_METHOD(bool get_focus_on_map() const, gdk_surface_get_focus_on_map)
- _WRAP_METHOD(void set_focus_on_map(bool focus_on_map), gdk_surface_set_focus_on_map)
-
_WRAP_METHOD(void set_support_multidevice(bool support_multidevice = true),
gdk_surface_set_support_multidevice)
_WRAP_METHOD(bool get_support_multidevice(), gdk_surface_get_support_multidevice)
@@ -218,8 +133,6 @@ public:
_WRAP_METHOD(void set_shadow_width(int left, int right, int top, int bottom), gdk_surface_set_shadow_width)
- _WRAP_METHOD(bool show_window_menu(const Glib::RefPtr<const Event>& event), gdk_surface_show_window_menu)
-
/** Creates a new GLContext matching the framebuffer format to the visual of the
* Surface. The context is disconnected from any particular surface.
*
@@ -249,12 +162,8 @@ public:
_WRAP_PROPERTY("cursor", Glib::RefPtr<Cursor>)
_WRAP_PROPERTY("display", Glib::RefPtr<Display>)
- _WRAP_PROPERTY("parent", Glib::RefPtr<Surface>)
_WRAP_PROPERTY("frame-clock", Glib::RefPtr<FrameClock>)
- _WRAP_PROPERTY("state", State)
_WRAP_PROPERTY("mapped", bool)
- _WRAP_PROPERTY("autohide", bool)
- _WRAP_PROPERTY("surface-type", Type)
};
} // namespace Gdk
diff --git a/gtk/src/builder.ccg b/gtk/src/builder.ccg
index 2cb3a2c1..847bcecc 100644
--- a/gtk/src/builder.ccg
+++ b/gtk/src/builder.ccg
@@ -205,7 +205,7 @@ bool Builder::add_from_string(const Glib::ustring& buffer, const std::vector<Gli
gobj(),
buffer.c_str(),
-1 /* means null-terminated */,
- const_cast<char**>(Glib::ArrayHandler<Glib::ustring>::vector_to_array(object_ids).data ()),
+ Glib::ArrayHandler<Glib::ustring>::vector_to_array(object_ids).data(),
&(gerror));
if(gerror)
::Glib::Error::throw_exception(gerror);
diff --git a/gtk/src/builder.hg b/gtk/src/builder.hg
index 10cdafbc..3b86d74c 100644
--- a/gtk/src/builder.hg
+++ b/gtk/src/builder.hg
@@ -299,7 +299,7 @@ public:
*/
bool add_from_file(const std::string& filename, const Glib::ustring& object_id);
-#m4 _CONVERSION(`const
std::vector<Glib::ustring>&',`gchar**',`const_cast<char**>(Glib::ArrayHandler<Glib::ustring>::vector_to_array($3).data())')
+#m4 _CONVERSION(`const std::vector<Glib::ustring>&',`const
char**',`Glib::ArrayHandler<Glib::ustring>::vector_to_array($3).data()')
_WRAP_METHOD(bool add_from_file(const std::string& filename, const std::vector<Glib::ustring>&
object_ids), gtk_builder_add_objects_from_file, errthrow)
@@ -350,7 +350,7 @@ public:
*/
bool add_from_resource(const std::string& resource_path, const Glib::ustring& object_id);
-#m4 _CONVERSION(`const
std::vector<Glib::ustring>&',`gchar**',`const_cast<char**>(Glib::ArrayHandler<Glib::ustring>::vector_to_array($3).data())')
+#m4 _CONVERSION(`const std::vector<Glib::ustring>&',`const
char**',`Glib::ArrayHandler<Glib::ustring>::vector_to_array($3).data()')
_WRAP_METHOD(bool add_from_resource(const std::string& resource_path, const std::vector<Glib::ustring>&
object_ids), gtk_builder_add_objects_from_resource, errthrow)
diff --git a/gtk/src/padactionentry.ccg b/gtk/src/padactionentry.ccg
index 022cc267..56643744 100644
--- a/gtk/src/padactionentry.ccg
+++ b/gtk/src/padactionentry.ccg
@@ -45,8 +45,8 @@ void PadActionEntry::release_gobject() noexcept
if (!gobject_)
return;
- g_free(gobject_->label);
- g_free(gobject_->action_name);
+ g_free(const_cast<char*>(gobject_->label));
+ g_free(const_cast<char*>(gobject_->action_name));
g_free(gobject_);
gobject_ = nullptr;
}
@@ -72,8 +72,8 @@ PadActionEntry& PadActionEntry::operator=(const PadActionEntry& src)
gobject_ = g_new(GtkPadActionEntry, 1);
else
{
- g_free(gobject_->label);
- g_free(gobject_->action_name);
+ g_free(const_cast<char*>(gobject_->label));
+ g_free(const_cast<char*>(gobject_->action_name));
}
*gobject_ = *src.gobject_;
diff --git a/gtk/src/window.ccg b/gtk/src/window.ccg
index f57893f5..acc559c1 100644
--- a/gtk/src/window.ccg
+++ b/gtk/src/window.ccg
@@ -96,11 +96,6 @@ std::vector< Glib::RefPtr<AccelGroup> > Window::get_accel_groups()
gtk_accel_groups_from_object(G_OBJECT(gobj())), Glib::OWNERSHIP_NONE);
}
-void Window::raise()
-{
- get_surface()->raise();
-}
-
void Window::set_manage()
{
g_warning("gtkmm: Attempt to call Gtk::manage() on a Gtk::Window, but a Gtk::Window has no parent
container to manage its lifetime.\n");
@@ -243,11 +238,6 @@ void Window::unset_transient_for()
gtk_window_set_transient_for(gobj(), nullptr /* See GTK+ docs */);
}
-void Window::unset_attached_to()
-{
- gtk_window_set_attached_to(gobj(), nullptr /* See GTK+ docs */);
-}
-
void Window::unset_application()
{
gtk_window_set_application(gobj(), nullptr /* See GTK+ docs */);
diff --git a/gtk/src/window.hg b/gtk/src/window.hg
index 4af82997..030c6e10 100644
--- a/gtk/src/window.hg
+++ b/gtk/src/window.hg
@@ -92,16 +92,12 @@ public:
_WRAP_PROPERTY("icon-name", Glib::ustring)
_WRAP_PROPERTY("display", Glib::RefPtr<Gdk::Display>)
_WRAP_PROPERTY("is_active", bool)
- _WRAP_PROPERTY("type_hint", Gdk::Surface::TypeHint)
_WRAP_PROPERTY("decorated", bool)
_WRAP_PROPERTY("transient_for", Window*)
- _WRAP_PROPERTY("accept-focus", bool)
- _WRAP_PROPERTY("focus-on-map", bool)
_WRAP_PROPERTY("deletable", bool)
_WRAP_PROPERTY("application", Glib::RefPtr<Application>)
_WRAP_PROPERTY("focus-visible", bool)
- _WRAP_PROPERTY("attached-to", Widget*)
_WRAP_PROPERTY("is-maximized", bool)
_WRAP_PROPERTY("default-widget", Widget*)
@@ -162,25 +158,6 @@ dnl
_WRAP_METHOD(Window* get_transient_for(), gtk_window_get_transient_for)
_WRAP_METHOD(const Window* get_transient_for() const, gtk_window_get_transient_for, constversion)
- /** Unsets the attached-to widget.
- * @see set_attached_to().
- * @newin{3,4}
- */
- void unset_attached_to();
-
- _WRAP_METHOD(void set_attached_to(Widget& attach_widget), gtk_window_set_attached_to)
-
- _WRAP_METHOD(Widget* get_attached_to(), gtk_window_get_attached_to)
- _WRAP_METHOD(const Widget* get_attached_to() const, gtk_window_get_attached_to, constversion)
-
- _WRAP_METHOD(void set_type_hint(Gdk::Surface::TypeHint hint), gtk_window_set_type_hint)
- _WRAP_METHOD(Gdk::Surface::TypeHint get_type_hint() const, gtk_window_get_type_hint)
-
- _WRAP_METHOD(void set_accept_focus(bool setting = true), gtk_window_set_accept_focus)
- _WRAP_METHOD(bool get_accept_focus() const, gtk_window_get_accept_focus)
- _WRAP_METHOD(void set_focus_on_map(bool setting = true), gtk_window_set_focus_on_map)
- _WRAP_METHOD(bool get_focus_on_map() const, gtk_window_get_focus_on_map)
-
//_WRAP_METHOD(void set_destroy_with_parent(bool setting = true), gtk_window_set_destroy_with_parent)
// I don't that that this is ever a good thing for C++.murrayc.
@@ -248,9 +225,6 @@ dnl
_WRAP_METHOD(void minimize(), gtk_window_minimize)
_WRAP_METHOD(void unminimize(), gtk_window_unminimize)
- _WRAP_METHOD(void stick(), gtk_window_stick)
- _WRAP_METHOD(void unstick(), gtk_window_unstick)
-
_WRAP_METHOD(void maximize(), gtk_window_maximize)
_WRAP_METHOD(void unmaximize(), gtk_window_unmaximize)
@@ -259,14 +233,6 @@ dnl
_WRAP_METHOD(void fullscreen_on_monitor(const Glib::RefPtr<Gdk::Monitor>& monitor),
gtk_window_fullscreen_on_monitor)
_WRAP_METHOD(void close(), gtk_window_close)
- _WRAP_METHOD(void begin_resize_drag(Gdk::SurfaceEdge edge,
- int button, int x, int y, guint32 timestamp),
- gtk_window_begin_resize_drag)
-
- _WRAP_METHOD(void begin_move_drag(
- int button, int x, int y, guint32 timestamp),
- gtk_window_begin_move_drag)
-
_WRAP_METHOD(void set_default_size(int width, int height),
gtk_window_set_default_size)
@@ -310,9 +276,6 @@ dnl
*/
void unset_application();
- _WRAP_METHOD(void set_keep_above(bool setting = true), gtk_window_set_keep_above)
- _WRAP_METHOD(void set_keep_below(bool setting = true), gtk_window_set_keep_below)
-
_WRAP_METHOD(void set_titlebar(Widget& titlebar), gtk_window_set_titlebar)
/** Unsets the titlebar.
@@ -334,11 +297,6 @@ dnl
*/
std::vector< Glib::RefPtr<AccelGroup> > get_accel_groups();
- /** Brings the window to the front.
- * This is just a more obvious convenience wrapper for get_surface()->raise().
- */
- void raise();
-
///Overriden to warn that it doesn't make sense to use Gtk::manage() on this class because it has no
parent container.
void set_manage() override;
diff --git a/tools/m4/convert_gdk.m4 b/tools/m4/convert_gdk.m4
index fc42187e..9f2c0503 100644
--- a/tools/m4/convert_gdk.m4
+++ b/tools/m4/convert_gdk.m4
@@ -66,11 +66,8 @@ _CONV_ENUM(Gdk,SubpixelLayout)
_CONV_ENUM(Gdk,SurfaceEdge)
_CONV_INCLASS_ENUM(Gdk,Surface,Hints)
_CONV_INCLASS_ENUM(Gdk,Surface,State)
-_CONV_INCLASS_ENUM(Gdk,Surface,Type)
_CONV_INCLASS_ENUM(Gdk,Surface,TypeHint)
_CONV_ENUM(Gdk,TouchpadGesturePhase)
-_CONV_ENUM(Gdk,WMDecoration)
-_CONV_ENUM(Gdk,WMFunction)
_CONV_ENUM(Gdk,GrabStatus)
_CONV_INCLASS_ENUM(Gdk,Pixbuf,AlphaMode)
_CONV_INCLASS_ENUM(Gdk,Pixbuf,Rotation)
@@ -104,6 +101,7 @@ _CONVERSION(`const Gdk::Rectangle&',`const GdkRectangle*',($3).gobj())
_CONVERSION(`const ::Cairo::RefPtr< ::Cairo::Context>&',`cairo_t*',`(($3) ? ($3)->cobj() : nullptr)')
_CONVERSION(`cairo_t*',`::Cairo::RefPtr< ::Cairo::Context>',`Gdk::Cairo::wrap($3)')
_CONVERSION(`cairo_t*',`::Cairo::RefPtr<const ::Cairo::Context>',`Gdk::Cairo::wrap($3)')
+_CONVERSION(`const ::Cairo::RefPtr< ::Cairo::Region>&',`cairo_region_t*',`(($3) ? ($3)->cobj() : nullptr)')
_CONVERSION(`const ::Cairo::RefPtr< ::Cairo::Region>&',`const cairo_region_t*',`(($3) ? ($3)->cobj() :
nullptr)')
_CONVERSION(`const ::Cairo::RefPtr<const
::Cairo::Region>&',`cairo_region_t*',`const_cast<cairo_region_t*>(($3) ? ($3)->cobj() : nullptr)')
_CONVERSION(`const ::Cairo::RefPtr<const ::Cairo::Region>&',`const cairo_region_t*',`(($3) ? ($3)->cobj() :
nullptr)')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]