/soc/2013/ankitkv/gobjectification: d9b84134b5f7: Renamed presen...

Ankit Vani a at nevitus.org
Fri Jul 19 17:13:04 EDT 2013


Changeset: d9b84134b5f749ef06a69332cc25b39f4c761956
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-20 02:42 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/d9b84134b5f7

Description:

Renamed presence.[ch] to presences.[ch] since it contains PurplePresence, PurpleAccountPresence, PurpleBuddyPresence

diffstat:

 libpurple/Makefile.am                  |  6 +++---
 libpurple/plugins/perl/common/module.h |  2 +-
 libpurple/presence.c                   |  2 +-
 libpurple/presence.h                   |  2 +-
 libpurple/status.h                     |  2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diffs (80 lines):

diff --git a/libpurple/Makefile.am b/libpurple/Makefile.am
--- a/libpurple/Makefile.am
+++ b/libpurple/Makefile.am
@@ -79,7 +79,7 @@ purple_coresources = \
 	pluginpref.c \
 	pounce.c \
 	prefs.c \
-	presence.c \
+	presences.c \
 	proxy.c \
 	prpl.c \
 	request.c \
@@ -150,7 +150,7 @@ purple_coreheaders = \
 	pluginpref.h \
 	pounce.h \
 	prefs.h \
-	presence.h \
+	presences.h \
 	proxy.h \
 	prpl.h \
 	request.h \
@@ -230,7 +230,7 @@ dbus_headers  = dbus-bindings.h dbus-pur
 dbus_exported = dbus-useful.h dbus-define-api.h account.h accounts.h blistnodes.h \
                 blistnodetypes.h buddylist.h buddyicon.h connection.h conversation.h \
                 conversationtypes.h conversations.h core.h ft.h log.h notify.h \
-                prefs.h presence.h roomlist.h savedstatuses.h smiley.h status.h \
+                prefs.h presences.h roomlist.h savedstatuses.h smiley.h status.h \
                 server.h util.h xmlnode.h prpl.h
 
 purple_build_coreheaders = $(addprefix $(srcdir)/, $(purple_coreheaders)) \
diff --git a/libpurple/plugins/perl/common/module.h b/libpurple/plugins/perl/common/module.h
--- a/libpurple/plugins/perl/common/module.h
+++ b/libpurple/plugins/perl/common/module.h
@@ -59,7 +59,7 @@ typedef struct group *Purple__Group;
 #include "pluginpref.h"
 #include "pounce.h"
 #include "prefs.h"
-#include "presence.h"
+#include "presences.h"
 #include "prpl.h"
 #include "proxy.h"
 #include "request.h"
diff --git a/libpurple/presence.c b/libpurple/presences.c
rename from libpurple/presence.c
rename to libpurple/presences.c
--- a/libpurple/presence.c
+++ b/libpurple/presences.c
@@ -18,7 +18,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
  */
-#include "presence.h"
+#include "presences.h"
 
 #define PURPLE_PRESENCE_GET_PRIVATE(obj) \
 	(G_TYPE_INSTANCE_GET_PRIVATE((obj), PURPLE_TYPE_PRESENCE, PurplePresencePrivate))
diff --git a/libpurple/presence.h b/libpurple/presences.h
rename from libpurple/presence.h
rename to libpurple/presences.h
--- a/libpurple/presence.h
+++ b/libpurple/presences.h
@@ -1,5 +1,5 @@
 /**
- * @file presence.h Presence API
+ * @file presences.h Presence, account presence and buddy presence API
  * @ingroup core
  */
 /*
diff --git a/libpurple/status.h b/libpurple/status.h
--- a/libpurple/status.h
+++ b/libpurple/status.h
@@ -64,7 +64,7 @@
  * A PurplePresence is like a collection of PurpleStatuses (plus some
  * other random info).
  *
- * @see presence.h
+ * @see presences.h
  */
 
 /**



More information about the Commits mailing list