com gtk/php-gtk: Since this is a constructor for all intents and purposes, the caller should own the return value. Gah, took me a while to find this one. I'm getting old.: ext/gtk+/gtk.defs

[email protected] (David Soria Parra) Tue, 07 Feb 2006 07:11:19 +0000
Newsgroups php.gtk.cvs
Message-ID <[email protected]>
Commit:    8653d52ac87eef7209c2961330b5696febef3002
Author:    Andrei Zmievski <[email protected]>         Tue, 7 Feb 2006 07:11:19 +0000
Parents:   04cd991f579d861ae73c06c46bdc28542253732b
Branches:  master

Link:       http://git.php.net/?p=gtk/php-gtk.git;a=commitdiff;h=8653d52ac87eef7209c2961330b5696febef3002

Log:
Since this is a constructor for all intents and purposes, the caller
should own the return value.
Gah, took me a while to find this one. I'm getting old.

Changed paths:
  M  ext/gtk+/gtk.defs


Diff:
8653d52ac87eef7209c2961330b5696febef3002
diff --git a/ext/gtk+/gtk.defs b/ext/gtk+/gtk.defs
index 87fa71a..75326f2 100644
--- a/ext/gtk+/gtk.defs
+++ b/ext/gtk+/gtk.defs
@@ -17679,6 +17679,7 @@
   (of-object "GtkTreeModel")
   (c-name "gtk_tree_model_filter_new")
   (return-type "GtkTreeModel*")
+  (caller-owns-return #t)
   (parameters
     '("GtkTreePath*" "root" (default "NULL") (null-ok))
   )