From 2eb39a3b7ab217e8e9adac9625264c21ae5fca04 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 17 Jul 2015 18:47:39 -0400 Subject: [PATCH] inspector: Remove some dead code Not sure what I was thinking here. Coverity pointed this out. --- gtk/inspector/prop-list.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gtk/inspector/prop-list.c b/gtk/inspector/prop-list.c index 7a5aa72028..e265195ea6 100644 --- a/gtk/inspector/prop-list.c +++ b/gtk/inspector/prop-list.c @@ -393,12 +393,6 @@ gtk_inspector_prop_list_set_object (GtkInspectorPropList *pl, cleanup_object (pl); - if (!object) - { - gtk_widget_hide (GTK_WIDGET (pl)); - return TRUE; - } - title = (const gchar *)g_object_get_data (object, "gtk-inspector-object-title"); gtk_label_set_label (GTK_LABEL (pl->priv->object_title), title);