com gtk/php-gtk: - Adding GtkMenuToolButton::new_from_s tock() to the defs (it doesn't need an override) - GdkPixbuf::new_from_array() is a PyGTK invention. Adding it to the ignore list rather than deleting it in case Andrei has other ideas about its future.: ext/gtk+/gdk .overrides ext/gtk+/gtk.defs

[email protected] (David Soria Parra)
Newsgroups php.gtk.cvs
Message-ID <[email protected]>
Commit:    329ffd048885236ffb44d5b86458fd1a81c583d5
Author:    Steph Fox <[email protected]>         Sat, 17 Jun 2006 18:43:55 +0000
Parents:   940689eb95d490e83520b2ce081a1869fed17066
Branches:  master

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

Log:
- Adding GtkMenuToolButton::new_from_stock() to the defs (it doesn't need an override)
- GdkPixbuf::new_from_array() is a PyGTK invention. Adding it to the ignore list rather than deleting it in case Andrei has other ideas about its future.

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


Diff:
329ffd048885236ffb44d5b86458fd1a81c583d5
diff --git a/ext/gtk+/gdk.overrides b/ext/gtk+/gdk.overrides
index f9a9d75..0e8a4c2 100644
--- a/ext/gtk+/gdk.overrides
+++ b/ext/gtk+/gdk.overrides
@@ -44,6 +44,7 @@ ignore
     gdk_draw_rgb_image_dithalign
     gdk_draw_rgb_32_image_dithalign
     gdk_gc_new2
+    gdk_pixbuf_new_from_array
     gdk_pixbuf_new_from_inline
     gdk_pixbuf_savev
     gdk_string_extents
diff --git a/ext/gtk+/gtk.defs b/ext/gtk+/gtk.defs
index 20b5523..43431c4 100644
--- a/ext/gtk+/gtk.defs
+++ b/ext/gtk+/gtk.defs
@@ -11067,7 +11067,9 @@
 )
 
 (define-function gtk_menu_tool_button_new_from_stock
+  (is-constructor-of "GtkMenuToolButton")
   (c-name "gtk_menu_tool_button_new_from_stock")
+  (caller-owns-return #t)
   (return-type "GtkToolItem*")
   (parameters
     '("const-gchar*" "stock_id")
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.