Files
evolution/widgets/misc/test-charset-picker.c
Jeffrey Stedfast 3b88e97ddc 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
2001-07-02 18:13:16 +00:00

19 lines
346 B
C

#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;
}