summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/roi.c b/roi.c
index 41c80a8..fa084eb 100644
--- a/roi.c
+++ b/roi.c
@@ -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 |