Re: free pixbuf
- From: maxim maxim <look2004il gmail com>
- To: Ian Liu Rodrigues <ian liu88 gmail com>
- Cc: gtk-list gnome org
- Subject: Re: free pixbuf
- Date: Mon, 17 May 2010 20:20:12 +0300
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 gmail com>:
> 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 gmail com> wrote:
>>
>> Hi to all,
>>
>> How to free allocated memory for pixbuf with gdk_pixbuf_new_from_file()?
>>
>> Thanks
>> _______________________________________________
>> gtk-list mailing list
>> gtk-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtk-list
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]