mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
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>
|
2008-10-30 Christian Dywan <christian@imendio.com>
|
||||||
|
|
||||||
Bug 557316 – GtkLinkButton should consider user-defined tooltip
|
Bug 557316 – GtkLinkButton should consider user-defined tooltip
|
||||||
|
@ -2542,10 +2542,7 @@ gtk_widget_get_property (GObject *object,
|
|||||||
g_value_set_static_string (value, "");
|
g_value_set_static_string (value, "");
|
||||||
break;
|
break;
|
||||||
case PROP_PARENT:
|
case PROP_PARENT:
|
||||||
if (widget->parent)
|
g_value_set_object (value, widget->parent);
|
||||||
g_value_set_object (value, widget->parent);
|
|
||||||
else
|
|
||||||
g_value_set_object (value, NULL);
|
|
||||||
break;
|
break;
|
||||||
case PROP_WIDTH_REQUEST:
|
case PROP_WIDTH_REQUEST:
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user