comparison callbacks.c @ 9:7e1cf00de1df

completely refactored makefile; removed interface.h
author meillo@marmaro.de
date Thu, 20 Mar 2008 20:01:38 +0100
parents b0824876d379
children 5e282003f0c1
comparison
equal deleted inserted replaced
8:b0824876d379 9:7e1cf00de1df
1 #include <gtk/gtk.h> 1 #include <gtk/gtk.h>
2 #include <gdk-pixbuf/gdk-pixbuf.h> 2 #include <gdk-pixbuf/gdk-pixbuf.h>
3 3
4 #include "main.h" 4 #include "main.h"
5 #include "callbacks.h" 5 #include "callbacks.h"
6 #include "interface.h"
7 #include "support.h" 6 #include "support.h"
8 7
9 int image_width; 8 int image_width;
10 int image_height; 9 int image_height;
11 float inc = 0.1; 10 float inc = 0.1;
223 ); 222 );
224 system(crop_call); 223 system(crop_call);
225 gtk_main_quit(); 224 gtk_main_quit();
226 } 225 }
227 226
228 void on_cropper_window_create (GtkObject* object, gpointer user_data) { 227 void on_cropper_window_create(GtkObject* object, gpointer user_data) {
229 image_width = gdk_pixbuf_get_width(image_buffer); 228 image_width = gdk_pixbuf_get_width(image_buffer);
230 image_height = gdk_pixbuf_get_height(image_buffer); 229 image_height = gdk_pixbuf_get_height(image_buffer);
231 } 230 }
232 231
233 void on_cropper_window_destroy (GtkObject* object, gpointer user_data) { 232 void on_cropper_window_destroy(GtkObject* object, gpointer user_data) {
234 gtk_main_quit(); 233 gtk_main_quit();
235 } 234 }
236 235