[libgda] Removed useless warning



commit ed52ccc9dd62e6fea703d89ec46973bb59dab38d
Author: Vivien Malerba <malerba gnome-db org>
Date:   Thu Mar 29 22:30:01 2012 +0200

    Removed useless warning

 libgda-ui/data-entries/gdaui-entry-combo.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libgda-ui/data-entries/gdaui-entry-combo.c b/libgda-ui/data-entries/gdaui-entry-combo.c
index 212724d..d7d38fa 100644
--- a/libgda-ui/data-entries/gdaui-entry-combo.c
+++ b/libgda-ui/data-entries/gdaui-entry-combo.c
@@ -312,8 +312,7 @@ void _gdaui_entry_combo_construct (GdauiEntryCombo* combo, GdauiSet *paramlist,
 	combo->priv->combo_entry = entry;
 
 	if (values) {
-		if (! _gdaui_combo_set_selected_ext (GDAUI_COMBO (entry), values, NULL))
-			g_warning (_("Could find row in data model with provided values"));
+		_gdaui_combo_set_selected_ext (GDAUI_COMBO (entry), values, NULL);
 		gdaui_entry_combo_set_reference_values (combo, values);
 		g_slist_free (values);
 	}



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