summaryrefslogtreecommitdiff
path: root/gtk/gtkcontainer.c
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1998-01-21 23:03:11 +0000
committerTim Janik <timj@src.gnome.org>1998-01-21 23:03:11 +0000
commitfb48f5a356464ee613d206c843c4311023d73460 (patch)
tree714446cdbbdd086d00b9d50ea0f5efe0d90a693b /gtk/gtkcontainer.c
parentb2140a2322144c22fa195dce790c5130f0d4c6b7 (diff)
downloadgtk+-fb48f5a356464ee613d206c843c4311023d73460.tar.gz
some gtk_*_set_arg fixes
-timj
Diffstat (limited to 'gtk/gtkcontainer.c')
-rw-r--r--gtk/gtkcontainer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index 1fbfa1aacd..eff9781c7b 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -229,6 +229,9 @@ gtk_container_set_arg (GtkContainer *container,
case ARG_CHILD:
gtk_container_add (container, GTK_WIDGET (GTK_VALUE_OBJECT (*arg)));
break;
+ default:
+ arg->type = GTK_TYPE_INVALID;
+ break;
}
}
@@ -250,6 +253,7 @@ gtk_container_get_arg (GtkContainer *container,
break;
default:
arg->type = GTK_TYPE_INVALID;
+ break;
}
}