forked from AuroraMiddleware/gtk
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:
parent
0a91e7600e
commit
2c32cdd893
@ -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
|
||||
|
@ -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:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user