gnomemm r1867 - in cluttermm/trunk: . clutter/src



Author: daniel
Date: Tue Dec 16 19:13:30 2008
New Revision: 1867
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1867&view=rev

Log:
* clutter/src/score.{ccg,hg}: Change uses of guint to gulong,
following an API change in Clutter.


Modified:
   cluttermm/trunk/ChangeLog
   cluttermm/trunk/clutter/src/score.ccg
   cluttermm/trunk/clutter/src/score.hg

Modified: cluttermm/trunk/clutter/src/score.ccg
==============================================================================
--- cluttermm/trunk/clutter/src/score.ccg	(original)
+++ cluttermm/trunk/clutter/src/score.ccg	Tue Dec 16 19:13:30 2008
@@ -20,10 +20,9 @@
 namespace Clutter
 {
 
-guint Score::append(const Glib::RefPtr<Timeline>& timeline)
+gulong Score::append(const Glib::RefPtr<Timeline>& timeline)
 {
-    return clutter_score_append(gobj(), NULL, timeline->gobj());
+  return clutter_score_append(gobj(), NULL, timeline->gobj());
 }
 
-} //namespace Clutter
-
+} // namespace Clutter

Modified: cluttermm/trunk/clutter/src/score.hg
==============================================================================
--- cluttermm/trunk/clutter/src/score.hg	(original)
+++ cluttermm/trunk/clutter/src/score.hg	Tue Dec 16 19:13:30 2008
@@ -39,7 +39,7 @@
   _WRAP_METHOD(void set_loop(bool loop = true), clutter_score_set_loop)
   _WRAP_METHOD(bool get_loop() const, clutter_score_get_loop)
 
-  _WRAP_METHOD(guint append(const Glib::RefPtr<Timeline>& parent, const Glib::RefPtr<Timeline>& timeline), clutter_score_append)
+  _WRAP_METHOD(gulong append(const Glib::RefPtr<Timeline>& parent, const Glib::RefPtr<Timeline>& timeline), clutter_score_append)
 
   /** Appends a timeline to another one existing in the score. The new timeline
    * will be started when start() is called.
@@ -47,15 +47,15 @@
    * @param timeline the Timeline to append
    * @return the id of the newly added timeline, to be used with get_timeline() and remove().
    */
-  guint append(const Glib::RefPtr<Timeline>& timeline);
+  gulong append(const Glib::RefPtr<Timeline>& timeline);
 
   _WRAP_METHOD(void append_at_marker(const Glib::RefPtr<Timeline>& parent, const Glib::ustring& marker_name, const Glib::RefPtr<Timeline>& timeline), clutter_score_append_at_marker)
 
-  _WRAP_METHOD(void remove(guint id), clutter_score_remove)
+  _WRAP_METHOD(void remove(gulong id), clutter_score_remove)
   _WRAP_METHOD(void remove_all(), clutter_score_remove_all)
 
-  _WRAP_METHOD(Glib::RefPtr<Timeline> get_timeline(guint id), clutter_score_get_timeline, refreturn)
-  _WRAP_METHOD(Glib::RefPtr<const Timeline> get_timeline(guint id) const, clutter_score_get_timeline, , refreturn, constversion)
+  _WRAP_METHOD(Glib::RefPtr<Timeline> get_timeline(gulong id), clutter_score_get_timeline, refreturn)
+  _WRAP_METHOD(Glib::RefPtr<const Timeline> get_timeline(gulong id) const, clutter_score_get_timeline, , refreturn, constversion)
 
 #m4 _CONVERSION(`GSList*', `Glib::SListHandle<Glib::RefPtr<Timeline> >', `$2(($3), Glib::OWNERSHIP_SHALLOW)')
 #m4 _CONVERSION(`GSList*', `Glib::SListHandle<Glib::RefPtr<const Timeline> >', `$2(($3), Glib::OWNERSHIP_SHALLOW)')



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