[gtk+/refactor: 79/110] 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: 79/110] gtk/gtkalignment.c: use accessor functions to access GtkWidget
- Date: Sun, 22 Aug 2010 18:32:31 +0000 (UTC)
commit fd149ed7ebf9a9e9cd6d984e0e2d369470f632a8
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]