Fix cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).

Sun Apr 25 15:36:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
	cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
This commit is contained in:
Soeren Sandmann 2004-04-25 13:42:59 +00:00 committed by Søren Sandmann Pedersen
parent 3054d1d8c3
commit d20ae319fd
6 changed files with 28 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Sun Apr 25 15:36:02 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
2004-04-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
Patch to add support for string conversion callbacks to

View File

@ -1,3 +1,8 @@
Sun Apr 25 15:36:02 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
2004-04-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
Patch to add support for string conversion callbacks to

View File

@ -1,3 +1,8 @@
Sun Apr 25 15:36:02 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
2004-04-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
Patch to add support for string conversion callbacks to

View File

@ -1,3 +1,8 @@
Sun Apr 25 15:36:02 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
2004-04-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
Patch to add support for string conversion callbacks to

View File

@ -1,3 +1,8 @@
Sun Apr 25 15:36:02 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
2004-04-24 Theppitak Karoonboonyanan <thep@linux.thai.net>
Patch to add support for string conversion callbacks to

View File

@ -890,10 +890,10 @@ gtk_tool_button_set_label_widget (GtkToolButton *button,
{
if (button->priv->label_widget)
{
if (button->priv->icon_widget->parent)
if (button->priv->label_widget->parent)
{
gtk_container_remove (GTK_CONTAINER (button->priv->icon_widget->parent),
button->priv->icon_widget);
gtk_container_remove (GTK_CONTAINER (button->priv->label_widget->parent),
button->priv->label_widget);
}
g_object_unref (button->priv->label_widget);