gnomemm r1831 - in goocanvasmm/trunk: . examples/demo examples/moving_shapes
- From: hub svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1831 - in goocanvasmm/trunk: . examples/demo examples/moving_shapes
- Date: Wed, 10 Dec 2008 22:59:40 +0000 (UTC)
Author: hub
Date: Wed Dec 10 22:59:40 2008
New Revision: 1831
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1831&view=rev
Log:
* examples/moving_shapes/window.cc:
* examples/demo/primitives.cc: fix warnings. (Bug #562903)
Modified:
goocanvasmm/trunk/ChangeLog
goocanvasmm/trunk/examples/demo/primitives.cc
goocanvasmm/trunk/examples/moving_shapes/window.cc
Modified: goocanvasmm/trunk/examples/demo/primitives.cc
==============================================================================
--- goocanvasmm/trunk/examples/demo/primitives.cc (original)
+++ goocanvasmm/trunk/examples/demo/primitives.cc Wed Dec 10 22:59:40 2008
@@ -62,23 +62,26 @@
bool
Primitives::_on_background_button_press(const Glib::RefPtr<Goocanvas::Item>& item, GdkEventButton* ev)
{
-
+ return false;
}
bool
Primitives::_on_button_press(const Glib::RefPtr<Goocanvas::Item>& item, GdkEventButton* ev)
{
std::cerr << "Clicked!" << std::endl ;
+ return false;
}
bool
Primitives::_on_button_release(const Glib::RefPtr<Goocanvas::Item>& item, GdkEventButton* ev)
{
+ return false;
}
bool
Primitives::_on_motion_notify(const Glib::RefPtr<Goocanvas::Item>& item, GdkEventMotion* ev)
{
+ return false;
}
void
Modified: goocanvasmm/trunk/examples/moving_shapes/window.cc
==============================================================================
--- goocanvasmm/trunk/examples/moving_shapes/window.cc (original)
+++ goocanvasmm/trunk/examples/moving_shapes/window.cc Wed Dec 10 22:59:40 2008
@@ -74,6 +74,7 @@
_drag_x = (int) event->x ;
_drag_y = (int) event->y ;
}
+ return false;
}
bool
@@ -83,6 +84,7 @@
{
_dragging.clear() ;
}
+ return false;
}
bool
@@ -94,4 +96,5 @@
double new_y = event->y ;
item->translate(new_x - _drag_x, new_y - _drag_y) ;
}
+ return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]