projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2864dd3
)
Removed that rather kludgy idle callback
author
John Darrington
<john@darrington.wattle.id.au>
Tue, 9 Dec 2008 01:33:09 +0000
(10:33 +0900)
committer
John Darrington
<john@darrington.wattle.id.au>
Tue, 9 Dec 2008 01:33:09 +0000
(10:33 +0900)
lib/gtksheet/gtksheet.c
patch
|
blob
|
history
diff --git
a/lib/gtksheet/gtksheet.c
b/lib/gtksheet/gtksheet.c
index 92dda55c0f1892b7de2dc7136b9c4438f11da922..246e2d77d8f87753e0af674d85eebea671c5d3c7 100644
(file)
--- 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);
+ g
tk_sheet_draw_active_cell (
sheet);
}
}
- (* GTK_WIDGET_CLASS (parent_class)->expose_event) (widget, event);
-
return FALSE;
}