From bfa3bb62acfb1496a028c4baa800b2d2c5b543f5 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 24 Nov 2008 15:50:34 +0900 Subject: [PATCH] Don't redraw buttons in size_allocate callback I've no idea why this was here but it is clearly wrong, and caused lots of annoying flicker. --- lib/gtksheet/gtksheet.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/gtksheet/gtksheet.c b/lib/gtksheet/gtksheet.c index e2dec4d9..e38b3895 100644 --- a/lib/gtksheet/gtksheet.c +++ b/lib/gtksheet/gtksheet.c @@ -2711,7 +2711,6 @@ gtk_sheet_show_active_cell (GtkSheet *sheet) gtk_widget_grab_focus (GTK_WIDGET (sheet_entry)); dispose_string (sheet, text); - } static void @@ -4432,9 +4431,6 @@ gtk_sheet_size_allocate (GtkWidget *widget, sheet->column_title_area.height); - /* column button allocation */ - draw_column_title_buttons (sheet); - /* position the window which holds the row title buttons */ sheet->row_title_area.x = 0; sheet->row_title_area.y = 0; @@ -4454,10 +4450,6 @@ gtk_sheet_size_allocate (GtkWidget *widget, sheet->row_title_area.height); - /* row button allocation */ - draw_row_title_buttons (sheet); - draw_column_title_buttons (sheet); - /* set the scrollbars adjustments */ adjust_scrollbars (sheet); } -- 2.30.2