diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-08-25 13:54:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-08-25 13:54:32 -0400 |
commit | 20422f98ab2acd8db94bdce6a15ca37163ac0630 (patch) | |
tree | 29b6352fa5b1ed65b7f9dc3303f346ae699669cd | |
parent | ebfdd71a3eea92e8f61cd48d0c68c925d71dbbad (diff) | |
download | gtk+-suggestion-entry2.tar.gz |
Fix up the warningsuggestion-entry2
It is misleading to complain about the factory here.
-rw-r--r-- | gtk/gtksuggestionentry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtksuggestionentry.c b/gtk/gtksuggestionentry.c index 7b01c9cf1d..6fb30e281f 100644 --- a/gtk/gtksuggestionentry.c +++ b/gtk/gtksuggestionentry.c @@ -1129,8 +1129,8 @@ map_func (gpointer item, gpointer user_data) } else { - g_critical ("Either GtkSuggestionEntry:factory or GtkSuggestionEntry:expression " - "must be set"); + g_critical ("Either GtkSuggestionEntry:expression must be set " + "or GtkSuggestionEntry:model must be a GtkStringList"); g_value_set_string (&value, "No value"); } |