There is no attachment. Try sharing it a different way - pastebin or
something.
Dan
On Wed, Mar 1, 2017 at 5:18 AM, pozzugno wrote:
> Most probably this isn't the most appropriate mailing list, because I
> think my issue is related to Glade (and not Gtk libraries).
>
> Attached is one of my gra
Hi,
Still crash after a while.. but needs more time..
What could be?
Thanks
Às 10:41 de 02/03/2017, Gabriele Greco escreveu:
Now, application crash after start, but i think that is because i make
the unref of pixbuf, and in next expose event, fails (i think)...
GdkPixbuf-CRITICAL **: gdk_pixbuf
> Also the all the *-from-stock (e.g. gtk_button_new_from_stock)
> functions have been deprecated in GTK 3.10 so maybe that’s the issue?
Ah, that must be it, yes. I use gtk_image_new_from_icon_name() for menu
icons, and now that you mention it these indeed do not show up. So,
that must be where it
It's the correct way do this with expose event?
Às 10:41 de 02/03/2017, Gabriele Greco escreveu:
Now, application crash after start, but i think that is because i make
the unref of pixbuf, and in next expose event, fails (i think)...
GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion 'GDK
>
>
> Now, application crash after start, but i think that is because i make
> the unref of pixbuf, and in next expose event, fails (i think)...
>
> GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion 'GDK_IS_PIXBUF
> (src)' failed
This happens because your original "pixbuf" is a global ob
Thank you very much!!
I'm not sure if i have to do this every time an expose event occurs.. I
think that i just need on start of application.. But i test on start of
application, i i don't have widget->allocation values, to make the resize..
Now, application crash after start, but i think that
Hello Norbert,
which GTK version are you porting to and what is the call you’re using that
causes the GTK Warning about the missing icon? I don’t have a Windows machine
but the 'image-missing' icon is definitely present on my machine (I checked
using gtk3-icon-browser).
Also the all the *-from
>
> This works, but application blocks after a while..
>
I'm quite sure the problem is that you are leaking at least 2 pixbuf and a
pixmap for every expose event your app receives, and anyway, are you sure
you have to do it every time an expose event is thrown and not only when
the window is resiz
Most probably this isn't the most appropriate mailing list, because I
think my issue is related to Glade (and not Gtk libraries).
Attached is one of my graphical interface, designed with Glade.
Unfortunately when Glade opens this file, it seems it is very unstable
if I try to change something.
Hi,
I have made progress, i use this function to make the resize: pixbuf =
gdk_pixbuf_scale_simple(pixbuf, widget->allocation.width,
widget->allocation.height, GDK_INTERP_BILINEAR);
This works, but application blocks after a while..
Here is the Expose event function:
void on_layout_Home_expos
10 matches
Mail list logo