[gtk+/wip/baedert/drawing: 146/359] icon: Only draw in content allocation
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 146/359] icon: Only draw in content allocation
- Date: Thu, 13 Jul 2017 14:40:03 +0000 (UTC)
commit f21c91007e756b8459207036e0dbb1f5b958beb5
Author: Timm Bäder <mail baedert org>
Date: Wed May 10 21:22:21 2017 +0200
icon: Only draw in content allocation
gtk/gtkicon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkicon.c b/gtk/gtkicon.c
index c8c0c6e..691f7ad 100644
--- a/gtk/gtkicon.c
+++ b/gtk/gtkicon.c
@@ -47,7 +47,7 @@ gtk_icon_snapshot (GtkWidget *widget,
GtkCssStyle *style = gtk_css_node_get_style (gtk_widget_get_css_node (widget));
GtkAllocation alloc;
- gtk_widget_get_allocation (widget, &alloc);
+ gtk_widget_get_content_allocation (widget, &alloc);
gtk_css_style_snapshot_icon (style,
snapshot,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]