gnomemm r1775 - in goocanvasmm/trunk: . goocanvas/src



Author: arminb
Date: Thu Nov  6 17:12:17 2008
New Revision: 1775
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1775&view=rev

Log:
2008-11-05  Armin Burgmeier  <armin openismus com>

	* goocanvas/src/item.hg:
	* goocanvas/src/item.ccg: Remove the const qualifier for the
	get_items_at_vfunc, because otherwise the item itself cannot be added
	to the returned list of items.
	Bug #559374 (Louis-Francis RattÃ-Boulianne)


Modified:
   goocanvasmm/trunk/ChangeLog
   goocanvasmm/trunk/goocanvas/src/item.ccg
   goocanvasmm/trunk/goocanvas/src/item.hg

Modified: goocanvasmm/trunk/goocanvas/src/item.ccg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/item.ccg	(original)
+++ goocanvasmm/trunk/goocanvas/src/item.ccg	Thu Nov  6 17:12:17 2008
@@ -152,7 +152,7 @@
   }
 }
 
-Glib::ListHandle<Glib::RefPtr<Item> > Item::get_items_at_vfunc(double x, double y, const Cairo::RefPtr<Cairo::Context>& context, bool is_pointer_event, bool is_parent_visible, const Glib::ListHandle<Glib::RefPtr<Item> >& found_items) const
+Glib::ListHandle<Glib::RefPtr<Item> > Item::get_items_at_vfunc(double x, double y, const Cairo::RefPtr<Cairo::Context>& context, bool is_pointer_event, bool is_parent_visible, const Glib::ListHandle<Glib::RefPtr<Item> >& found_items)
 {
   //Call the default C implementation:
 

Modified: goocanvasmm/trunk/goocanvas/src/item.hg
==============================================================================
--- goocanvasmm/trunk/goocanvas/src/item.hg	(original)
+++ goocanvasmm/trunk/goocanvas/src/item.hg	Thu Nov  6 17:12:17 2008
@@ -192,7 +192,7 @@
 #ifdef GLIBMM_VFUNCS_ENABLED
   // Hand code, since Bounds can only copy a GooCanvasBounds* but not ref one.
   virtual void get_bounds_vfunc(Bounds& bounds) const;
-  virtual Glib::ListHandle<Glib::RefPtr<Item> > get_items_at_vfunc(double x, double y, const Cairo::RefPtr<Cairo::Context>& context, bool is_pointer_event, bool is_parent_visible, const Glib::ListHandle<Glib::RefPtr<Item> >& found_items) const;
+  virtual Glib::ListHandle<Glib::RefPtr<Item> > get_items_at_vfunc(double x, double y, const Cairo::RefPtr<Cairo::Context>& context, bool is_pointer_event, bool is_parent_visible, const Glib::ListHandle<Glib::RefPtr<Item> >& found_items);
 #endif
 
 #m4begin



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