From 291019fb798e6d343e474230b7d3e4239acd87cd Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 28 Jul 2008 14:04:31 +0000 Subject: [PATCH] Quiet warning about unhandled property for now git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3867 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- libnm-glib/nm-object.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libnm-glib/nm-object.c b/libnm-glib/nm-object.c index 8639d9e246..9472f25280 100644 --- a/libnm-glib/nm-object.c +++ b/libnm-glib/nm-object.c @@ -297,9 +297,11 @@ handle_property_changed (gpointer key, gpointer data, gpointer user_data) } } - if (!found) + if (!found) { +#if DEBUG g_warning ("Property '%s' unhandled.", prop_name); - else if (!success) +#endif + } else if (!success) g_warning ("Property '%s' could not be set due to errors.", prop_name); out: