aboutsummaryrefslogtreecommitdiff
path: root/bindings/vala/examples
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-09-28 14:22:30 -0400
committerKen VanDine <ken.vandine@canonical.com>2011-09-28 14:22:30 -0400
commit641031fc25e1fa12228c47437bad46db0e0a7292 (patch)
treec52d711c524d9b13c59718b11442ffd3e4effc40 /bindings/vala/examples
parent2d4793adccf26c9bfcea40cb47fe615ce7c3f30d (diff)
parentc93b59dcdd7d9e4fcfa3b6a4cdb2f06bb41d9156 (diff)
downloadlibayatana-appindicator-641031fc25e1fa12228c47437bad46db0e0a7292.tar.gz
libayatana-appindicator-641031fc25e1fa12228c47437bad46db0e0a7292.tar.bz2
libayatana-appindicator-641031fc25e1fa12228c47437bad46db0e0a7292.zip
* New upstream release (0.4.0).
* Fix VAPI file for Vala bindings (LP: #789588) * New upstream release (0.4.1). * Fix build.
Diffstat (limited to 'bindings/vala/examples')
-rw-r--r--bindings/vala/examples/Makefile.in6
-rw-r--r--bindings/vala/examples/indicator-example.vala1
2 files changed, 6 insertions, 1 deletions
diff --git a/bindings/vala/examples/Makefile.in b/bindings/vala/examples/Makefile.in
index cfa20a8..69e13ae 100644
--- a/bindings/vala/examples/Makefile.in
+++ b/bindings/vala/examples/Makefile.in
@@ -112,6 +112,7 @@ CSC = @CSC@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
ECHO_C = @ECHO_C@
@@ -131,6 +132,8 @@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
GLIB_MKENUMS = @GLIB_MKENUMS@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
+GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
+GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
GTKDOC_REBASE = @GTKDOC_REBASE@
GTK_SHARP_CFLAGS = @GTK_SHARP_CFLAGS@
@@ -163,6 +166,7 @@ LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MONO_DEPENDENCY_CFLAGS = @MONO_DEPENDENCY_CFLAGS@
MONO_DEPENDENCY_LIBS = @MONO_DEPENDENCY_LIBS@
@@ -208,6 +212,7 @@ abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
am__include = @am__include@
@@ -240,7 +245,6 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
-lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
diff --git a/bindings/vala/examples/indicator-example.vala b/bindings/vala/examples/indicator-example.vala
index 7bb1d7d..8feb4ba 100644
--- a/bindings/vala/examples/indicator-example.vala
+++ b/bindings/vala/examples/indicator-example.vala
@@ -34,6 +34,7 @@ public class IndicatorExample {
var indicator = new Indicator(win.title, "indicator-messages",
IndicatorCategory.APPLICATION_STATUS);
+ if (!(indicator is Indicator)) return -1;
indicator.set_status(IndicatorStatus.ACTIVE);
indicator.set_attention_icon("indicator-messages-new");