gtk+ r21731 - in trunk: . gtk
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21731 - in trunk: . gtk
- Date: Thu, 30 Oct 2008 15:04:38 +0000 (UTC)
Author: neo
Date: Thu Oct 30 15:04:38 2008
New Revision: 21731
URL: http://svn.gnome.org/viewvc/gtk+?rev=21731&view=rev
Log:
2008-10-30 Sven Neumann <sven gimp org>
* gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
conditional.
Modified:
trunk/ChangeLog
trunk/gtk/gtkwidget.c
Modified: trunk/gtk/gtkwidget.c
==============================================================================
--- trunk/gtk/gtkwidget.c (original)
+++ trunk/gtk/gtkwidget.c Thu Oct 30 15:04:38 2008
@@ -2542,10 +2542,7 @@
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:
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]