Commit 36cfebe5 authored by Murray Cumming's avatar Murray Cumming

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

parent ded8718c
...@@ -53,7 +53,7 @@ public: ...@@ -53,7 +53,7 @@ public:
_WRAP_METHOD(void set_audio_volume(double volume), clutter_media_set_audio_volume) _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_audio_volume() const, clutter_media_get_audio_volume)
_WRAP_METHOD(double get_buffer_percent() const, clutter_media_get_buffer_fill) _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(bool get_can_seek() const, clutter_media_get_can_seek)
_WRAP_METHOD(double get_duration() const, clutter_media_get_duration) _WRAP_METHOD(double get_duration() const, clutter_media_get_duration)
......
...@@ -56,7 +56,7 @@ public: ...@@ -56,7 +56,7 @@ public:
void add_search_paths(const std::vector<std::string>& paths); void add_search_paths(const std::vector<std::string>& paths);
_IGNORE(clutter_script_add_search_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. /** Get a RefPtr to an object from the ClutterScript JSON file.
* For instance: * For instance:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment