[libpeas] Use the correct hook name for the Python loader



commit 532804a36c1f2b8d954b6938fe4317789f788dc5
Author: Garrett Regier <garrettregier gmail com>
Date:   Tue Jan 20 18:34:36 2015 -0800

    Use the correct hook name for the Python loader
    
    We are actually calling call() at this point, not
    the specific method that will be called from there.

 loaders/python/peas-python-internal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/loaders/python/peas-python-internal.c b/loaders/python/peas-python-internal.c
index e7c2b56..562f22e 100644
--- a/loaders/python/peas-python-internal.c
+++ b/loaders/python/peas-python-internal.c
@@ -215,7 +215,7 @@ peas_python_internal_call (const gchar  *name,
         }
       else
         {
-          g_warning ("Failed to run internal Python hook '%s'", name);
+          g_warning ("Failed to run internal Python hook 'call'");
           PyErr_Print ();
         }
 


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