gtkmm r986 - in branches/gtkmm-2-12: . gtk/src
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkmm r986 - in branches/gtkmm-2-12: . gtk/src
- Date: Wed, 2 Apr 2008 11:28:08 +0100 (BST)
Author: murrayc
Date: Wed Apr 2 11:28:08 2008
New Revision: 986
URL: http://svn.gnome.org/viewvc/gtkmm?rev=986&view=rev
Log:
2008-04-02 Murray Cumming <murrayc murrayc com>
* gtk/src/uimanager.ccg: add_ui_from_string(): Pass the number of
bytes, not the number of characters, so this works with non-ASCII
in the markup.
Modified:
branches/gtkmm-2-12/ChangeLog
branches/gtkmm-2-12/gtk/src/uimanager.ccg
Modified: branches/gtkmm-2-12/gtk/src/uimanager.ccg
==============================================================================
--- branches/gtkmm-2-12/gtk/src/uimanager.ccg (original)
+++ branches/gtkmm-2-12/gtk/src/uimanager.ccg Wed Apr 2 11:28:08 2008
@@ -33,7 +33,7 @@
#endif //GLIBMM_EXCEPTIONS_ENABLED
{
GError* gerror = 0;
- guint retvalue = gtk_ui_manager_add_ui_from_string(gobj(), buffer.c_str(), buffer.size(), &(gerror));
+ guint retvalue = gtk_ui_manager_add_ui_from_string(gobj(), buffer.c_str(), buffer.bytes(), &(gerror));
if (gerror)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]