On Tue, Sep 1, 2015 at 10:33 AM, rastersoft wrote:
> It is very subtle, because it hapens usually
> after being running for two-three days. It is a double free. I tried
> with Valgrind, but when I use it, the error doesn't trigger, which makes
> me suspect it is a race
) {
gchar *temp = idle_free(g_strdup(i am a temporary variable));
return g_strdup_printf(%s - %f, temp, G_PI);
}
This way the memory will be freed as soon as GLib gains control and
the main loop is ready to process events.
Use the code as you wish.
Cheers,
--
Leandro A. F. Pereira [EMAIL
Thanks in advance,
--
Leandro A. F. Pereira [EMAIL PROTECTED]
Developer, Tiamat Software Wizardry.
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
On Mon, 2005-06-27 at 19:49 +0530, harshavardhanreddy mandeepala wrote:
i am using linux fedora core 3.
i want to access usb memorystick as a non-root user.
If someone's gonna answer to this post, please do in private.
Leandro
___
On Thu, 2005-02-17 at 13:17 +0100, Hubert Sokoowski wrote:
You should learn some more about programming in C before you start
writing GTK apps.
Or consider using something else, such as Python.
Leandro
___
gtk-app-devel-list mailing list
On Tue, 2005-02-15 at 00:34 +0100, Felix Kater wrote:
can I pass (a pointer to) user data to a button's callback? The compiler
wants me to create button callbacks like void (*)(void) -- but what I
need is void (*)(void*), at least for the pressed and released
signals
You may try the following