diff options
author | Matthew Leeds <mleeds@redhat.com> | 2016-06-15 16:41:58 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-06-19 20:06:13 -0400 |
commit | 51799d41e46553633a7e98a3b721eadba67bd5ba (patch) | |
tree | 8330285769059d2478f205fe215bac6c2e11b2e1 /gtk/gtkactionhelper.c | |
parent | 76bacfde6e5305021c765ae690972efb1832682d (diff) | |
download | gtk+-51799d41e46553633a7e98a3b721eadba67bd5ba.tar.gz |
GtkActionHelper: Change a message to a warning
It's almost certainly a programmer error if an action isn't
activatable because its target and parameter type don't match.
This commit changes the existing g_message to a g_warning.
https://bugzilla.gnome.org/show_bug.cgi?id=767705
Diffstat (limited to 'gtk/gtkactionhelper.c')
-rw-r--r-- | gtk/gtkactionhelper.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkactionhelper.c b/gtk/gtkactionhelper.c index 24f006cc67..6a77b03b02 100644 --- a/gtk/gtkactionhelper.c +++ b/gtk/gtkactionhelper.c @@ -147,12 +147,12 @@ gtk_action_helper_action_added (GtkActionHelper *helper, if (!helper->can_activate) { - GTK_NOTE(ACTIONS, g_message ("%s: action %s can't be activated due to parameter type mismatch " - "(parameter type %s, target type %s)", - "actionhelper", - helper->action_name, - parameter_type ? g_variant_type_peek_string (parameter_type) : "NULL", - helper->target ? g_variant_get_type_string (helper->target) : "NULL")); + g_warning ("%s: action %s can't be activated due to parameter type mismatch " + "(parameter type %s, target type %s)", + "actionhelper", + helper->action_name, + parameter_type ? g_variant_type_peek_string (parameter_type) : "NULL", + helper->target ? g_variant_get_type_string (helper->target) : "NULL"); return; } |