[gtk+/wip/baedert/drawing: 311/348] popover: set the shape on the correct window



commit b4db1782ab6e787cba96f1614bce95421246c8a6
Author: Timm Bäder <mail baedert org>
Date:   Wed Jun 28 16:19:22 2017 +0200

    popover: set the shape on the correct window
    
    the parent window is now the toplevel's window.

 gtk/gtkpopover.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c
index 05cbacb..43d41a6 100644
--- a/gtk/gtkpopover.c
+++ b/gtk/gtkpopover.c
@@ -970,7 +970,7 @@ gtk_popover_update_shape (GtkPopover *popover)
   gtk_widget_shape_combine_region (widget, region);
   cairo_region_destroy (region);
 
-  gdk_window_set_child_shapes (gtk_widget_get_parent_window (widget));
+  gdk_window_set_child_shapes (gtk_widget_get_window (widget));
 }
 
 static void


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