X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-text-utils.h;h=3b27aa985bfddd2824f6cc649028b144e32f4877;hp=7944dbed079f05ffcfe5763e3125b23c4367cac8;hb=d27a0a29347366d5421e7e796eca4655ef0d095a;hpb=d55173872ae04706c674a3ccae30867c6473ba33 diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index 7944dbe..3b27aa9 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -37,6 +37,7 @@ #include #include #include +#include #define _FM(str) dgettext("hildon-fm",str) #define _CS(str) dgettext("hildon-common-strings",str) @@ -412,6 +413,15 @@ typedef enum { USER_NAME_FORBIDDEN_NAMES, } ModestTextUtilsForbiddenCharType; +/** + * modest_text_utils_label_get_selection: + * @label: a #GtkLabel + * + * Obtain the current selection of @label + * + * Returns: a string with current selection, or %NULL if no selection in @label + */ +gchar * modest_text_utils_label_get_selection (GtkLabel *label); /** * modest_text_utils_is_forbidden_char: