[gnome-builder] libide/tweaks: fix macro name



commit 234b90ee9a3c6bcc562ef42c492d576875d231a1
Author: Christian Hergert <chergert redhat com>
Date:   Fri Aug 12 13:08:07 2022 -0700

    libide/tweaks: fix macro name
    
    This was supposed to be bind_callback().

 src/libide/tweaks/ide-tweaks-addin.h | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/tweaks/ide-tweaks-addin.h b/src/libide/tweaks/ide-tweaks-addin.h
index 356824d18..1cc65c0e9 100644
--- a/src/libide/tweaks/ide-tweaks-addin.h
+++ b/src/libide/tweaks/ide-tweaks-addin.h
@@ -30,9 +30,11 @@ G_BEGIN_DECLS
 
 #define IDE_TYPE_TWEAKS_ADDIN (ide_tweaks_addin_get_type())
 
-#define ide_tweaks_addin_define_callback(instance, callback)      \
-  G_STMT_START {                                                  \
-    ide_tweaks_addin_add_callback(instance, #callback, callback); \
+#define ide_tweaks_addin_bind_callback(instance, callback) \
+  G_STMT_START {                                           \
+    ide_tweaks_addin_add_callback(instance,                \
+                                  #callback,               \
+                                  G_CALLBACK (callback));  \
   } G_STMT_END
 
 IDE_AVAILABLE_IN_ALL


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