[Vala] Bunch of compilation warnings in a Vala GTK3 app



I'm writing a simple GUI with GTK3 and Vala. It compiles and works fine.
But gives me a bunch of errors while compiling,

The code is here
https://dl.dropbox.com/u/8501878/gnome-shell-theme-elegance-colors.zip

I'm on Ubuntu and using Vala 0.18 from Vala PPA.

valac --pkg gtk+-3.0 elegance-colors-gui.vala -o elegance-colors-gui
/home/satya/Workspace/gnome-shell-theme-elegance-colors/elegance-colors-gui.vala.c:
In function ‘elegance_colors_window_export_theme’:
/home/satya/Workspace/gnome-shell-theme-elegance-colors/elegance-colors-gui.vala.c:441:10:
warning: assignment from incompatible pointer type [enabled by default]
/home/satya/Workspace/gnome-shell-theme-elegance-colors/elegance-colors-gui.vala.c:483:11:
warning: assignment from incompatible pointer type [enabled by default]
/home/satya/Workspace/gnome-shell-theme-elegance-colors/elegance-colors-gui.vala.c:
In function ‘elegance_colors_window_on_export’:
/home/satya/Workspace/gnome-shell-theme-elegance-colors/elegance-colors-gui.vala.c:612:11:
warning: assignment from incompatible pointer type [enabled by default]
/home/satya/Workspace/gnome-shell-theme-elegance-colors/elegance-colors-gui.vala.c:658:11:
warning: assignment from incompatible pointer type [enabled by default]

-- 
Satyajit Sahoo
Profile - Facebook <http://facebook.com/satya164>,
Google+<http://plus.google.com/u/0/114564489020097923600>
Artwork - DeviantArt <http://satya164.deviantart.com>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]