From 9f1a60dbba69844c0a04b3dd86280352736187ce Mon Sep 17 00:00:00 2001 From: Mikael Hallendal Date: Thu, 27 Nov 2003 01:25:50 +0000 Subject: 2003-11-26 Mikael Hallendal * bus/*.[ch]: * dbus/*.[ch]: * glib/*.[ch]: Made ref functions return the pointer --- bus/signals.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bus/signals.h') diff --git a/bus/signals.h b/bus/signals.h index fab018ae..ef578c86 100644 --- a/bus/signals.h +++ b/bus/signals.h @@ -40,7 +40,7 @@ typedef enum } BusMatchFlags; BusMatchRule* bus_match_rule_new (DBusConnection *matches_go_to); -void bus_match_rule_ref (BusMatchRule *rule); +BusMatchRule* bus_match_rule_ref (BusMatchRule *rule); void bus_match_rule_unref (BusMatchRule *rule); dbus_bool_t bus_match_rule_set_message_type (BusMatchRule *rule, @@ -61,7 +61,7 @@ BusMatchRule* bus_match_rule_parse (DBusConnection *matches_go_to, DBusError *error); BusMatchmaker* bus_matchmaker_new (void); -void bus_matchmaker_ref (BusMatchmaker *matchmaker); +BusMatchmaker* bus_matchmaker_ref (BusMatchmaker *matchmaker); void bus_matchmaker_unref (BusMatchmaker *matchmaker); dbus_bool_t bus_matchmaker_add_rule (BusMatchmaker *matchmaker, -- cgit v1.2.3