summaryrefslogtreecommitdiff
path: root/gtk/gtklist.c
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1998-06-16 05:20:05 +0000
committerTim Janik <timj@src.gnome.org>1998-06-16 05:20:05 +0000
commit742d01908f754f9473e6a7993276c3aee060d1ec (patch)
treebfeef446f36bd92a51a6fa3ccd671ec706b0b9c4 /gtk/gtklist.c
parentd36df18dee814c690fd5736729ea54175b3be628 (diff)
downloadgtk+-742d01908f754f9473e6a7993276c3aee060d1ec.tar.gz
boy! did i really modify that many files?
anyways, here go the child args and a lot of cleanups ;) you wouldn't want me to put the ChangeLog entry in here, would you?
Diffstat (limited to 'gtk/gtklist.c')
-rw-r--r--gtk/gtklist.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtklist.c b/gtk/gtklist.c
index 9300b7765f..fcba63c2fc 100644
--- a/gtk/gtklist.c
+++ b/gtk/gtklist.c
@@ -73,6 +73,7 @@ static void gtk_list_marshal_signal (GtkObject *object,
GtkSignalFunc func,
gpointer func_data,
GtkArg *args);
+static GtkType gtk_list_child_type (GtkContainer *container);
static GtkContainerClass *parent_class = NULL;
@@ -159,12 +160,19 @@ gtk_list_class_init (GtkListClass *class)
container_class->add = gtk_list_add;
container_class->remove = gtk_list_remove;
container_class->foreach = gtk_list_foreach;
+ container_class->child_type = gtk_list_child_type;
class->selection_changed = NULL;
class->select_child = gtk_real_list_select_child;
class->unselect_child = gtk_real_list_unselect_child;
}
+static GtkType
+gtk_list_child_type (GtkContainer *container)
+{
+ return GTK_TYPE_LIST_ITEM;
+}
+
static void
gtk_list_init (GtkList *list)
{