aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-04 12:07:36 -0500
committerTed Gould <ted@gould.cx>2010-08-04 12:07:36 -0500
commitd58186ab8edd420512df29e05005f7722b7bb619 (patch)
tree8d18c17fc18345b7c62bec7f3366819dfa20d35e
parent1f1bb2ca74ccdbbbeaf0600b13ab12342d276b77 (diff)
downloadayatana-indicator-application-d58186ab8edd420512df29e05005f7722b7bb619.tar.gz
ayatana-indicator-application-d58186ab8edd420512df29e05005f7722b7bb619.tar.bz2
ayatana-indicator-application-d58186ab8edd420512df29e05005f7722b7bb619.zip
Updating signal emition to match new API
-rw-r--r--src/application-service-appstore.c6
-rw-r--r--src/application-service-marshal.list2
-rw-r--r--src/indicator-application.c4
3 files changed, 8 insertions, 4 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 17bb987..235ed4a 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -125,8 +125,8 @@ application_service_appstore_class_init (ApplicationServiceAppstoreClass *klass)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (ApplicationServiceAppstoreClass, application_added),
NULL, NULL,
- _application_service_marshal_VOID__STRING_INT_STRING_STRING_STRING,
- G_TYPE_NONE, 5, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_NONE);
+ _application_service_marshal_VOID__STRING_INT_STRING_STRING_STRING_STRING_STRING,
+ G_TYPE_NONE, 7, G_TYPE_STRING, G_TYPE_INT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_NONE);
signals[APPLICATION_REMOVED] = g_signal_new ("application-removed",
G_TYPE_FROM_CLASS(klass),
G_SIGNAL_RUN_LAST,
@@ -449,6 +449,8 @@ apply_status (Application * app, AppIndicatorStatus status)
app->dbus_name,
app->menu,
app->icon_path,
+ "",
+ "",
TRUE);
}
} else {
diff --git a/src/application-service-marshal.list b/src/application-service-marshal.list
index 4ac8398..506bb00 100644
--- a/src/application-service-marshal.list
+++ b/src/application-service-marshal.list
@@ -16,5 +16,5 @@
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
-VOID: STRING, INT, STRING, STRING, STRING
+VOID: STRING, INT, STRING, STRING, STRING, STRING, STRING
VOID: INT, STRING
diff --git a/src/indicator-application.c b/src/indicator-application.c
index 72f2110..32284d3 100644
--- a/src/indicator-application.c
+++ b/src/indicator-application.c
@@ -130,13 +130,15 @@ indicator_application_class_init (IndicatorApplicationClass *klass)
io_class->get_entries = get_entries;
io_class->get_location = get_location;
- dbus_g_object_register_marshaller(_application_service_marshal_VOID__STRING_INT_STRING_STRING_STRING,
+ dbus_g_object_register_marshaller(_application_service_marshal_VOID__STRING_INT_STRING_STRING_STRING_STRING_STRING,
G_TYPE_NONE,
G_TYPE_STRING,
G_TYPE_INT,
G_TYPE_STRING,
G_TYPE_STRING,
G_TYPE_STRING,
+ G_TYPE_STRING,
+ G_TYPE_STRING,
G_TYPE_INVALID);
dbus_g_object_register_marshaller(_application_service_marshal_VOID__INT_STRING,
G_TYPE_NONE,