[gtk+] inspector: Remove some dead code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] inspector: Remove some dead code
- Date: Fri, 17 Jul 2015 23:25:11 +0000 (UTC)
commit 2eb39a3b7ab217e8e9adac9625264c21ae5fca04
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 17 18:47:39 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 7a5aa72..e265195 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]