[glib] gio: Fix some header/source parameter-naming mismatches



commit 5ca9bee52456b91ab4c0c477db3faf430f7fb72f
Author: Rico Tzschichholz <ricotz t-online de>
Date:   Wed Jan 22 14:21:41 2014 +0100

    gio: Fix some header/source parameter-naming mismatches

 gio/gaction.h         |    2 +-
 gio/gfile.h           |    2 +-
 gio/gsettingsschema.h |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/gaction.h b/gio/gaction.h
index f8e92ff..79ae222 100644
--- a/gio/gaction.h
+++ b/gio/gaction.h
@@ -93,7 +93,7 @@ gboolean                g_action_parse_detailed_name                    (const g
 
 GLIB_AVAILABLE_IN_2_38
 gchar *                 g_action_print_detailed_name                    (const gchar        *action_name,
-                                                                         GVariant           *parameter);
+                                                                         GVariant           *target_value);
 
 G_END_DECLS
 
diff --git a/gio/gfile.h b/gio/gfile.h
index e6db1f0..0c77dc8 100644
--- a/gio/gfile.h
+++ b/gio/gfile.h
@@ -1231,7 +1231,7 @@ void     g_file_replace_contents_async       (GFile                  *file,
                                              gpointer                user_data);
 GLIB_AVAILABLE_IN_2_40
 void     g_file_replace_contents_bytes_async (GFile                  *file,
-                                             GBytes                 *bytes,
+                                             GBytes                 *contents,
                                              const char             *etag,
                                              gboolean                make_backup,
                                              GFileCreateFlags        flags,
diff --git a/gio/gsettingsschema.h b/gio/gsettingsschema.h
index 9038939..5555921 100644
--- a/gio/gsettingsschema.h
+++ b/gio/gsettingsschema.h
@@ -72,10 +72,10 @@ GLIB_AVAILABLE_IN_2_32
 const gchar *           g_settings_schema_get_path                      (GSettingsSchema        *schema);
 GLIB_AVAILABLE_IN_2_40
 GSettingsSchemaKey *    g_settings_schema_get_key                       (GSettingsSchema        *schema,
-                                                                         const gchar            *key);
+                                                                         const gchar            *name);
 GLIB_AVAILABLE_IN_2_40
 gboolean                g_settings_schema_has_key                       (GSettingsSchema        *schema,
-                                                                         const gchar            *key);
+                                                                         const gchar            *name);
 
 #define                 G_TYPE_SETTINGS_SCHEMA_KEY                      (g_settings_schema_key_get_type ())
 GLIB_AVAILABLE_IN_2_40


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