[gtk+/wip/baedert/drawing: 116/147] 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: 116/147] icon: Only draw in content allocation
- Date: Thu, 18 May 2017 11:07:11 +0000 (UTC)
commit 29afcc1bfed3b932622a8a97937a681926443805
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]