[gnome-settings-daemon] media-keys: the OSD window isn't a container



commit 463614b5df2fa3be45dfe1d6486ed507a9ddc06c
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Apr 16 17:32:23 2012 +0100

    media-keys: the OSD window isn't a container
    
    Anymore, so remove the code to do drawing propagation.

 plugins/media-keys/gsd-osd-window.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/plugins/media-keys/gsd-osd-window.c b/plugins/media-keys/gsd-osd-window.c
index d1f6780..d07f65d 100644
--- a/plugins/media-keys/gsd-osd-window.c
+++ b/plugins/media-keys/gsd-osd-window.c
@@ -467,17 +467,8 @@ static gboolean
 gsd_osd_window_draw (GtkWidget *widget,
                      cairo_t   *cr)
 {
-        GsdOsdWindow *window;
-        GtkWidget *child;
-
-        window = GSD_OSD_WINDOW (widget);
-
         draw_when_composited (widget, cr);
 
-        child = gtk_bin_get_child (GTK_BIN (window));
-        if (child)
-                gtk_container_propagate_draw (GTK_CONTAINER (window), child, cr);
-
         return FALSE;
 }
 



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