On 05/03/2014 07:26, Edward Hennessy wrote:
I've edited the gio-2.0.vapi file and got classes implementing the GLib.Action
interface working. Here is the vapi segment that I think is correct:
public interface Action : GLib.Object {
public abstract void activate
Consider the following (dummy) functions which shows memory leaks here
(valac 0.20.1 on ubuntu saucy 64Bit). It seems the problem exists with
Gee.ArrayList too. May someone confirm this?
//memory leak if len120 (nfill ist NOT the problem)
//NO memory leak if len=120
void Dummy1(int len)
{
What version libgee are you using?
—
Sent from Mailbox for iPhone
On Wed, Mar 5, 2014 at 1:17 PM, Ulink ul...@gmx.at wrote:
Consider the following (dummy) functions which shows memory leaks here
(valac 0.20.1 on ubuntu saucy 64Bit). It seems the problem exists with
Gee.ArrayList too. May
Gstreamer fires signals in a different thread than the gui mainloop. Use
something like
Idle.add (() = { this.image_button.set_from_stock(
Gtk.Stock.MEDIA_PLAY, Gtk.IconSize.BUTTON);
return false; });
to run your code in the gui mainloop.
On Thu, Mar 6, 2014 at 12:28 AM, Flavio
Most probably it's the optimizing behaviour
of the memory allocator and has got nothing
to do with the vala compiler.
You should worry only if the leak grows
and grows when the program is running.
Any leak reported by a profiler at the
end of a run shouldn't be trusted.
Nice day
Nor Jaidi Tuah
*I would clean the following warning in my application, but not how to do
it:*
/home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:164:2:
warning: 'gtk_window_set_opacity' is deprecated (declared at
/usr/include/gtk-3.0/gtk/gtkwindow.h:142): Use
Excellent, you're a genius, thank you very much.
He had tried to do this myself, but I could not write it correctly (in
python only needs: *GLib.idle_add (callback, parameters)* )
2014-03-05 21:53 GMT-02:00 Luca Bruno lethalma...@gmail.com:
Gstreamer fires signals in a different thread than
On Thu, 2014-03-06 at 08:42 +0800, Nor Jaidi Tuah wrote:
/home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:377:2:
warning: 'g_type_init' is deprecated (declared at
/usr/include/glib-2.0/gobject/gtype.h:669)
[-Wdeprecated-declarations]
g_type_init ();
^
You
On Mar 5, 2014, at 12:40 AM, Luca Bruno lethalma...@gmail.com wrote:
Thanks for sharing. The girparser has code for detecting such cases and
discard the get_foo for the foo property. It's not something that should go
in the metadata. Girparser should checked too understand the reason why it
On Thu, 2014-03-06 at 08:42 +0800, Nor Jaidi Tuah wrote:
/home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:164:2:
warning: 'gtk_window_set_opacity' is deprecated (declared at
/usr/include/gtk-3.0/gtk/gtkwindow.h:142): Use 'gtk_widget_set_opacity'
instead
10 matches
Mail list logo