java-gobject-introspection r97 - trunk/src/org/gnome/gir/gobject



Author: walters
Date: Tue Oct 21 02:49:36 2008
New Revision: 97
URL: http://svn.gnome.org/viewvc/java-gobject-introspection?rev=97&view=rev

Log:
Minor comment tweak


Modified:
   trunk/src/org/gnome/gir/gobject/NativeObject.java

Modified: trunk/src/org/gnome/gir/gobject/NativeObject.java
==============================================================================
--- trunk/src/org/gnome/gir/gobject/NativeObject.java	(original)
+++ trunk/src/org/gnome/gir/gobject/NativeObject.java	Tue Oct 21 02:49:36 2008
@@ -191,7 +191,7 @@
         	obj = NativeObject.instanceFor(ptr);
         if (obj != null && cls.isInstance(obj)) {
             if (refAdjust < 0) {
-                ((RefCountedObject) obj).unref(); // Lose the extra ref added by gstreamer
+                ((RefCountedObject) obj).unref(); // Lose the extra ref that we expect functions to add by default
             }
             return cls.cast(obj);
         }



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