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

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);
         }
 
