diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-03-31 16:22:29 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2012-03-31 16:22:29 +0200 |
commit | b23c74df7b062dff078cf1368de201cea6d113d8 (patch) | |
tree | 4d9d9089688e1dac3fd6c6414b2af57b1517dd43 | |
parent | 047b59a2cc6c646d753168e8e26ea1c31c3e9919 (diff) | |
download | cv-b23c74df7b062dff078cf1368de201cea6d113d8.tar.gz cv-b23c74df7b062dff078cf1368de201cea6d113d8.tar.bz2 cv-b23c74df7b062dff078cf1368de201cea6d113d8.zip |
roi: The configure-event is not yet needed
-rw-r--r-- | roi.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -193,12 +193,6 @@ key_event(GtkWidget *widget, GdkEventKey *event, gpointer userdata) } } -static gboolean -configure_event(GtkWidget *widget, GdkEventConfigure *event, gpointer data) -{ - return FALSE; -} - static void draw_rubberband(struct roi *roi, GtkWidget *widget, cairo_t *cr) { @@ -253,8 +247,6 @@ main(int argc, char *argv[]) G_CALLBACK(gtk_main_quit), NULL); g_signal_connect(G_OBJECT(roi.drawing_area), "draw", G_CALLBACK(draw_cb), &roi); - g_signal_connect(G_OBJECT(roi.drawing_area), "configure-event", - G_CALLBACK(configure_event), &roi); gtk_widget_set_events(roi.drawing_area, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | |