Commit 2c32cdd8 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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
parent 0a91e760
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
......
......@@ -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:
{
......
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