Re: [Vala] question Gtk 3 + gstreamer 1.0
- From: Luca Bruno <lethalman88 gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] question Gtk 3 + gstreamer 1.0
- Date: Thu, 06 Mar 2014 09:31:56 +0100
On 06/03/2014 05:43, Michael Catanzaro wrote:
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 can avoid this one by passing --target-glib=2.36 (or
--target-glib=2.38) to valac.
But really, trying to fight warnings in the generated C code is a losing
game. In my projects I always compile the C code with -w.
This warning is fixed in recent vala versions, regardless of --target-glib.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]