[gtk+/gtk-3-14] inspector: Remove some dead code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] inspector: Remove some dead code
- Date: Fri, 17 Jul 2015 23:44:25 +0000 (UTC)
commit f7e20e917f0bf888ea8b10939f158e14daf51b27
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 17 19:29:25 2015 -0400
inspector: Remove some dead code
Not sure what I was thinking here. Coverity pointed this out.
gtk/inspector/prop-list.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/gtk/inspector/prop-list.c b/gtk/inspector/prop-list.c
index 1399777..9202cb5 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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]