Commit 5c71539c authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Handle TOGGLE/RADIOBUTTON as well. (#68201, Damon Chaplin.)

Tue Jan  8 18:04:01 2002  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
	Handle TOGGLE/RADIOBUTTON as well. (#68201,
	Damon Chaplin.)

	* gtk/gtktoolbar.c (get_first_child): Fix stupid
	bug, just introduced.
parent cc605cf5
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
Handle TOGGLE/RADIOBUTTON as well. (#68201,
Damon Chaplin.)
* gtk/gtktoolbar.c (get_first_child): Fix stupid
bug, just introduced.
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
 
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
......
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
Handle TOGGLE/RADIOBUTTON as well. (#68201,
Damon Chaplin.)
* gtk/gtktoolbar.c (get_first_child): Fix stupid
bug, just introduced.
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
 
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
......
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
Handle TOGGLE/RADIOBUTTON as well. (#68201,
Damon Chaplin.)
* gtk/gtktoolbar.c (get_first_child): Fix stupid
bug, just introduced.
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
 
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
......
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
Handle TOGGLE/RADIOBUTTON as well. (#68201,
Damon Chaplin.)
* gtk/gtktoolbar.c (get_first_child): Fix stupid
bug, just introduced.
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
 
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
......
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
Handle TOGGLE/RADIOBUTTON as well. (#68201,
Damon Chaplin.)
* gtk/gtktoolbar.c (get_first_child): Fix stupid
bug, just introduced.
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
 
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
......
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
Handle TOGGLE/RADIOBUTTON as well. (#68201,
Damon Chaplin.)
* gtk/gtktoolbar.c (get_first_child): Fix stupid
bug, just introduced.
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
 
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
......
Tue Jan 8 18:04:01 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size):
Handle TOGGLE/RADIOBUTTON as well. (#68201,
Damon Chaplin.)
* gtk/gtktoolbar.c (get_first_child): Fix stupid
bug, just introduced.
Tue Jan 8 15:53:28 2002 Owen Taylor <otaylor@redhat.com>
 
* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
......
......@@ -981,7 +981,9 @@ gtk_toolbar_set_icon_size (GtkToolbar *toolbar,
for (children = toolbar->children; children; children = children->next)
{
child = children->data;
if (child->type == GTK_TOOLBAR_CHILD_BUTTON &&
if ((child->type == GTK_TOOLBAR_CHILD_BUTTON ||
child->type == GTK_TOOLBAR_CHILD_TOGGLEBUTTON ||
child->type == GTK_TOOLBAR_CHILD_RADIOBUTTON) &&
GTK_IS_IMAGE (child->icon))
{
image = GTK_IMAGE (child->icon);
......@@ -1605,7 +1607,7 @@ gtk_real_toolbar_orientation_changed (GtkToolbar *toolbar,
static GtkWidget *
get_first_child (GtkContainer *container)
{
GList *children = gtk_container_get_children (children);
GList *children = gtk_container_get_children (container);
GtkWidget *result = children ? children->data : NULL;
g_list_free (children);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment