diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-03 02:13:16 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-03 02:13:16 +0800 |
commit | 3b88e97ddc7011d3b97f059c4b7c2b0c0fa44851 (patch) | |
tree | 27c03966a7b5793f463765383f39cf1b73c1f4e6 /widgets/misc/test-charset-picker.c | |
parent | e232ded38af4bfba708f2d405bf0c1c849872054 (diff) | |
download | gsoc2013-evolution-3b88e97ddc7011d3b97f059c4b7c2b0c0fa44851.tar gsoc2013-evolution-3b88e97ddc7011d3b97f059c4b7c2b0c0fa44851.tar.gz gsoc2013-evolution-3b88e97ddc7011d3b97f059c4b7c2b0c0fa44851.tar.bz2 gsoc2013-evolution-3b88e97ddc7011d3b97f059c4b7c2b0c0fa44851.tar.lz gsoc2013-evolution-3b88e97ddc7011d3b97f059c4b7c2b0c0fa44851.tar.xz gsoc2013-evolution-3b88e97ddc7011d3b97f059c4b7c2b0c0fa44851.tar.zst gsoc2013-evolution-3b88e97ddc7011d3b97f059c4b7c2b0c0fa44851.zip |
Updated to build e-charset-picker.c
2001-07-02 Jeffrey Stedfast <fejj@ximian.com>
* Makefile.am: Updated to build e-charset-picker.c
* e-charset-picker.[c,h]: Moved here from gal.
(e_charset_picker_bonobo_ui_populate): New function to populate a
bonobo-ui with a charset picker menu.
svn path=/trunk/; revision=10687
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; +} |