don't attempt to add a NULL icon to the box.

Sat Jul 19 16:26:02 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
	attempt to add a NULL icon to the box.
This commit is contained in:
Soeren Sandmann 2003-07-19 14:10:48 +00:00 committed by Søren Sandmann Pedersen
parent 52de946c3d
commit 27f361c238
6 changed files with 27 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
attempt to add a NULL icon to the box.
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs

View File

@ -1,3 +1,8 @@
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
attempt to add a NULL icon to the box.
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs

View File

@ -1,3 +1,8 @@
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
attempt to add a NULL icon to the box.
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs

View File

@ -1,3 +1,8 @@
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
attempt to add a NULL icon to the box.
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs

View File

@ -1,3 +1,8 @@
Sat Jul 19 16:26:02 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
attempt to add a NULL icon to the box.
Sat Jul 19 12:13:20 2003 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs

View File

@ -353,6 +353,7 @@ gtk_tool_button_construct_contents (GtkToolItem *tool_item)
case GTK_TOOLBAR_BOTH:
box = gtk_vbox_new (FALSE, 0);
if (icon)
gtk_box_pack_start (GTK_BOX (box), icon, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (box), label, FALSE, TRUE, 0);
gtk_container_add (GTK_CONTAINER (button->priv->button), box);