> > *I would clean the following warning in my application, but not how to do > it:* > > > /home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:164:2: > warning: 'gtk_window_set_opacity' is deprecated (declared at > /usr/include/gtk-3.0/gtk/gtkwindow.h:142): Use 'gtk_widget_set_opacity' > instead [-Wdeprecated-declarations] > gtk_window_set_opacity ((GtkWindow*) self, 0.5); > ^ > /home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c: > In function 'main': > > /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 (); > ^
I would also appreciate it if anyone can offer a solution to remove these spurious warnings. Or even better, a fix to vala or perhaps the vapi generator to suppress deprecated overriding methods. Nice day Nor Jaidi Tuah PRIVILEGED/CONFIDENTIAL information may be contained in this message. If you are neither the addressee (intended recipient) nor an authorised recipient of the addressee, and have received this message in error, please destroy this message (including attachments) and notify the sender immediately. STRICT PROHIBITION: This message, whether in part or in whole, should not be reviewed, retained, copied, reused, disclosed, distributed or used for any purpose whatsoever. Such unauthorised use may be unlawful and may contain material protected by the Official Secrets Act (Cap 153) of the Laws of Brunei Darussalam. DISCLAIMER: We/This Department/The Government of Brunei Darussalam, accept[s] no responsibility for loss or damage arising from the use of this message in any manner whatsoever. Our messages are checked for viruses but we do not accept liability for any viruses which may be transmitted in or with this message. _______________________________________________ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list