cropper
annotate main.c @ 0:ca9155129253
initial commit
code base: gthumb_crop.glade and generated code from it with glade
author | meillo@marmaro.de |
---|---|
date | Tue, 04 Dec 2007 16:48:51 +0100 |
parents | |
children | 80535e4deaa4 |
rev | line source |
---|---|
meillo@0 | 1 /* |
meillo@0 | 2 * Initial main.c file generated by Glade. Edit as required. |
meillo@0 | 3 * Glade will not overwrite this file. |
meillo@0 | 4 */ |
meillo@0 | 5 |
meillo@0 | 6 #ifdef HAVE_CONFIG_H |
meillo@0 | 7 # include <config.h> |
meillo@0 | 8 #endif |
meillo@0 | 9 |
meillo@0 | 10 #include <gtk/gtk.h> |
meillo@0 | 11 |
meillo@0 | 12 #include "interface.h" |
meillo@0 | 13 #include "support.h" |
meillo@0 | 14 |
meillo@0 | 15 int |
meillo@0 | 16 main (int argc, char *argv[]) |
meillo@0 | 17 { |
meillo@0 | 18 GtkWidget *cropper_window; |
meillo@0 | 19 |
meillo@0 | 20 gtk_set_locale (); |
meillo@0 | 21 gtk_init (&argc, &argv); |
meillo@0 | 22 |
meillo@0 | 23 add_pixmap_directory ("/usr/share/pixmaps"); |
meillo@0 | 24 |
meillo@0 | 25 /* |
meillo@0 | 26 * The following code was added by Glade to create one of each component |
meillo@0 | 27 * (except popup menus), just so that you see something after building |
meillo@0 | 28 * the project. Delete any components that you don't want shown initially. |
meillo@0 | 29 */ |
meillo@0 | 30 cropper_window = create_cropper_window (); |
meillo@0 | 31 gtk_widget_show (cropper_window); |
meillo@0 | 32 |
meillo@0 | 33 gtk_main (); |
meillo@0 | 34 return 0; |
meillo@0 | 35 } |
meillo@0 | 36 |