cropper

diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/main.c	Tue Dec 04 16:48:51 2007 +0100
     1.3 @@ -0,0 +1,36 @@
     1.4 +/*
     1.5 + * Initial main.c file generated by Glade. Edit as required.
     1.6 + * Glade will not overwrite this file.
     1.7 + */
     1.8 +
     1.9 +#ifdef HAVE_CONFIG_H
    1.10 +#  include <config.h>
    1.11 +#endif
    1.12 +
    1.13 +#include <gtk/gtk.h>
    1.14 +
    1.15 +#include "interface.h"
    1.16 +#include "support.h"
    1.17 +
    1.18 +int
    1.19 +main (int argc, char *argv[])
    1.20 +{
    1.21 +  GtkWidget *cropper_window;
    1.22 +
    1.23 +  gtk_set_locale ();
    1.24 +  gtk_init (&argc, &argv);
    1.25 +
    1.26 +  add_pixmap_directory ("/usr/share/pixmaps");
    1.27 +
    1.28 +  /*
    1.29 +   * The following code was added by Glade to create one of each component
    1.30 +   * (except popup menus), just so that you see something after building
    1.31 +   * the project. Delete any components that you don't want shown initially.
    1.32 +   */
    1.33 +  cropper_window = create_cropper_window ();
    1.34 +  gtk_widget_show (cropper_window);
    1.35 +
    1.36 +  gtk_main ();
    1.37 +  return 0;
    1.38 +}
    1.39 +