[cluttermm] Media, Script: Use std::string for filenames.



commit 36cfebe5f1a4946350b9323364e612441149254e
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Apr 11 10:38:12 2014 +0200

    Media, Script: Use std::string for filenames.

 clutter/src/media.hg  |    2 +-
 clutter/src/script.hg |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clutter/src/media.hg b/clutter/src/media.hg
index 43bbcbb..9734b6b 100644
--- a/clutter/src/media.hg
+++ b/clutter/src/media.hg
@@ -53,7 +53,7 @@ public:
   _WRAP_METHOD(void set_audio_volume(double volume), clutter_media_set_audio_volume)
   _WRAP_METHOD(double get_audio_volume() const, clutter_media_get_audio_volume)
   _WRAP_METHOD(double get_buffer_percent() const, clutter_media_get_buffer_fill)
-  _WRAP_METHOD(void set_filename(const Glib::ustring& filename), clutter_media_set_filename)
+  _WRAP_METHOD(void set_filename(const std::string& filename), clutter_media_set_filename)
   _WRAP_METHOD(bool get_can_seek() const, clutter_media_get_can_seek)
   _WRAP_METHOD(double get_duration() const, clutter_media_get_duration)
 
diff --git a/clutter/src/script.hg b/clutter/src/script.hg
index ebdc87a..c714352 100644
--- a/clutter/src/script.hg
+++ b/clutter/src/script.hg
@@ -56,7 +56,7 @@ public:
   void add_search_paths(const std::vector<std::string>& paths);
   _IGNORE(clutter_script_add_search_paths)
 
-  _WRAP_METHOD(Glib::ustring lookup_filename(const Glib::ustring& filename), clutter_script_lookup_filename)
+  _WRAP_METHOD(std::string lookup_filename(const std::string& filename), clutter_script_lookup_filename)
 
   /** Get a RefPtr to an object from the ClutterScript JSON file.
    * For instance:


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