Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update to vala 0.11.

  • Loading branch information...
commit dcf7964c8334c78d61564f292923f4ae7f2329ba 1 parent 781407f
@rainwoodman rainwoodman authored
View
2  applet/Makefile.am
@@ -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 \
View
1  globalmenu-plugin/Makefile.am
@@ -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 \
View
6 globalmenu-plugin/agent.vala
@@ -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
1  libserver/Makefile.am
@@ -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) \
Please sign in to comment.
Something went wrong with that request. Please try again.