Fixed bug #21073
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 27 Feb 2008 02:38:19 +0000 (02:38 +0000)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 27 Feb 2008 02:38:19 +0000 (02:38 +0000)
lib/gtksheet/ChangeLog
lib/gtksheet/gtksheet.c

index 1d420489d8449662e43973549652d2eb94b4b0c0..e6558bc80e8ba6e17e1bef28a363088c7cb8d179 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-27 John Darrington <john@darrington.wattle.id.au>
+       * gtksheet.c: (gtk_sheet_expose) Don't queue a redraw on the entry
+       widget.  Fixes bug #21073
+
 2008-02-20 John Darrington <john@darrington.wattle.id.au>
 
        * gtksheet.c gtksheet.h: Removed some unused signals.
index 0e91dd0cb4ddbc661deff15c925f748c61e16355..c126bd5eb92bfba7577c9ec5d2b82d4e56e46aa0 100644 (file)
@@ -4574,11 +4574,7 @@ gtk_sheet_expose (GtkWidget * widget,
          if ((!GTK_SHEET_IN_XDRAG (sheet)) && (!GTK_SHEET_IN_YDRAG (sheet)))
            {
              if (sheet->state == GTK_SHEET_NORMAL)
-               {
-                 gtk_sheet_draw_active_cell (sheet);
-                 if (!GTK_SHEET_IN_SELECTION (sheet))
-                   gtk_widget_queue_draw (sheet->sheet_entry);
-               }
+               gtk_sheet_draw_active_cell (sheet);
            }
        }
     }