[eog] Pass a cairo context to gtk_paint_focus()



commit c976adaa1322140ebb8d33d5be379ed47a45c4e5
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Tue Sep 28 16:02:16 2010 +0300

    Pass a cairo context to gtk_paint_focus()

 src/eog-print-preview.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/eog-print-preview.c b/src/eog-print-preview.c
index 0d49fdd..0582d26 100644
--- a/src/eog-print-preview.c
+++ b/src/eog-print-preview.c
@@ -1053,8 +1053,8 @@ eog_print_preview_draw (EogPrintPreview *preview, cairo_t *cr)
 	}
 
 	if (has_focus) {
-		gtk_paint_focus (style, gtk_widget_get_window (area),
-				 GTK_STATE_NORMAL, NULL, NULL, NULL,
+		gtk_paint_focus (style, cr,
+				 GTK_STATE_NORMAL, NULL, NULL,
 				 0, 0, allocation.width, allocation.height);
 	}
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]