[gtk+/wip/baedert/drawing: 308/355] popover: set the shape on the correct window
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 308/355] popover: set the shape on the correct window
- Date: Tue, 11 Jul 2017 16:54:13 +0000 (UTC)
commit 87ec7798292de36da58567fea70a18dc579c9827
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]