[gtk-server] Re: gtk-server.cfg and gtk_image_set_from_pixbuf
- From: Peter van Eerten <administrator@xxxxxxxxxxxxxx>
- To: gtk-server@xxxxxxxxxxxxx
- Date: Mon, 05 Dec 2005 20:25:35 +0100
Hi Leonardo,
Well, you are completely right. This is a mistake on my side. It has been
corrected. (Not that it matters much; simply ignore the returnvalue in your
client program. But it's not in accordance with the GTK API.)
Thank you,
Peter
Citeren Leonardo Cecchi <l.cecchi@xxxxxxxxxxxxxxxxxxxx>:
> Hi,
>
> I saw in the gtk-server.cfg at http://www.gtk-server.org/gtk-server.cfg (and
> also in the version distributed with gtk-server 2.0.5) a mapping like this:
>
> GTK_LIB_FUNCTION = gtk_image_set_from_pixbuf, NONE, WIDGET, 2, WIDGET,
> WIDGET
>
> But in the Gtk Api I found:
>
> void gtk_image_set_from_pixbuf (GtkImage *image,
> GdkPixbuf *pixbuf);
>
> So the return value of gtk_image_set_from_pixbuf is void and not widget like
> in the gtk-server mapping.
> I found a bug or I simply don't understand gtk-server.cfg file format?
>
> Thanks,
>
> Leonardo Cecchi
>
>
>
--
http://www.gtk-server.org
- References:
- [gtk-server] gtk-server.cfg and gtk_image_set_from_pixbuf
- From: Leonardo Cecchi
Other related posts:
- » [gtk-server] gtk-server.cfg and gtk_image_set_from_pixbuf
- » [gtk-server] Re: gtk-server.cfg and gtk_image_set_from_pixbuf
- [gtk-server] gtk-server.cfg and gtk_image_set_from_pixbuf
- From: Leonardo Cecchi