Mercurial > cropper
diff 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 |
line wrap: on
line diff
--- a/callbacks.c Thu Mar 20 19:31:44 2008 +0100 +++ b/callbacks.c Thu Mar 20 20:01:38 2008 +0100 @@ -3,7 +3,6 @@ #include "main.h" #include "callbacks.h" -#include "interface.h" #include "support.h" int image_width; @@ -225,12 +224,12 @@ gtk_main_quit(); } -void on_cropper_window_create (GtkObject* object, gpointer user_data) { +void on_cropper_window_create(GtkObject* object, gpointer user_data) { image_width = gdk_pixbuf_get_width(image_buffer); image_height = gdk_pixbuf_get_height(image_buffer); } -void on_cropper_window_destroy (GtkObject* object, gpointer user_data) { +void on_cropper_window_destroy(GtkObject* object, gpointer user_data) { gtk_main_quit(); }