gobjectification: a55073f9: Convenience define. Perhaps this should ...
sadrul at pidgin.im
sadrul at pidgin.im
Thu Mar 13 04:39:34 EDT 2008
-----------------------------------------------------------------
Revision: a55073f949d5824055bc1333c7f26f883b71086c
Ancestor: bf37bbdc71eac09f6d70c71e64c20eae697994c6
Author: sadrul at pidgin.im
Date: 2008-03-13T07:17:40
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/a55073f949d5824055bc1333c7f26f883b71086c
Modified files:
libpurple/connection.h
ChangeLog:
Convenience define. Perhaps this should just be a function.
-------------- next part --------------
============================================================
--- libpurple/connection.h ab4f9684cf419875525d20325c6b62bd57f920dc
+++ libpurple/connection.h c36e99ce115186baa36dc5fa031d7195af8c1f04
@@ -344,6 +344,11 @@ void purple_connection_set_state(PurpleC
*/
void purple_connection_set_state(PurpleConnection *gc, PurpleConnectionState state);
+#define purple_connection_turn_on_flags(gc, flags) \
+ purple_connection_set_flags((gc), (flags) | purple_connection_get_flags(gc))
+
+void purple_connection_set_flags(PurpleConnection *gc, PurpleConnectionFlags flags);
+
/**
* Sets the connection's account.
*
More information about the Commits
mailing list