[pygobject] Clean up deprecation message for assigning gpointers to objects.



commit 50571dd27d1f7c6bed8c5aaa518b504c9f4c4ab6
Author: Simon Feltman <s feltman gmail com>
Date:   Wed Sep 19 19:07:00 2012 -0700

    Clean up deprecation message for assigning gpointers to objects.
    
    The previous deprecation message was worded as if the deprecation
    had already occurred and it has not.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683599

 gi/pygi-info.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gi/pygi-info.c b/gi/pygi-info.c
index dfcaf55..6f93eee 100644
--- a/gi/pygi-info.c
+++ b/gi/pygi-info.c
@@ -1437,8 +1437,8 @@ _wrap_g_field_info_set_value (PyGIBaseInfo *self,
 
         if (py_value != Py_None && !PYGLIB_PyLong_Check(py_value)) {
             if (PyErr_WarnEx(PyExc_RuntimeWarning,
-                         "Usage of gpointers to store objects has been deprecated. "
-                         "Please integer values instead, see: https://bugzilla.gnome.org/show_bug.cgi?id=683599";,
+                         "Usage of gpointers to store objects is being deprecated. "
+                         "Please use integer values only, see: https://bugzilla.gnome.org/show_bug.cgi?id=683599";,
                          1))
                 goto out;
         }



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