[network-manager-applet/NMA_0_8] editor: remove annoying warning about registered treeviews



commit c88bcc289230ff5ffd11259c358d25184aaa68b8
Author: Dan Williams <dcbw redhat com>
Date:   Tue Aug 3 17:04:45 2010 -0700

    editor: remove annoying warning about registered treeviews

 src/connection-editor/nm-connection-list.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/connection-editor/nm-connection-list.c b/src/connection-editor/nm-connection-list.c
index 99313fc..1791698 100644
--- a/src/connection-editor/nm-connection-list.c
+++ b/src/connection-editor/nm-connection-list.c
@@ -171,10 +171,8 @@ get_model_for_connection (NMConnectionList *list, NMSettingsConnectionInterface
 		str_type = NM_SETTING_GSM_SETTING_NAME;
 
 	treeview = get_treeview_for_type (list, nm_connection_lookup_setting_type (str_type));
-	if (!treeview) {
-		g_warning ("No registered treeview for connection type '%s'", str_type);
+	if (!treeview)
 		return NULL;
-	}
 
 	model = gtk_tree_view_get_model (treeview);
 	if (GTK_IS_TREE_MODEL_SORT (model))



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]