diff options
Diffstat (limited to 'gdk/gdkselection.c')
-rw-r--r-- | gdk/gdkselection.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gdk/gdkselection.c b/gdk/gdkselection.c index df501957f..4aecef886 100644 --- a/gdk/gdkselection.c +++ b/gdk/gdkselection.c @@ -32,6 +32,17 @@ gdk_selection_send_notify (guint32 requestor, target, property, time); } +gint +gdk_text_property_to_text_list (GdkAtom encoding, + gint format, + const guchar *text, + gint length, + gchar ***list) +{ + return gdk_text_property_to_text_list_for_display (gdk_display_get_default (), + encoding, format, text, length, list); +} + /** * gdk_text_property_to_utf8_list: * @encoding: an atom representing the encoding of the text @@ -58,6 +69,18 @@ gdk_text_property_to_utf8_list (GdkAtom encoding, encoding, format, text, length, list); } +gint +gdk_string_to_compound_text (const gchar *str, + GdkAtom *encoding, + gint *format, + guchar **ctext, + gint *length) +{ + return gdk_string_to_compound_text_for_display (gdk_display_get_default (), + str, encoding, format, + ctext, length); +} + /** * gdk_utf8_to_compound_text: * @str: a UTF-8 string |