Mercurial > cropper
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:ca9155129253 |
---|---|
1 /* | |
2 * Initial main.c file generated by Glade. Edit as required. | |
3 * Glade will not overwrite this file. | |
4 */ | |
5 | |
6 #ifdef HAVE_CONFIG_H | |
7 # include <config.h> | |
8 #endif | |
9 | |
10 #include <gtk/gtk.h> | |
11 | |
12 #include "interface.h" | |
13 #include "support.h" | |
14 | |
15 int | |
16 main (int argc, char *argv[]) | |
17 { | |
18 GtkWidget *cropper_window; | |
19 | |
20 gtk_set_locale (); | |
21 gtk_init (&argc, &argv); | |
22 | |
23 add_pixmap_directory ("/usr/share/pixmaps"); | |
24 | |
25 /* | |
26 * The following code was added by Glade to create one of each component | |
27 * (except popup menus), just so that you see something after building | |
28 * the project. Delete any components that you don't want shown initially. | |
29 */ | |
30 cropper_window = create_cropper_window (); | |
31 gtk_widget_show (cropper_window); | |
32 | |
33 gtk_main (); | |
34 return 0; | |
35 } | |
36 |