Re: Debug for a GdkPixbuf CRITICAL error message...
- From: Glus Xof <gtglus gmail com>
- To: Harry van Haaren <harryhaaren gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Debug for a GdkPixbuf CRITICAL error message...
- Date: Thu, 7 Jun 2012 21:56:51 +0200
Thanks,
> Running in gdb I think you can set a breakpoint on g_logv, and that should
> break on the line of the error... perhaps my memory serves me wrong here
> though.
> -Harry
This procedure has revealed that the problem lies to the application
status icon, but I don't yet understand why this message is thrown...
* In class definition (as private members), I have:
void configure_status_icon();
Glib::RefPtr <Gtk::StatusIcon> status_icon;
* The implementation of this method starts with
void Main::configure_status_icon()
{
Glib::ustring icon_filename = Glib::build_filename (DATADIR, "icon.svg");
status_icon = Gtk::StatusIcon::create_from_file (icon_filename); //
gdb - bt points this line...
[...]
* And (this method) is called from the main constructor process, just
before the show_all_children() calling.
I know that 'icon.svg' is a vectorial image, but is it necessary here
to fix its size ?
Glus
> On Wed, Jun 6, 2012 at 9:21 PM, Glus Xof <gtglus gmail com> wrote:
>>
>> Hi guys,
>>
>> My app suddently throws this critical message,
>>
>> GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `dest_width
>> > 0' failed
>>
>> (although, all works fine...)
>>
>> How could I do to debug it ?
>>
>> Glus
>> _______________________________________________
>> gtkmm-list mailing list
>> gtkmm-list gnome org
>> https://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]