aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2010-06-19 09:34:12 -0400
committerMichael Terry <michael.terry@canonical.com>2010-06-19 09:34:12 -0400
commit60abdc2090b0a77e98011b4952bfad396db57626 (patch)
tree29d1c8a74bdb4d74059c926540203c24f5d0494d /src
parente1f36a8445d1851f15a396ba5488119c298e593d (diff)
downloadlibayatana-appindicator-60abdc2090b0a77e98011b4952bfad396db57626.tar.gz
libayatana-appindicator-60abdc2090b0a77e98011b4952bfad396db57626.tar.bz2
libayatana-appindicator-60abdc2090b0a77e98011b4952bfad396db57626.zip
use gtk3 versions of dbusmenu and indicator; use appindicator3 0.1 rather than appindicator 3.1
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am24
-rw-r--r--src/appindicator3-0.1.pc.in (renamed from src/appindicator-3.1.pc.in)4
-rw-r--r--src/dbus-properties-client.h2
3 files changed, 15 insertions, 15 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e3abf9f..2f0a061 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,7 +1,7 @@
CLEANFILES =
DISTCLEANFILES =
BUILT_SOURCES =
-EXTRA_DIST = appindicator-0.1.pc.in appindicator-3.1.pc.in
+EXTRA_DIST = appindicator-0.1.pc.in appindicator3-0.1.pc.in
include $(top_srcdir)/Makefile.am.enum
include $(top_srcdir)/Makefile.am.marshal
@@ -79,7 +79,7 @@ glib_marshal_prefix = _application_service_marshal
# Library
##################################
-pkgconfig_DATA = appindicator-0.1.pc appindicator-3.1.pc
+pkgconfig_DATA = appindicator-0.1.pc appindicator3-0.1.pc
pkgconfigdir = $(libdir)/pkgconfig
glib_enum_h = app-indicator-enum-types.h
@@ -93,7 +93,7 @@ lib_LTLIBRARIES = \
libappindicator3.la
libappindicatorincludedir=$(includedir)/libappindicator-0.1/libappindicator
-libappindicator3includedir=$(includedir)/libappindicator-3.1/libappindicator
+libappindicator3includedir=$(includedir)/libappindicator3-0.1/libappindicator
libappindicator_headers = \
app-indicator.h
@@ -191,15 +191,15 @@ AppIndicator_0_1_gir_CFLAGS = $(INDICATOR_CFLAGS) -I$(srcdir) -I$(top_builddir)/
AppIndicator_0_1_gir_LIBS = libappindicator.la
AppIndicator_0_1_gir_FILES = $(introspection_sources)
-AppIndicator-3.1.gir: libappindicator.la $(glib_enum_h)
-AppIndicator_3_1_gir_INCLUDES = \
+AppIndicator3-0.1.gir: libappindicator3.la $(glib_enum_h)
+AppIndicator3_0_1_gir_INCLUDES = \
GObject-2.0 \
Gtk-3.0
-AppIndicator_3_1_gir_CFLAGS = $(INDICATOR3_CFLAGS) -I$(srcdir) -I$(top_builddir)/src
-AppIndicator_3_1_gir_LIBS = libappindicator3.la
-AppIndicator_3_1_gir_FILES = $(introspection_sources)
+AppIndicator3_0_1_gir_CFLAGS = $(INDICATOR3_CFLAGS) -I$(srcdir) -I$(top_builddir)/src
+AppIndicator3_0_1_gir_LIBS = libappindicator3.la
+AppIndicator3_0_1_gir_FILES = $(introspection_sources)
-INTROSPECTION_GIRS += AppIndicator-0.1.gir AppIndicator-3.1.gir
+INTROSPECTION_GIRS += AppIndicator-0.1.gir AppIndicator3-0.1.gir
girdir = $(datadir)/gir-1.0
gir_DATA = $(INTROSPECTION_GIRS)
@@ -218,7 +218,7 @@ endif
if HAVE_INTROSPECTION
vapidir = $(datadir)/vala/vapi
-vapi_DATA = AppIndicator-0.1.vapi AppIndicator-3.1.vapi
+vapi_DATA = AppIndicator-0.1.vapi AppIndicator3-0.1.vapi
AppIndicator-0.1.vapi: AppIndicator-0.1.gir Makefile.am
$(VALA_API_GEN) --library=AppIndicator-0.1 \
@@ -226,8 +226,8 @@ AppIndicator-0.1.vapi: AppIndicator-0.1.gir Makefile.am
--vapidir=$(top_builddir)/src \
$<
-AppIndicator-3.1.vapi: AppIndicator-3.1.gir Makefile.am
- $(VALA_API_GEN) --library=AppIndicator-3.1 \
+AppIndicator3-0.1.vapi: AppIndicator3-0.1.gir Makefile.am
+ $(VALA_API_GEN) --library=AppIndicator3-0.1 \
--pkg gtk+-3.0 \
--vapidir=$(top_builddir)/src \
$<
diff --git a/src/appindicator-3.1.pc.in b/src/appindicator3-0.1.pc.in
index 37ed687..a485910 100644
--- a/src/appindicator-3.1.pc.in
+++ b/src/appindicator3-0.1.pc.in
@@ -4,11 +4,11 @@ libdir=@libdir@
bindir=@bindir@
includedir=@includedir@
-Cflags: -I${includedir}/libappindicator-3.1
+Cflags: -I${includedir}/libappindicator3-0.1
Requires: dbusmenu-glib gtk+-3.0
Libs: -L${libdir} -lappindicator3
-Name: appindicator-3.1
+Name: appindicator3-0.1
Description: Application indicators
Version: @VERSION@
diff --git a/src/dbus-properties-client.h b/src/dbus-properties-client.h
index dc9f299..6f08e78 100644
--- a/src/dbus-properties-client.h
+++ b/src/dbus-properties-client.h
@@ -39,7 +39,7 @@ org_freedesktop_DBus_Properties_get_async_callback (DBusGProxy *proxy, DBusGProx
{
DBusGAsyncData *data = (DBusGAsyncData*) user_data;
GError *error = NULL;
- GValue OUT_Value = {0};
+ GValue OUT_Value = { 0, };
dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_VALUE, &OUT_Value, G_TYPE_INVALID);
(*(org_freedesktop_DBus_Properties_get_reply)data->cb) (proxy, OUT_Value, error, data->userdata);
return;