aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-03 16:18:42 -0500
committerTed Gould <ted@gould.cx>2010-08-03 16:18:42 -0500
commit84821ece8828fc87a45b9ba2ca75ef0a15d797ce (patch)
tree7d1861b1447697e90faeabef85884db42045d8d7
parentfc9d5d4f762493d0b8378b12ac6c8451e5b9683b (diff)
downloadayatana-indicator-application-84821ece8828fc87a45b9ba2ca75ef0a15d797ce.tar.gz
ayatana-indicator-application-84821ece8828fc87a45b9ba2ca75ef0a15d797ce.tar.bz2
ayatana-indicator-application-84821ece8828fc87a45b9ba2ca75ef0a15d797ce.zip
Reusing the application service marshallers, not beautiful, but it works for now.
-rw-r--r--src/Makefile.am3
-rw-r--r--src/app-indicator.c3
-rw-r--r--src/application-service-marshal.list1
3 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 68be1c0..b704b5e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -94,7 +94,8 @@ BUILT_SOURCES += \
libappindicator_la_SOURCES = \
$(libappindicator_headers) \
app-indicator-enum-types.c \
- app-indicator.c
+ app-indicator.c \
+ application-service-marshal.c
libappindicator_la_LDFLAGS = \
-version-info 0:0:0 \
diff --git a/src/app-indicator.c b/src/app-indicator.c
index ec153c6..e0ccec4 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -37,6 +37,7 @@ License version 3 and version 2.1 along with this program. If not, see
#include "app-indicator.h"
#include "app-indicator-enum-types.h"
+#include "application-service-marshal.h"
#include "notification-item-server.h"
#include "notification-watcher-client.h"
@@ -388,7 +389,7 @@ app_indicator_class_init (AppIndicatorClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (AppIndicatorClass, new_label),
NULL, NULL,
- g_cclosure_marshal_VOID__STRING_STRING,
+ _application_service_marshal_VOID__STRING_STRING,
G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_STRING);
/**
diff --git a/src/application-service-marshal.list b/src/application-service-marshal.list
index 4ac8398..b49ff41 100644
--- a/src/application-service-marshal.list
+++ b/src/application-service-marshal.list
@@ -18,3 +18,4 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
VOID: STRING, INT, STRING, STRING, STRING
VOID: INT, STRING
+VOID: STRING, STRING