Re: [Vala] Vala logo symbol voting

2011-08-31 Thread Dru Moore
Probably far too late in the process to come back and comment on this but I have a few general comments. I really like the concept of wings etc and think of the logo marks, all but #4 are really very strong, to me #4 is the weakest and is only good. However, I really dislike the font used for

Re: [Vala] pulseaudio device selection

2011-08-19 Thread Dru Moore
Depends on what system, software is involved. Could be Pulseaudio could be Alsa could be GStreamer that's just on Linux that I can think of. On 19 August 2011 18:25, bsquared bwcod...@gmail.com wrote: Hello, What packages would I use switch the audio device.  For example... (1) The

Re: [Vala] pulseaudio device selection

2011-08-19 Thread Dru Moore
Looks like the vapi is available from pulseaudio. At least according to: http://live.gnome.org/Vala/PulseAudioSamples dru On 19 August 2011 19:04, bsquared bwcod...@gmail.com wrote: On Fri, Aug 19, 2011 at 10:52 AM, Dru Moore d...@dru-id.co.uk wrote: Depends on what system, software

Re: [Vala] Vala Logo Showcase

2011-07-29 Thread Dru Moore
Very difficult to express an opinion without being able to reference what if any design brief you are working to. Is there a document floating around somewhere? I've seen some messages about logos from time to time on the list here but don't recall anything detailed. On 29 July 2011 12:33, Luca

Re: [Vala] contructor

2011-01-04 Thread Dru Moore
; } } construct is a code block to run on construction not the actual constructor for the class. dru V Utorok, 4. január 2011 o 15:34 +, Dru Moore napísal(a): construct is a keyword in vala for code that will be run on the class construction. If you rename your function

Re: [Vala] vala LibUSB : get_device_list

2010-12-27 Thread Dru Moore
On 27 December 2010 13:49, Geert Jordaens geert.jorda...@telenet.be wrote: hello, any idea how to compile code below? /* valac --pkg libusb-1.0 TestLibUsb.vala */ using LibUSB; namespace TestLibUSb {  public static class TestLibUSb  {    static int main (string[] args)    {      

Re: [Vala] Gtk.RecentFilterInfo and some interface issues.

2010-12-16 Thread Dru Moore
- Original message - On Thu, 16 Dec 2010, Frederik wrote: On 12/15/2010 09:50 PM, Tom Willemsen wrote: Yes, when you're using automatic properties (sorry I don't actually know what you call them, but this is what they're called in C#) the compiler will define _foo for you,

[Vala] Vapi question (

2010-12-04 Thread Dru Moore
Hi all, I'm probably a bit out of my depth with vapi editing but I am trying none the less: Currently in hlidon-1.vapi there is a static method [CCode (cheader_filename = hildon/hildon.h)] public static void gtk_window_set_progress_indicator (Gtk.Window window, uint state); which I

[Vala] Ternary operator and nullable values in return statements

2010-11-28 Thread Dru Moore
Hi all, Was surprised to see the following fail to compile with an error: Incompatible expressions in Vala 0.10.0 (simplified test case to illustrate): public static int main (string[] args) { int? x = test (12); return 0; } public int? test (int number) { return (0 == number) ? null : 1;

Re: [Vala] Ternary operator and nullable values in return statements

2010-11-28 Thread Dru Moore
2010/11/28 Jiří Zárevúcky zarevucky.j...@gmail.com: You need to cast it like this:  (0 == number) ? null : (int?) 1 or  int? i = 1;  (0 == number) ? null : i Thank you. That's it of course. cheers ___ vala-list mailing list vala-list@gnome.org

[Vala] Incorrect enum / switch usage causing segfault in 0.9.4 (and previous)

2010-08-08 Thread Dru Moore
This came up because of a stupid error in my code but, incorrect (i.e. stupid!) use of an enum in a switch statement is segfaulting the code generator on both 64bit x86 and armel platforms on Linux. As I say it's clearly stupid on the part of the programmer but it should not compile rather than

[Vala] error: too many arguments to function

2010-07-22 Thread Dru Moore
Hi all, Not sure if this is a bug or user error, but I am getting an error from the c compile stage of my program: error: too many arguments to function 'hildon_wizard_dialog_set_forward_page_func' I've output the intermediate c files and it looks to me that valac is inserting an additional

[Vala] libxml2 bindings question Node.child_element_count()

2010-07-20 Thread Dru Moore
Hi all, I've been using vala for a project for a Fremantle (Arm -Maemo5) target, but came across an issue using libxml2. Xml.Node.child_element_count() doesn't seem to exist within Fremantle when it works as documented from my standard linux 64bit distro. Vala is version 0.8.0 on both platforms