Hi
I need to check (for debugging purposes) if current thread is main
thread. How can I do that in Vala?
I know that in GLib exists g_thread_self() and I can use result of
that function for that purpose but in Vala's vapi it has strange
syntax that I cannot truly understand.
Thank you in
following compiles without warning/error but at runtime it tells me
(process:6285): GLib-GObject-WARNING **: cannot add interface type
`JJJ' to type `BBB' which does not conform to prerequisite `III'
/* [public|private] interface name {
** constant/method/delegate/signal
** }
*/
interface III
i.e. when i try to install valadoc it requires gee-1.0 but top is
0.7.2 what installs a gee-0.8.pc
and gee-documentation tells about gee-1.0, too ?!
regards
andreas
___
vala-list mailing list
vala-list@gnome.org
On Fri, Jul 6, 2012 at 1:20 AM, Rodrigo Cares rca...@gmail.com wrote:
Hi to all, howto can get the actual file name and line in a file, just
like the info presented by GLib.warning function (main.vala:14).
Hi,
http://valadoc.org/#!api=glib-2.0/GLib.Log.FILE
Thanks
El vie, 06-07-2012 a las 12:23 +0200, Luca Bruno escribió:
On Fri, Jul 6, 2012 at 1:20 AM, Rodrigo Cares rca...@gmail.com
wrote:
Hi to all, howto can get the actual file name and line in a
file, just
like the info presented by GLib.warning function
On 07/06/2012 09:18 AM, andreas graeper wrote:
i.e. when i try to install valadoc it requires gee-1.0 but top is
0.7.2 what installs a gee-0.8.pc
and gee-documentation tells about gee-1.0, too ?!
There are two branches of Libgee, with two slightly different APIs.
libgee-0.7.2 is the current
On 07/06/2012 08:56 AM, andreas graeper wrote:
following compiles without warning/error but at runtime it tells me
(process:6285): GLib-GObject-WARNING **: cannot add interface type
`JJJ' to type `BBB' which does not conform to prerequisite `III'
[snip]
is there actually need to declare
Hello all,
I am encountering a memory leak in an appindicator menu. The menu is made
up of several RadioMenuItems that have their labels updated once per
second. I have tracked the memory leak down to the following code, but
cannot seem to be able to make any additional headway. The method
On 07/06/2012 08:27 PM, Bruce Reidenbach wrote:
Hello all,
I am encountering a memory leak in an appindicator menu. The menu is made
up of several RadioMenuItems that have their labels updated once per
second. I have tracked the memory leak down to the following code, but
cannot seem to be
Thomas,
Thanks for the quick response. When I add the statement you mentioned, I
get the following compilation error:
SystemIndicator.vala:128.23-128.52: error: No reference to be transferred
string old_text = (owned) radioItem [item].label;
On Fri, 2012-07-06 at 14:27 -0400, Bruce Reidenbach wrote:
Hello all,
I am encountering a memory leak in an appindicator menu. The menu is made
up of several RadioMenuItems that have their labels updated once per
second. I have tracked the memory leak down to the following code, but
cannot
On Fri, 2012-07-06 at 13:21 -0700, Evan Nemerson wrote:
Get rid of (owned). That is used to transfer ownership of a reference,
but g_menu_item_set_label doesn't steal the reference you pass it, so
what ends up happening here is that GTK+ will copy the string you pass
it, and since you told
12 matches
Mail list logo