removed redundant conditional.

2008-10-30  Sven Neumann  <sven@gimp.org>

	* gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
	conditional.


svn path=/trunk/; revision=21731
This commit is contained in:
Sven Neumann 2008-10-30 15:04:38 +00:00 committed by Sven Neumann
parent 0a91e7600e
commit 2c32cdd893
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2008-10-30 Sven Neumann <sven@gimp.org>
* gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
conditional.
2008-10-30 Christian Dywan <christian@imendio.com>
Bug 557316 GtkLinkButton should consider user-defined tooltip

View File

@ -2542,10 +2542,7 @@ gtk_widget_get_property (GObject *object,
g_value_set_static_string (value, "");
break;
case PROP_PARENT:
if (widget->parent)
g_value_set_object (value, widget->parent);
else
g_value_set_object (value, NULL);
g_value_set_object (value, widget->parent);
break;
case PROP_WIDTH_REQUEST:
{