summaryrefslogtreecommitdiff
path: root/gtk/gtkclist.c
diff options
context:
space:
mode:
authorAlexander Larsson <alla@lysator.liu.se>2001-08-27 01:05:07 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-08-27 01:05:07 +0000
commitf9e666244fb25940b113cd35dbed18d0f75c4f44 (patch)
treea7647e917586f524dba60b1bed78054c1e21fef4 /gtk/gtkclist.c
parent8d00215d9ed8a40f17fa6658bc30520b2fc8d03d (diff)
downloadgtk+-f9e666244fb25940b113cd35dbed18d0f75c4f44.tar.gz
Add properties for labels, mnemonics and stock items. Added C accessor
2001-08-26 Alexander Larsson <alla@lysator.liu.se> * gtk/gtkbutton.[ch]: Add properties for labels, mnemonics and stock items. Added C accessor functions for the properties. Removed deprecated button->child. * gtk/gtkradiobutton.c: * gtk/gtktogglebutton.c: Update to use the functions in GtkButton. * gtk/gtkcheckbutton.c: Update to use the functions in GtkButton. Changed size allocation of child. Now only gets as much space as it requests. * gtk/gtkclist.c: Don't use GtkButton->child * gtk/gtklabel.c: Fixed typo in docs
Diffstat (limited to 'gtk/gtkclist.c')
-rw-r--r--gtk/gtkclist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c
index 822430d67d..1e51268acd 100644
--- a/gtk/gtkclist.c
+++ b/gtk/gtkclist.c
@@ -1572,7 +1572,7 @@ gtk_clist_get_column_widget (GtkCList *clist,
return NULL;
if (clist->column[column].button)
- return GTK_BUTTON (clist->column[column].button)->child;
+ return GTK_BIN (clist->column[column].button)->child;
return NULL;
}