[network-manager-applet] editor: remove annoying warning about registered treeviews
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet] editor: remove annoying warning about registered treeviews
- Date: Tue, 3 Aug 2010 22:03:48 +0000 (UTC)
commit 775e125c84ae35d777336a6ae2d2ac47673b073b
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]