diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-13 23:37:54 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-13 23:37:54 -0400 |
| commit | de22660ae46b1b8054d37af9150081752b023e16 (patch) | |
| tree | 9c4abf05ca7ee7513f6fd68a362065654959a4a5 /redo/container_unix.c | |
| parent | 9cad7bf60b60daab0145fc7c1f11ede9cb00e1fd (diff) | |
Integrated the custom GTK+ container. Woo! Now to do minor fixups...
Diffstat (limited to 'redo/container_unix.c')
| -rw-r--r-- | redo/container_unix.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/redo/container_unix.c b/redo/container_unix.c index 4fae714..15a2ecb 100644 --- a/redo/container_unix.c +++ b/redo/container_unix.c @@ -33,7 +33,7 @@ static void goContainer_init(goContainer *c) static void goContainer_dispose(GObject *obj) { - g_ptr_array_unref(c->children); + g_ptr_array_unref(GOCONTAINER(obj)->children); G_OBJECT_CLASS(goContainer_parent_class)->dispose(obj); } @@ -58,7 +58,7 @@ static void goContainer_remove(GtkContainer *container, GtkWidget *widget) static void goContainer_size_allocate(GtkWidget *widget, GtkAllocation *allocation) { gtk_widget_set_allocation(widget, allocation); - containerResized(GOCONTAINER(widget)->gocontainer, allocation); + containerResizing(GOCONTAINER(widget)->gocontainer, allocation); } /* @@ -105,9 +105,9 @@ static void goContainer_class_init(goContainerClass *class) GTK_CONTAINER_CLASS(class)->forall = goContainer_forall; } -GtkWidget *newContainer(void *gocontianer) +GtkWidget *newContainer(void *gocontainer) { - GoContainer *c; + goContainer *c; c = (goContainer *) g_object_new(GOCONTAINER_TYPE, NULL); c->gocontainer = gocontainer; |
