Re: PangoRectangle
| From: | Christian Weiske | Date: | Mon, 05 Feb 2007 20:37:39 +0000 |
| Subject: | Re: PangoRectangle | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-3691@lists.php.net to get a copy of this message | ||
Andrei,
> What kind of warnings does it give when you try to register it as a
> GdkRectangle?
ext/gtk+/gen_pango.c: In function 'zif_PangoLayout_index_to_pos':
ext/gtk+/gen_pango.c:1224: warning: passing argument 3 of
'pango_layout_index_to_pos' from incompatible pointer type
code:
GdkRectangle pos = { 0, 0, 0, 0 };
.
phpg_rectangle_from_zval(php_pos, &pos TSRMLS_CC)
.
pango_layout_index_to_pos(PANGO_LAYOUT(PHPG_GOBJECT(this_ptr)),
(int)index, &pos);
--
Regards/Mit freundlichen Grüßen
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc