diff options
author | Ted Gould <ted@gould.cx> | 2010-08-03 16:18:42 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-03 16:18:42 -0500 |
commit | 84821ece8828fc87a45b9ba2ca75ef0a15d797ce (patch) | |
tree | 7d1861b1447697e90faeabef85884db42045d8d7 /src | |
parent | fc9d5d4f762493d0b8378b12ac6c8451e5b9683b (diff) | |
download | ayatana-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.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 3 | ||||
-rw-r--r-- | src/app-indicator.c | 3 | ||||
-rw-r--r-- | src/application-service-marshal.list | 1 |
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 |