[gnome-builder] libide/tweaks: give access to addin for bindings and signals



commit c642b7feae325a8ba3eb2e478ad620cd755b2a96
Author: Christian Hergert <chergert redhat com>
Date:   Fri Aug 12 13:22:14 2022 -0700

    libide/tweaks: give access to addin for bindings and signals

 src/libide/tweaks/ide-tweaks-addin.c | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/src/libide/tweaks/ide-tweaks-addin.c b/src/libide/tweaks/ide-tweaks-addin.c
index 80b44eeee..3b3c21c32 100644
--- a/src/libide/tweaks/ide-tweaks-addin.c
+++ b/src/libide/tweaks/ide-tweaks-addin.c
@@ -58,6 +58,10 @@ ide_tweaks_addin_real_load (IdeTweaksAddin *self,
   g_assert (IDE_IS_TWEAKS_ADDIN (self));
   g_assert (IDE_IS_TWEAKS (tweaks));
 
+  ide_tweaks_expose_object (tweaks,
+                            G_OBJECT_TYPE_NAME (self),
+                            G_OBJECT (self));
+
   if (priv->callbacks != NULL)
     {
       for (guint i = 0; i < priv->callbacks->len; i++)


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