diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-07 13:37:03 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-07 13:37:03 -0400 |
| commit | 205cc9c2cf3fa99dbe9a95b60b5a46dcfb77fb0d (patch) | |
| tree | 2c07a7104ac27e3502c9795a30f39ab4ee7fc84b /new/container_unix.c | |
| parent | 5b929084f8b80409ee39d21ef80f562042807e0b (diff) | |
Fixed compilation issues. Now to implement uiButton on GTK+.
Diffstat (limited to 'new/container_unix.c')
| -rw-r--r-- | new/container_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new/container_unix.c b/new/container_unix.c index ab0298f..d961d02 100644 --- a/new/container_unix.c +++ b/new/container_unix.c @@ -39,7 +39,7 @@ static void uiContainer_size_allocate(GtkWidget *widget, GtkAllocation *allocati gtk_widget_set_allocation(widget, allocation); c = uiContainer(widget)->child; - (*(c->resize))(widget, allocation.x, allocation.y, allocation.width, allocation.height, &d); + (*(c->resize))(c, allocation->x, allocation->y, allocation->width, allocation->height, &d); } struct forall { @@ -51,7 +51,7 @@ static void doforall(gpointer obj, gpointer data) { struct forall *s = (struct forall *) data; - (*(s->callback))(uiContainer(obj), s->data); + (*(s->callback))(GTK_WIDGET(obj), s->data); } static void uiContainer_forall(GtkContainer *container, gboolean includeInternals, GtkCallback callback, gpointer data) |
