Re: free pixbuf

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

 



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 <ian.liu88@xxxxxxxxx>:
> 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 <look2004il@xxxxxxxxx> wrote:
>>
>> Hi to all,
>>
>> How to free allocated memory for pixbuf with gdk_pixbuf_new_from_file()?
>>
>> Thanks
>> _______________________________________________
>> gtk-list mailing list
>> gtk-list@xxxxxxxxx
>> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux