summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2016-09-30 11:54:54 +0200
committerJens Georg <mail@jensge.org>2016-10-15 21:08:10 +0200
commit7fe77e02e890346baa8daa28b8d7e4a3f834b45b (patch)
treedda7213b912d4bd7e73a7b6928b9a5c5990434fc /examples
parentccc7ab11e4589a0a0147e8421654bde2df0381a5 (diff)
downloadgupnp-7fe77e02e890346baa8daa28b8d7e4a3f834b45b.tar.gz
Bump API/ABI versions
Signed-off-by: Jens Georg <mail@jensge.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am2
-rwxr-xr-xexamples/browse.js2
-rwxr-xr-xexamples/get-volume.js1
-rwxr-xr-xexamples/last-change.js2
4 files changed, 6 insertions, 1 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 853cb7c..dbd8606 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,5 +1,5 @@
AM_CFLAGS = $(LIBGUPNP_CFLAGS) -I$(top_srcdir) $(GTHREAD_CFLAGS)
-LDADD = $(top_builddir)/libgupnp/libgupnp-1.0.la
+LDADD = $(top_builddir)/libgupnp/libgupnp-1.2.la
noinst_PROGRAMS = light-server light-client
diff --git a/examples/browse.js b/examples/browse.js
index e7ec30e..d790ff5 100755
--- a/examples/browse.js
+++ b/examples/browse.js
@@ -26,6 +26,8 @@
// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.
+imports.gi.versions.GUPnP = "1.2"
+
const Mainloop = imports.mainloop;
const GUPnP = imports.gi.GUPnP;
const GObject = imports.gi.GObject;
diff --git a/examples/get-volume.js b/examples/get-volume.js
index 8f2939e..81b1345 100755
--- a/examples/get-volume.js
+++ b/examples/get-volume.js
@@ -26,6 +26,7 @@
// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.
+imports.gi.versions.GUPnP = "1.2"
const Mainloop = imports.mainloop;
const GUPnP = imports.gi.GUPnP;
diff --git a/examples/last-change.js b/examples/last-change.js
index a68e0d7..87e7a3c 100755
--- a/examples/last-change.js
+++ b/examples/last-change.js
@@ -26,6 +26,8 @@
// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
// DAMAGE.
+imports.gi.versions.GUPnP = "1.2"
+
const Mainloop = imports.mainloop;
const GUPnP = imports.gi.GUPnP;
const GObject = imports.gi.GObject;