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

docs only return "list" in two spots



I noticed get_size_request shows "list" as its return in the docs, it'd
be nice it was "width,height", perhaps per below.  I did a bit of a grep
and pixbuf->get_file_info may be the only other one not already ok,
among what's under the Gtk2 dir at least.

--- GtkWidget.xs	16 Sep 2007 00:33:02 +1000	1.71
+++ GtkWidget.xs	09 Dec 2007 12:34:55 +1100	
@@ -686,6 +686,7 @@
 	gint height
 
 =for apidoc
+=for signature (width, height) = $widget->get_size_request
 This function is typically used when implementing a GtkContainer subclass.
 Obtains the preferred size of a widget. The container uses this information to
 arrange its child widgets and decide what size allocations to give them with
Index: GdkPixbuf.xs
===================================================================
RCS file: /cvsroot/gtk2-perl/gtk2-perl-xs/Gtk2/xs/GdkPixbuf.xs,v
retrieving revision 1.43
diff -u -u -r1.43 GdkPixbuf.xs
--- GdkPixbuf.xs	16 Dec 2007 16:53:33 -0000	1.43
+++ GdkPixbuf.xs	30 Dec 2007 23:24:03 -0000
@@ -954,6 +954,9 @@
 #if GTK_CHECK_VERSION(2,4,0)
 
 ###  GdkPixbufFormat *gdk_pixbuf_get_file_info (const gchar *filename, gint *width, gint *height)
+=for apidoc
+=for signature (format, width, height) = $pixbuf->get_file_info ($filename)
+=cut
 void gdk_pixbuf_get_file_info (class, filename)
 	GPerlFilename filename
     PREINIT:


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