From: John Darrington Date: Tue, 9 Dec 2008 01:33:09 +0000 (+0900) Subject: Removed that rather kludgy idle callback X-Git-Tag: v0.7.1~52 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c78141f0fd0e29f0b2c4b8822f760218709e4df;p=pspp-builds.git Removed that rather kludgy idle callback --- diff --git a/lib/gtksheet/gtksheet.c b/lib/gtksheet/gtksheet.c index 92dda55c..246e2d77 100644 --- a/lib/gtksheet/gtksheet.c +++ b/lib/gtksheet/gtksheet.c @@ -3116,15 +3116,19 @@ gtk_sheet_expose (GtkWidget *widget, draw_xor_rectangle (sheet, sheet->drag_range); } + } + + (* GTK_WIDGET_CLASS (parent_class)->expose_event) (widget, event); + + if (event->window == sheet->sheet_window) + { if ((!GTK_SHEET_IN_XDRAG (sheet)) && (!GTK_SHEET_IN_YDRAG (sheet))) { if (sheet->state == GTK_SHEET_NORMAL) - g_idle_add (gtk_sheet_draw_active_cell, sheet); + gtk_sheet_draw_active_cell (sheet); } } - (* GTK_WIDGET_CLASS (parent_class)->expose_event) (widget, event); - return FALSE; }