jeremyletang / rgtk

GTK+ bindings and wrappers for Rust (DEPRECATED SEE https://github.com/rust-gnome )
GNU Lesser General Public License v3.0
121 stars 22 forks source link

Transition most of the string conversions to the glib::translate API #220

Closed gkoz closed 9 years ago

gkoz commented 9 years ago

Refactor most CString conversions utilizing glib::translate. Fix some badness in the process. This removes 500 lines of repeated code and a lot of deprecation warnings.

gkoz commented 9 years ago

This patch is big enough so I decided not to pile on anything else. The vector stuff is sure to change the API so should be its own PR. Updated the PR text.

GuillaumeGomez commented 9 years ago

Everything's good. I merge it. Thanks !