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:
fac56c3
)
Remove extraneous code moving sheet adjustments on updates
author
John Darrington
<john@darrington.wattle.id.au>
Tue, 2 Dec 2008 10:03:12 +0000
(19:03 +0900)
committer
John Darrington
<john@darrington.wattle.id.au>
Tue, 2 Dec 2008 10:03:12 +0000
(19:03 +0900)
lib/gtksheet/gtksheet.c
patch
|
blob
|
history
diff --git
a/lib/gtksheet/gtksheet.c
b/lib/gtksheet/gtksheet.c
index e8ca1658c24ae26c835bdb29c81d873c2a472f8b..db91026f46cbdd9e8495e97bbbb859d806ede716 100644
(file)
--- a/
lib/gtksheet/gtksheet.c
+++ b/
lib/gtksheet/gtksheet.c
@@
-1161,13
+1161,6
@@
range_update_callback (GSheetModel *m, gint row0, gint col0,
if ( !GTK_WIDGET_REALIZED (GTK_WIDGET (sheet)))
return;
- if ( max_visible_row (sheet) > g_sheet_model_get_row_count (sheet->model)
- ||
- max_visible_column (sheet) > g_sheet_model_get_column_count (sheet->model))
- {
- gtk_sheet_moveto (sheet, 0, 0, 0, 0);
- }
-
if ( ( row0 < 0 && col0 < 0 ) || ( rowi < 0 && coli < 0 ) )
{
gtk_sheet_range_draw (sheet, NULL);