[cluttermm/cluttermm-1-24] Actor: Comment out some vfuncs that cannot be wrapped.



commit 4040eb5a6fd26f51e12eb5c898d7ff46014da364
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Apr 21 09:20:23 2016 +0200

    Actor: Comment out some vfuncs that cannot be wrapped.
    
    Because of hard-coded checks in the underlying ClutterActor.
    See https://bugzilla.gnome.org/show_bug.cgi?id=763073#c7

 clutter/src/actor.hg |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/clutter/src/actor.hg b/clutter/src/actor.hg
index 101b356..0732c0f 100644
--- a/clutter/src/actor.hg
+++ b/clutter/src/actor.hg
@@ -946,13 +946,21 @@ protected:
   #m4 _CONVERSION(`const ClutterActorBox*', `const ActorBox&', `Glib::wrap($3)')
   _WRAP_VFUNC(void get_preferred_width(float for_height, float& min_width_p, float& natural_width_p) const, 
get_preferred_width)
   _WRAP_VFUNC(void get_preferred_height(float for_width, float& min_height_p, float& natural_height_p) 
const, get_preferred_height)
-  _WRAP_VFUNC(void allocate(const ActorBox& box, AllocationFlags absolute_origin_changed), allocate)
 
-  _WRAP_VFUNC(void pick(const Color& color), pick)
+  //TODO: Wrap this when clutter doesn't inappropriately compare function pointers:
+  //See https://bugzilla.gnome.org/show_bug.cgi?id=763073#c6
+  //_WRAP_VFUNC(void allocate(const ActorBox& box, AllocationFlags absolute_origin_changed), allocate)
+
+  //TODO: Wrap this when clutter doesn't inappropriately compare function pointers:
+  //See https://bugzilla.gnome.org/show_bug.cgi?id=763073#c6
+  //_WRAP_VFUNC(void pick(const Color& color), pick)
 
   //TODO: _WRAP_VFUNC(Glib::RefPtr<Gtk::Object> get_accessible(), get_accessible)
   //TODO: Wrap ClutterPaintVolume?
-  _WRAP_VFUNC(bool get_paint_volume(ClutterPaintVolume* volume), get_paint_volume)
+
+  //TODO: Wrap this when clutter doesn't inappropriately compare function pointers:
+  //See https://bugzilla.gnome.org/show_bug.cgi?id=763073#c6
+  //_WRAP_VFUNC(bool get_paint_volume(ClutterPaintVolume* volume), get_paint_volume)
 
   _WRAP_VFUNC(bool has_overlaps() const, has_overlaps)
 


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