[gnome-power-manager] Ensure the window is realized before we invalidate it. Fixes #604918
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Ensure the window is realized before we invalidate it. Fixes #604918
- Date: Tue, 19 Jan 2010 10:18:48 +0000 (UTC)
commit e8f0ae3ce9f1bc405a4b5df81c3bfdf3372b38d0
Author: Richard Hughes <richard hughsie com>
Date: Tue Jan 19 10:16:40 2010 +0000
Ensure the window is realized before we invalidate it. Fixes #604918
src/gsd-media-keys-window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gsd-media-keys-window.c b/src/gsd-media-keys-window.c
index 3038885..f1206d1 100644
--- a/src/gsd-media-keys-window.c
+++ b/src/gsd-media-keys-window.c
@@ -81,6 +81,7 @@ fade_timeout (GsdMediaKeysWindow *window)
rect.width = allocation.width;
rect.height = allocation.height;
+ gtk_widget_realize (win);
gdk_window_invalidate_rect (gtk_widget_get_window (win), &rect, FALSE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]