← Back to team overview

ayatana-commits team mailing list archive

[Branch ~ted/libindicate/messages-v2] Rev 387: Adding a _set_ in the function names for consistency with the rest of the API.

 

------------------------------------------------------------
revno: 387
committer: Ted Gould <ted@xxxxxxxxxxxxx>
branch nick: messages-v2
timestamp: Tue 2009-09-01 12:09:56 -0500
message:
  Adding a _set_ in the function names for consistency with the rest of the API.
modified:
  libindicate/listener.c
  libindicate/listener.h


--
lp:~ted/libindicate/messages-v2
https://code.launchpad.net/~ted/libindicate/messages-v2

Your team ayatana-commits is subscribed to branch lp:~ted/libindicate/messages-v2.
To unsubscribe from this branch go to https://code.launchpad.net/~ted/libindicate/messages-v2/+edit-subscription.
=== modified file 'libindicate/listener.c'
--- libindicate/listener.c	2009-09-01 17:06:40 +0000
+++ libindicate/listener.c	2009-09-01 17:09:56 +0000
@@ -1101,7 +1101,7 @@
 }
 
 /**
-	indicate_listener_default_max_indicators:
+	indicate_listener_set_default_max_indicators:
 	@listener: Instance of #IndicateListener to set on.
 	@max: The new default number of max indicators.
 
@@ -1113,7 +1113,7 @@
 	      servers.  It only affects new servers.
 */
 void
-indicate_listener_default_max_indicators (IndicateListener * listener, gint max)
+indicate_listener_set_default_max_indicators (IndicateListener * listener, gint max)
 {
 	g_return_if_fail(INDICATE_IS_LISTENER(listener));
 	IndicateListenerPrivate * priv = INDICATE_LISTENER_GET_PRIVATE(listener);
@@ -1122,7 +1122,7 @@
 }
 
 /**
-	indicate_listener_server_max_indicators:
+	indicate_listener_set_server_max_indicators:
 	@listener: Instance of #IndicateListener to set on.
 	@server: Server that the new max should be set on.
 	@max: The new number of max indicators.
@@ -1134,7 +1134,7 @@
 	sent asynchronously.
 */
 void
-indicate_listener_server_max_indicators (IndicateListener * listener, IndicateListenerServer * server, gint max)
+indicate_listener_set_server_max_indicators (IndicateListener * listener, IndicateListenerServer * server, gint max)
 {
 	g_return_if_fail(INDICATE_IS_LISTENER(listener));
 	g_return_if_fail(server != NULL); /* All we can really check :-/ */

=== modified file 'libindicate/listener.h'
--- libindicate/listener.h	2009-08-31 21:40:26 +0000
+++ libindicate/listener.h	2009-09-01 17:09:56 +0000
@@ -152,9 +152,9 @@
 gboolean              indicate_listener_server_check_interest    (IndicateListener * listener,
                                                                   IndicateListenerServer * server,
                                                                   IndicateInterests interest);
-void                  indicate_listener_default_max_indicators   (IndicateListener * listener,
+void                  indicate_listener_set_default_max_indicators (IndicateListener * listener,
                                                                   gint max);
-void                  indicate_listener_server_max_indicators    (IndicateListener * listener,
+void                  indicate_listener_set_server_max_indicators    (IndicateListener * listener,
                                                                   IndicateListenerServer * server,
                                                                   gint max);