summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-07-17 19:29:25 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-07-17 19:29:25 -0400
commitf7e20e917f0bf888ea8b10939f158e14daf51b27 (patch)
treefa046f151028e57a38716dcf1c77d91d1ccfa473
parentea5d79d1fdce6468542d5071d4fe032c309da14f (diff)
downloadgtk+-f7e20e917f0bf888ea8b10939f158e14daf51b27.tar.gz
inspector: Remove some dead code
Not sure what I was thinking here. Coverity pointed this out.
-rw-r--r--gtk/inspector/prop-list.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gtk/inspector/prop-list.c b/gtk/inspector/prop-list.c
index 139977748e..9202cb5163 100644
--- a/gtk/inspector/prop-list.c
+++ b/gtk/inspector/prop-list.c
@@ -339,12 +339,6 @@ gtk_inspector_prop_list_set_object (GtkInspectorPropList *pl,
cleanup_object (pl);
- if (!object)
- {
- gtk_widget_hide (GTK_WIDGET (pl));
- return TRUE;
- }
-
if (pl->priv->child_properties)
{
GtkWidget *parent;