I have error message after g_object_unref(pixbuf).
The error message is:
GLib-GObject-WARNING **: invalid cast from `GdkPixbuf' to `GtkWidget'

what is wrong here?


2010/5/17 Ian Liu Rodrigues <[email protected]>:
> I guess you must use g_object_unref. The documentation says it starts with
> one reference in case of success.
>
> Ian L.
>
> On Mon, May 17, 2010 at 2:01 PM, maxim maxim <[email protected]> wrote:
>>
>> Hi to all,
>>
>> How to free allocated memory for pixbuf with gdk_pixbuf_new_from_file()?
>>
>> Thanks
>> _______________________________________________
>> gtk-list mailing list
>> [email protected]
>> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to