[goocanvasmm] Item_Class::get_items_at_vfunc_callback():



commit 4a2ac614a63ec4bc1dbdc18c52b465bbee0d9d77
Author: Murray Cumming <murrayc murrayc com>
Date:   Mon May 18 10:58:54 2009 +0200

    Item_Class::get_items_at_vfunc_callback():
    Added a return 0 to avoid a compiler warning. Bug #582996 (Vincent Untz)
---
 ChangeLog              |    5 +++++
 goocanvas/src/item.ccg |    2 ++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 621bc16..0688dd0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-18  Murray Cumming  <murrayc murrayc com>
+
+	* goocanvas/src/item.ccg: Item_Class::get_items_at_vfunc_callback():
+	Added a return 0 to avoid a compiler warning. Bug #582996 (Vincent Untz)
+
 0.14.0:
 
 2009-03-25  Murray Cumming  <murrayc murrayc com>
diff --git a/goocanvas/src/item.ccg b/goocanvas/src/item.ccg
index f58e32c..97f9085 100644
--- a/goocanvas/src/item.ccg
+++ b/goocanvas/src/item.ccg
@@ -150,6 +150,8 @@ g_type_interface_peek(G_OBJECT_GET_CLASS(self), CppObjectType::get_type()) // Ge
     if(base && base->get_items_at)
       return (*base->get_items_at)(self, x, y, cr, is_pointer_event, parent_is_visible, found_items);
   }
+  
+  return 0;
 }
 
 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)



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