Permalink
Browse files

update to vala 0.11.

  • Loading branch information...
1 parent 781407f commit dcf7964c8334c78d61564f292923f4ae7f2329ba @rainwoodman rainwoodman committed Nov 13, 2010
Showing with 3 additions and 7 deletions.
  1. +1 −1 applet/Makefile.am
  2. +1 −0 globalmenu-plugin/Makefile.am
  3. +0 −6 globalmenu-plugin/agent.vala
  4. +1 −0 libserver/Makefile.am
View
@@ -36,7 +36,7 @@ GlobalMenu_PanelApplet_SOURCES = \
$(NULL)
vala-ccode : $(VALASOURCES)
- $(VALAC) -C $(VALA_DEFAULT_PKGS) \
+ $(VALAC) --enable-deprecated -C $(VALA_DEFAULT_PKGS) \
--vapidir $(top_srcdir)/libserver \
--vapidir $(top_srcdir)/libsettings \
--pkg gtk+-2.0 \
@@ -29,6 +29,7 @@ libglobalmenu_plugin_la_SOURCES= \
vala-ccode : $(VALASOURCES)
$(VALAC) $(VALA_DEFAULT_PKGS) --thread -C \
--library=globalmenu-plugin \
+ --enable-deprecated \
-H globalmenu-plugin.h --vapidir=. \
$(VALASOURCES) \
--vapidir=$(top_srcdir)/libsettings \
@@ -11,12 +11,6 @@ internal class MenuBarAgent {
public bool has(QuirkType value) {
return (value & this) != 0;
}
- public void add(QuirkType value) {
- this = (value | this);
- }
- public void remove(QuirkType value) {
- this = (this & ~((uint)value));
- }
}
public QuirkType quirks;
View
@@ -56,6 +56,7 @@ libglobalmenu_server_la_LDFLAGS = -version-info 3:0:0 -Wl,--as-needed
vala-ccode: $(VALASOURCES) bindings.vapi
$(VALAC) $(VALA_DEFAULT_PKGS) \
-C \
+ --enable-deprecated \
-H $(HEADER_FILE) \
--library=globalmenu-server \
--vapi=$(VAPI_FILE) \

0 comments on commit dcf7964

Please sign in to comment.