2011-05-11 13:48:21 +00:00
|
|
|
/* testfontchooserdialog.c
|
|
|
|
* Copyright (C) 2011 Alberto Ruiz <aruiz@gnome.org>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
|
|
|
int
|
|
|
|
main (int argc, char *argv[])
|
|
|
|
{
|
2011-07-27 23:22:22 +00:00
|
|
|
GtkWidget *window;
|
2011-05-11 13:48:21 +00:00
|
|
|
|
|
|
|
gtk_init (&argc, &argv);
|
|
|
|
|
2011-07-27 23:22:22 +00:00
|
|
|
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
|
|
|
gtk_container_add (GTK_CONTAINER (window), gtk_font_button_new ());
|
|
|
|
gtk_widget_show_all (window);
|
2011-05-11 13:48:21 +00:00
|
|
|
|
2011-07-27 23:22:22 +00:00
|
|
|
gtk_main ();
|
2011-08-09 00:02:55 +00:00
|
|
|
|
2011-05-11 13:48:21 +00:00
|
|
|
return 0;
|
|
|
|
}
|