gnomemm r2103 - in clutter-gtkmm/trunk: . clutter-gtk/src



Author: siavashs
Date: Mon Mar 16 13:34:25 2009
New Revision: 2103
URL: http://svn.gnome.org/viewvc/gnomemm?rev=2103&view=rev

Log:
Regenareted clutter-gtk_methods.defs and Updated Viewport::get_origin()

* trunk/Makefile.am: Remove test/ directory since it includes old tests from
cluttermm
* trunk/clutter-gtk/src/clutter-gtk_methods.defs: Regenerated
* trunk/clutter-gtk/src/viewport.hg: Updated get_origin() to use new argument
types

Modified:
   clutter-gtkmm/trunk/ChangeLog
   clutter-gtkmm/trunk/Makefile.am
   clutter-gtkmm/trunk/clutter-gtk/src/clutter-gtk_methods.defs
   clutter-gtkmm/trunk/clutter-gtk/src/viewport.hg

Modified: clutter-gtkmm/trunk/Makefile.am
==============================================================================
--- clutter-gtkmm/trunk/Makefile.am	(original)
+++ clutter-gtkmm/trunk/Makefile.am	Mon Mar 16 13:34:25 2009
@@ -1,4 +1,4 @@
-SUBDIRS		= tools clutter-gtk docs examples tests
+SUBDIRS		= tools clutter-gtk docs examples
 DIST_SUBDIRS	= $(SUBDIRS) scripts
 
 EXTRA_DIST	=  \

Modified: clutter-gtkmm/trunk/clutter-gtk/src/clutter-gtk_methods.defs
==============================================================================
--- clutter-gtkmm/trunk/clutter-gtk/src/clutter-gtk_methods.defs	(original)
+++ clutter-gtkmm/trunk/clutter-gtk/src/clutter-gtk_methods.defs	Mon Mar 16 13:34:25 2009
@@ -261,18 +261,9 @@
   (c-name "gtk_clutter_viewport_get_origin")
   (return-type "none")
   (parameters
-    '("gint*" "x")
-    '("gint*" "y")
-    '("gint*" "z")
-  )
-)
-
-(define-method get_originu
-  (of-object "GtkClutterViewport")
-  (c-name "gtk_clutter_viewport_get_originu")
-  (return-type "none")
-  (parameters
-    '("ClutterVertex*" "origin")
+    '("gfloat*" "x")
+    '("gfloat*" "y")
+    '("gfloat*" "z")
   )
 )
 

Modified: clutter-gtkmm/trunk/clutter-gtk/src/viewport.hg
==============================================================================
--- clutter-gtkmm/trunk/clutter-gtk/src/viewport.hg	(original)
+++ clutter-gtkmm/trunk/clutter-gtk/src/viewport.hg	Mon Mar 16 13:34:25 2009
@@ -37,7 +37,7 @@
 
 public:
 
-  _WRAP_METHOD(void get_origin(int& x, int& y, int& z), gtk_clutter_viewport_get_origin)
+  _WRAP_METHOD(void get_origin(float& x, float& y, float& z), gtk_clutter_viewport_get_origin)
 #m4 _CONVERSION(`Vertex&',`ClutterVertex*',`($3).gobj()')
   _WRAP_METHOD(void get_originu(Vertex& origin), gtk_clutter_viewport_get_originu)
 };



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