[gtk+/refactor: 94/96] gtk/gtkalignment.c: use accessor functions to access GtkWidget
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/refactor: 94/96] gtk/gtkalignment.c: use accessor functions to access GtkWidget
- Date: Sat, 14 Aug 2010 17:38:08 +0000 (UTC)
commit 5d929e5f4eb1d6f3df84e75d68f1f78eea6b8e71
Author: Javier Jardón <jjardon gnome org>
Date: Wed Aug 11 23:19:15 2010 +0200
gtk/gtkalignment.c: use accessor functions to access GtkWidget
gtk/gtkalignment.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index d36da48..2e3a8bb 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -496,7 +496,7 @@ gtk_alignment_size_allocate (GtkWidget *widget,
padding_horizontal = 0;
padding_vertical = 0;
- widget->allocation = *allocation;
+ gtk_widget_set_allocation (widget, allocation);
bin = GTK_BIN (widget);
bin_child = gtk_bin_get_child (bin);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]