[gnome-builder] app: extension fixes



commit 4dc1bb32b77f4d08c30ccf81519532574bef3e7a
Author: Christian Hergert <christian hergert me>
Date:   Tue Jun 9 15:16:41 2015 -0700

    app: extension fixes
    
    Use proper signature for extension-added and extension-removed.

 src/app/gb-application.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/app/gb-application.c b/src/app/gb-application.c
index deecf73..beb7bb0 100644
--- a/src/app/gb-application.c
+++ b/src/app/gb-application.c
@@ -481,10 +481,12 @@ gb_application_activate (GApplication *application)
 
 static void
 gb_application__extension_added (PeasExtensionSet   *extensions,
+                                 PeasPluginInfo     *plugin_info,
                                  GbApplicationAddin *addin,
                                  GbApplication      *self)
 {
   g_assert (GB_IS_APPLICATION (self));
+  g_assert (plugin_info != NULL);
   g_assert (GB_IS_APPLICATION_ADDIN (addin));
   g_assert (PEAS_IS_EXTENSION_SET (extensions));
 
@@ -493,10 +495,12 @@ gb_application__extension_added (PeasExtensionSet   *extensions,
 
 static void
 gb_application__extension_removed (PeasExtensionSet   *extensions,
+                                   PeasPluginInfo     *plugin_info,
                                    GbApplicationAddin *addin,
                                    GbApplication      *self)
 {
   g_assert (GB_IS_APPLICATION (self));
+  g_assert (plugin_info != NULL);
   g_assert (GB_IS_APPLICATION_ADDIN (addin));
   g_assert (PEAS_IS_EXTENSION_SET (extensions));
 


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