diff options
author | Hidetoshi Tajima <tajima@src.gnome.org> | 2001-08-08 17:58:52 +0000 |
---|---|---|
committer | Hidetoshi Tajima <tajima@src.gnome.org> | 2001-08-08 17:58:52 +0000 |
commit | 2a80b70a2eaf6b6ef8e7ae14a0d4cca7ed63cf42 (patch) | |
tree | a4c8e4e35e30e7fd642b7dbb8b7f9f9b57fd3d06 /gdk/x11 | |
parent | d146290c53311124162dbc68a332cf2d9e8612bd (diff) | |
download | gtk+-2a80b70a2eaf6b6ef8e7ae14a0d4cca7ed63cf42.tar.gz |
ask apps for COMPOUND_TEXT instead of TEXT correctly interpret the return
* gtk/gtkclipboard.c (request_text_received_func): ask apps for
COMPOUND_TEXT instead of TEXT
* gdk/x11/gdkselection-x11.c (gdk_utf8_to_compound_text): correctly
interpret the return value of g_string_to_compound_text()
(#55152)
Diffstat (limited to 'gdk/x11')
-rw-r--r-- | gdk/x11/gdkselection-x11.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/x11/gdkselection-x11.c b/gdk/x11/gdkselection-x11.c index b52bf2f102..1b1e73553b 100644 --- a/gdk/x11/gdkselection-x11.c +++ b/gdk/x11/gdkselection-x11.c @@ -639,6 +639,7 @@ gdk_utf8_to_compound_text (const gchar *str, result = gdk_string_to_compound_text (locale_str, encoding, format, ctext, length); + result = (result == Success? TRUE : FALSE); g_free (locale_str); |