There seems to be a bug in the vala compiler, but I
cannot isolate it even after looking at the generated
C code.
To make the default_handler "work", do this:
* Somewhere, declare these statics:
static ProxyServer server;
static Soup.Message msg;
* Then change the handler to:
> Have you tried running from command line and
> see what those printfs have to say?
My debugging output says:
Status Code: 1
Message length: 0
Content-type: (null)
It does not matter which file i try to get from the server, it always
delivers the same output. I am currently reading th
Gdk.Event* are structs. Casting the Gdk.Event class to one of them
doesn't work. Use the relevant Gdk.Event member instead:
Gdk.EventButton eb = event.button;
-Evan
On Wed, 2013-10-30 at 15:33 +0200, Donn Ingle wrote:
> Hello; partial code:
> --
> private bool handle_events(Gdk.Event
Hello; partial code:
--
private bool handle_events(Gdk.Event event) {
if (event.type == Gdk.EventType.BUTTON_PRESS)
{
Gdk.EventButton eb = (Gdk.EventButton) event;
//Now I can use "eb" for e.g. eb.state or eb.x
... etc.
--
When I try to compile, I get an error. It seems to be an er
On 28 October 2013 19:50, Andre Masella wrote:
Andre, Just a quick thanks for your help.
\d
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list