[eog] Remove call to gdk_window_clear()
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Remove call to gdk_window_clear()
- Date: Tue, 28 Sep 2010 13:16:40 +0000 (UTC)
commit 8be6bfaa2f41e5ffd798f5c96e012ff286d0b31a
Author: Claudio Saavedra <csaavedra igalia com>
Date: Tue Sep 28 16:15:49 2010 +0300
Remove call to gdk_window_clear()
This doesn't exist anymore, and it's not needed, since the surface is
clean before ::draw is emitted.
src/eog-scroll-view.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/eog-scroll-view.c b/src/eog-scroll-view.c
index 69b48b5..850e224 100644
--- a/src/eog-scroll-view.c
+++ b/src/eog-scroll-view.c
@@ -2328,9 +2328,6 @@ eog_scroll_view_set_image (EogScrollView *view, EogImage *image)
if (priv->image != NULL) {
free_image_resources (view);
- if (gtk_widget_is_drawable (priv->display) && image == NULL) {
- gdk_window_clear (gtk_widget_get_window (priv->display));
- }
}
g_assert (priv->image == NULL);
g_assert (priv->pixbuf == NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]