[glade] GladeSignalDef: fix last gir scanner warning



commit bbd1c3e412c9be51f76edbc6c3dae9e77a92d1b8
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Fri Jun 19 19:39:14 2020 -0300

    GladeSignalDef: fix last gir scanner warning
    
    Rename GSC_VERSION_CHECK to GLADE_SIGNALS_DEF_VERSION_CHECK

 gladeui/glade-project.c    | 4 ++--
 gladeui/glade-signal-def.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gladeui/glade-project.c b/gladeui/glade-project.c
index da5412fc..2d6199cd 100644
--- a/gladeui/glade-project.c
+++ b/gladeui/glade-project.c
@@ -1810,7 +1810,7 @@ glade_project_introspect_signal_versions (GladeSignal *signal,
   g_free (catalog);
 
   if (is_gtk_adaptor && 
-      !GSC_VERSION_CHECK (signal_def, data->major, data->minor))
+      !GLADE_SIGNALS_DEF_VERSION_CHECK (signal_def, data->major, data->minor))
     {
       data->major = glade_signal_def_since_major (signal_def);
       data->minor = glade_signal_def_since_minor (signal_def);
@@ -3293,7 +3293,7 @@ glade_project_verify_signal_internal (GladeWidget     *widget,
                                             &target_major, &target_minor);
 
   if ((flags & GLADE_VERIFY_VERSIONS) != 0 &&
-      !GSC_VERSION_CHECK (signal_def, target_major, target_minor))
+      !GLADE_SIGNALS_DEF_VERSION_CHECK (signal_def, target_major, target_minor))
     {
       GLADE_NOTE (VERIFY, g_print ("VERIFY: Signal '%s' of adaptor %s not available in version %d.%d\n",
                                    glade_signal_get_name (signal),
diff --git a/gladeui/glade-signal-def.h b/gladeui/glade-signal-def.h
index cb843bc4..0532af4a 100644
--- a/gladeui/glade-signal-def.h
+++ b/gladeui/glade-signal-def.h
@@ -29,7 +29,7 @@
 G_BEGIN_DECLS
 
 /**
- * GSC_VERSION_CHECK:
+ * GLADE_SIGNALS_DEF_VERSION_CHECK:
  * @klass: A #GladeSignalDef
  * @major_version: The major version to check
  * @minor_version: The minor version to check
@@ -37,7 +37,7 @@ G_BEGIN_DECLS
  * Evaluates to %TRUE if @klass is available in its owning library version-@major_verion.@minor_version.
  *
  */
-#define GSC_VERSION_CHECK(klass, major_version, minor_version)                      \
+#define GLADE_SIGNALS_DEF_VERSION_CHECK(klass, major_version, minor_version)                      \
   ((glade_signal_def_since_major (GLADE_SIGNAL_DEF (klass)) == major_version) ? \
    (glade_signal_def_since_minor (GLADE_SIGNAL_DEF (klass)) <= minor_version) : \
    (glade_signal_def_since_major (GLADE_SIGNAL_DEF (klass)) <= major_version))


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