[perl-Glib-Object-Introspection] Fix spelling of two internal functions



commit a2c314508e7ebcca0834e3b17280bdbb4b9dc4a6
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Wed Dec 25 19:19:12 2013 +0100

    Fix spelling of two internal functions

 gperl-i11n-enums.c |    2 +-
 gperl-i11n-info.c  |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gperl-i11n-enums.c b/gperl-i11n-enums.c
index ad3e0a8..b6c09f5 100644
--- a/gperl-i11n-enums.c
+++ b/gperl-i11n-enums.c
@@ -21,7 +21,7 @@ register_unregistered_enum (GIEnumInfo *info)
        void *values;
 
        /* Abort if there already is a GType under this name. */
-       full_name = sythesize_prefixed_gtype_name (info);
+       full_name = synthesize_prefixed_gtype_name (info);
        if (g_type_from_name (full_name)) {
                g_free (full_name);
                return gtype;
diff --git a/gperl-i11n-info.c b/gperl-i11n-info.c
index 1c60c81..d8106ce 100644
--- a/gperl-i11n-info.c
+++ b/gperl-i11n-info.c
@@ -166,7 +166,7 @@ get_signal_info (GIBaseInfo *container_info, const gchar *signal_name)
 
 /* Caller owns return value. */
 static gchar *
-sythesize_gtype_name (GIBaseInfo *info)
+synthesize_gtype_name (GIBaseInfo *info)
 {
        const gchar *namespace = g_base_info_get_namespace (info);
        const gchar *name = g_base_info_get_name (info);
@@ -180,7 +180,7 @@ sythesize_gtype_name (GIBaseInfo *info)
 
 /* Caller owns return value. */
 static gchar *
-sythesize_prefixed_gtype_name (GIBaseInfo *info)
+synthesize_prefixed_gtype_name (GIBaseInfo *info)
 {
        const gchar *namespace = g_base_info_get_namespace (info);
        const gchar *name = g_base_info_get_name (info);
@@ -206,12 +206,12 @@ get_gtype (GIRegisteredTypeInfo *info)
                }
        }
        if (!gtype || gtype == G_TYPE_NONE) {
-               gchar *full_name = sythesize_gtype_name (info);
+               gchar *full_name = synthesize_gtype_name (info);
                gtype = g_type_from_name (full_name);
                g_free (full_name);
        }
        if (!gtype || gtype == G_TYPE_NONE) {
-               gchar *full_name = sythesize_prefixed_gtype_name (info);
+               gchar *full_name = synthesize_prefixed_gtype_name (info);
                gtype = g_type_from_name (full_name);
                g_free (full_name);
        }


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