[glib] GActionMap: correct critical warnings



commit 9171894a59d217bf3f01a10674d774bb51f68a06
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Apr 4 06:36:45 2012 -0400

    GActionMap: correct critical warnings
    
    These warnings were copied from GSimpleActionGroup, but the function
    names were not updated. Correct that.

 gio/gactionmap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gactionmap.c b/gio/gactionmap.c
index 67feec8..bc463aa 100644
--- a/gio/gactionmap.c
+++ b/gio/gactionmap.c
@@ -223,7 +223,7 @@ g_action_map_add_action_entries (GActionMap         *action_map,
         {
           if (!g_variant_type_string_is_valid (entry->parameter_type))
             {
-              g_critical ("g_simple_action_group_add_entries: the type "
+              g_critical ("g_action_map_add_entries: the type "
                           "string '%s' given as the parameter type for "
                           "action '%s' is not a valid GVariant type "
                           "string.  This action will not be added.",
@@ -244,7 +244,7 @@ g_action_map_add_action_entries (GActionMap         *action_map,
           state = g_variant_parse (NULL, entry->state, NULL, NULL, &error);
           if (state == NULL)
             {
-              g_critical ("g_simple_action_group_add_entries: GVariant could "
+              g_critical ("g_action_map_add_entries: GVariant could "
                           "not parse the state value given for action '%s' "
                           "('%s'): %s.  This action will not be added.",
                           entry->name, entry->state, error->message);



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