aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-04 00:23:05 +0100
committerTed Gould <ted@canonical.com>2009-08-04 00:23:05 +0100
commita1fa7baf4cdc6b0a29ba2d04e89691e6f1f02b72 (patch)
tree564c261e3d8cacb45e7b2fe36be8c7ef6e8a4c58 /examples
parent064740bd411abe73a67a9c75f469f04d8259afdb (diff)
parent475cf3d1bc5ede2ba3e9388edf1b12345ebf5986 (diff)
downloadlibayatana-indicator-a1fa7baf4cdc6b0a29ba2d04e89691e6f1f02b72.tar.gz
libayatana-indicator-a1fa7baf4cdc6b0a29ba2d04e89691e6f1f02b72.tar.bz2
libayatana-indicator-a1fa7baf4cdc6b0a29ba2d04e89691e6f1f02b72.zip
Merging in upstream code to split out libindicate-gtk
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am14
-rw-r--r--examples/im-client.c1
-rw-r--r--examples/listen-and-print.c1
3 files changed, 12 insertions, 4 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 862046e..d6b74c6 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -33,22 +33,28 @@ listen_and_print_SOURCES = \
listen_and_print_CFLAGS = \
-I $(srcdir)/.. \
- $(LIBINDICATE_CFLAGS)
+ $(LIBINDICATE_CFLAGS) \
+ $(LIBINDICATEGTK_CFLAGS)
listen_and_print_LDADD = \
../libindicate/libindicate.la \
- $(LIBINDICATE_LIBS)
+ ../libindicate-gtk/libindicate-gtk.la \
+ $(LIBINDICATE_LIBS) \
+ $(LIBINDICATEGTK_LIBS)
im_client_SOURCES = \
im-client.c
im_client_CFLAGS = \
-I $(srcdir)/.. \
- $(LIBINDICATE_CFLAGS)
+ $(LIBINDICATE_CFLAGS) \
+ $(LIBINDICATEGTK_CFLAGS)
im_client_LDADD = \
../libindicate/libindicate.la \
- $(LIBINDICATE_LIBS)
+ ../libindicate-gtk/libindicate-gtk.la \
+ $(LIBINDICATE_LIBS) \
+ $(LIBINDICATEGTK_LIBS)
show_hide_server_SOURCES = \
show-hide-server.c
diff --git a/examples/im-client.c b/examples/im-client.c
index bf2fbb2..502484d 100644
--- a/examples/im-client.c
+++ b/examples/im-client.c
@@ -22,6 +22,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <glib.h>
#include "libindicate/server.h"
#include "libindicate/indicator-message.h"
+#include "libindicate-gtk/indicator.h"
gchar * patha = "/usr/share/icons/hicolor/16x16/apps/empathy.png";
gchar * pathb = "/usr/share/icons/hicolor/22x22/apps/empathy.png";
diff --git a/examples/listen-and-print.c b/examples/listen-and-print.c
index dcad92b..57cb7be 100644
--- a/examples/listen-and-print.c
+++ b/examples/listen-and-print.c
@@ -21,6 +21,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include <glib.h>
#include "libindicate/listener.h"
+#include "libindicate-gtk/listener.h"
static void
show_property_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, gchar * propertydata, gpointer data)