aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-03 23:49:42 +0100
committerTed Gould <ted@canonical.com>2009-08-03 23:49:42 +0100
commitd94f22ad592b9f50898c26f06f7750ab4df686cf (patch)
tree7ede80c894744a0bbc29742a49db6ff54ed47f6b /examples
parentf6fb98db58787383a890608f8bfae0664528e83d (diff)
downloadlibayatana-indicator-d94f22ad592b9f50898c26f06f7750ab4df686cf.tar.gz
libayatana-indicator-d94f22ad592b9f50898c26f06f7750ab4df686cf.tar.bz2
libayatana-indicator-d94f22ad592b9f50898c26f06f7750ab4df686cf.zip
Fixing these guys to include the -gtk library where needed
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am14
-rw-r--r--examples/im-client.c1
2 files changed, 11 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";