From 03f9cec1d17d039fb2b2b608386c3623172b2ea2 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Tue, 26 Jan 2010 00:39:04 +0100 Subject: [PATCH] examples compile again --- configure.ac | 5 ----- examples/library/application/application.vala | 16 ++-------------- examples/library/viewstates/Makefile.am | 4 ---- 3 files changed, 2 insertions(+), 23 deletions(-) diff --git a/configure.ac b/configure.ac index 792cf77..9ab3289 100644 --- a/configure.ac +++ b/configure.ac @@ -42,11 +42,6 @@ PKG_CHECK_MODULES(DEPS, AC_SUBST(DEPS_CFLAGS) AC_SUBST(DEPS_LIBS) -PKG_CHECK_MODULES(THREAD, - gthread-2.0 >= $GLIB_REQUIRED) -AC_SUBST(THREAD_CFLAGS) -AC_SUBST(THREAD_LIBS) - AC_ARG_WITH(edje-cc, [ --with-edje-cc=PATH specify a specific path to edje_cc], [ diff --git a/examples/library/application/application.vala b/examples/library/application/application.vala index 127b5b2..cfd3cb1 100644 --- a/examples/library/application/application.vala +++ b/examples/library/application/application.vala @@ -61,18 +61,6 @@ class DemoApplication : EflVala.Application public void on_button_press() { debug( "Send PING to backend!" ); - sendCommandToBackend( new EflVala.Command( "PING" ) ); - } - - public override void handleCommandFromBackend( EflVala.Command command ) - { - button.label_set( "PONG from backend! "); - } - - public override void handleCommandFromFrontend( EflVala.Command command ) - { - if ( command.command == "PING" ) - sendCommandToFrontend( new EflVala.Command( "PONG" ) ); } } @@ -83,9 +71,9 @@ public static int main( string[] args ) var app = new DemoApplication( args ); var res = app.run(); if ( res >= 0 ) - debug( "app exit OK" ); + debug( "App exit OK" ); else - debug( "app exit with ERROR" ); + debug( "App exit with ERROR" ); return res; } diff --git a/examples/library/viewstates/Makefile.am b/examples/library/viewstates/Makefile.am index 06b3312..c787fa3 100644 --- a/examples/library/viewstates/Makefile.am +++ b/examples/library/viewstates/Makefile.am @@ -7,7 +7,6 @@ AUTOMAKE_OPTIONS = subdir-objects AM_CPPFLAGS = \ -I$(top_srcdir)/eflvala \ $(DEPS_CFLAGS) \ - $(THREAD_CFLAGS) \ -include $(CONFIG_HEADER) \ $(NULL) @@ -21,7 +20,6 @@ viewstates_VALASOURCES = \ viewstates_SOURCES = \ $(viewstates_VALASOURCES:.vala=.c) \ - \ $(NULL) .vala.stamp: $(viewstates_VALASOURCES) @@ -34,13 +32,11 @@ viewstates_SOURCES = \ --pkg ecore \ --pkg elm \ --save-temps \ - --thread \ --basedir $(top_srcdir) $^ touch $@ viewstates_LDADD = \ $(DEPS_LIBS) \ - $(THREAD_LIBS) \ ../../../eflvala/libeflvala.la \ $(NULL) -- 2.11.4.GIT