diff options
Diffstat (limited to 'widgets/misc/test-charset-picker.c')
-rw-r--r-- | widgets/misc/test-charset-picker.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/widgets/misc/test-charset-picker.c b/widgets/misc/test-charset-picker.c new file mode 100644 index 0000000000..889bba2600 --- /dev/null +++ b/widgets/misc/test-charset-picker.c @@ -0,0 +1,18 @@ +#include <gnome.h> +#include "e-charset-picker.h" + +int +main (int argc, char **argv) +{ + char *charset; + + gnome_init ("test-charset-picker", "1.0", argc, argv); + + charset = e_charset_picker_dialog ("test-charset-picker", + "Pick a charset, any charset", + NULL, NULL); + if (charset) + printf ("You picked: %s\n", charset); + + return 0; +} |