/soc/2013/ankitkv/gobjectification: 0e01a98b2ef7: Renamed blistn...

Ankit Vani a at nevitus.org
Sat Jul 20 20:19:17 EDT 2013


Changeset: 0e01a98b2ef7c60572c00b42658b95686fb41a02
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-21 05:49 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/0e01a98b2ef7

Description:

Renamed blistnodes.[ch] to blistnode.[ch], presences.[ch] to presence.[ch]

diffstat:

 libpurple/Makefile.am                  |  12 ++++++------
 libpurple/blistnodes.c                 |   0 
 libpurple/blistnodes.h                 |   2 +-
 libpurple/blistnodetypes.h             |   4 ++--
 libpurple/plugins/idle.c               |   2 +-
 libpurple/plugins/perl/common/module.h |   2 +-
 libpurple/plugins/tcl/tcl_cmds.c       |   2 +-
 libpurple/presences.c                  |   2 +-
 libpurple/presences.h                  |   2 +-
 libpurple/purple.h.in                  |   2 +-
 libpurple/status.h                     |   4 ++--
 11 files changed, 17 insertions(+), 17 deletions(-)

diffs (183 lines):

diff --git a/libpurple/Makefile.am b/libpurple/Makefile.am
--- a/libpurple/Makefile.am
+++ b/libpurple/Makefile.am
@@ -40,7 +40,7 @@ purple_coresources = \
 	account.c \
 	accounts.c \
 	accountopt.c \
-	blistnodes.c \
+	blistnode.c \
 	blistnodetypes.c \
 	buddylist.c \
 	buddyicon.c \
@@ -79,7 +79,7 @@ purple_coresources = \
 	pluginpref.c \
 	pounce.c \
 	prefs.c \
-	presences.c \
+	presence.c \
 	proxy.c \
 	prpl.c \
 	request.c \
@@ -114,7 +114,7 @@ purple_coreheaders = \
 	account.h \
 	accounts.h \
 	accountopt.h \
-	blistnodes.h \
+	blistnode.h \
 	blistnodetypes.h \
 	buddylist.h \
 	buddyicon.h \
@@ -150,7 +150,7 @@ purple_coreheaders = \
 	pluginpref.h \
 	pounce.h \
 	prefs.h \
-	presences.h \
+	presence.h \
 	proxy.h \
 	prpl.h \
 	request.h \
@@ -227,10 +227,10 @@ CLEANFILES = \
 dbus_sources  = dbus-server.c dbus-useful.c
 dbus_headers  = dbus-bindings.h dbus-purple.h dbus-server.h dbus-useful.h dbus-define-api.h dbus-types.h
 
-dbus_exported = dbus-useful.h dbus-define-api.h account.h accounts.h blistnodes.h \
+dbus_exported = dbus-useful.h dbus-define-api.h account.h accounts.h blistnode.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 presences.h roomlist.h savedstatuses.h smiley.h status.h \
+                prefs.h presence.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/blistnodes.c b/libpurple/blistnode.c
rename from libpurple/blistnodes.c
rename to libpurple/blistnode.c
diff --git a/libpurple/blistnodes.h b/libpurple/blistnode.h
rename from libpurple/blistnodes.h
rename to libpurple/blistnode.h
--- a/libpurple/blistnodes.h
+++ b/libpurple/blistnode.h
@@ -1,5 +1,5 @@
 /**
- * @file blistnodes.h Buddy list node and Counting node API
+ * @file blistnode.h Buddy list node and Counting node API
  * @ingroup core
  */
 /* purple
diff --git a/libpurple/blistnodetypes.h b/libpurple/blistnodetypes.h
--- a/libpurple/blistnodetypes.h
+++ b/libpurple/blistnodetypes.h
@@ -25,7 +25,7 @@
 #ifndef _PURPLE_BLISTNODE_TYPES_H_
 #define _PURPLE_BLISTNODE_TYPES_H_
 
-#include "blistnodes.h"
+#include "blistnode.h"
 
 #define PURPLE_TYPE_BUDDY             (purple_buddy_get_type())
 #define PURPLE_BUDDY(obj)             (G_TYPE_CHECK_INSTANCE_CAST((obj), PURPLE_TYPE_BUDDY, PurpleBuddy))
@@ -78,7 +78,7 @@ typedef struct _PurpleChatClass PurpleCh
 #include "account.h"
 #include "buddyicon.h"
 #include "media.h"
-#include "presences.h"
+#include "presence.h"
 #include "status.h"
 
 #define PURPLE_BUDDY_IS_ONLINE(b) \
diff --git a/libpurple/plugins/idle.c b/libpurple/plugins/idle.c
--- a/libpurple/plugins/idle.c
+++ b/libpurple/plugins/idle.c
@@ -28,7 +28,7 @@
 #include "debug.h"
 #include "notify.h"
 #include "plugin.h"
-#include "presences.h"
+#include "presence.h"
 #include "request.h"
 #include "server.h"
 #include "status.h"
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 "presences.h"
+#include "presence.h"
 #include "prpl.h"
 #include "proxy.h"
 #include "request.h"
diff --git a/libpurple/plugins/tcl/tcl_cmds.c b/libpurple/plugins/tcl/tcl_cmds.c
--- a/libpurple/plugins/tcl/tcl_cmds.c
+++ b/libpurple/plugins/tcl/tcl_cmds.c
@@ -33,7 +33,7 @@
 #include "savedstatuses.h"
 #include "debug.h"
 #include "prefs.h"
-#include "presences.h"
+#include "presence.h"
 #include "core.h"
 
 #include "tcl_purple.h"
diff --git a/libpurple/presences.c b/libpurple/presence.c
rename from libpurple/presences.c
rename to libpurple/presence.c
--- a/libpurple/presences.c
+++ b/libpurple/presence.c
@@ -21,7 +21,7 @@
 #include "internal.h"
 #include "debug.h"
 #include "dbus-maybe.h"
-#include "presences.h"
+#include "presence.h"
 
 #define PURPLE_PRESENCE_GET_PRIVATE(obj) \
 	(G_TYPE_INSTANCE_GET_PRIVATE((obj), PURPLE_TYPE_PRESENCE, PurplePresencePrivate))
diff --git a/libpurple/presences.h b/libpurple/presence.h
rename from libpurple/presences.h
rename to libpurple/presence.h
--- a/libpurple/presences.h
+++ b/libpurple/presence.h
@@ -1,5 +1,5 @@
 /**
- * @file presences.h Presence, account presence and buddy presence API
+ * @file presence.h Presence, account presence and buddy presence API
  * @ingroup core
  */
 /*
diff --git a/libpurple/purple.h.in b/libpurple/purple.h.in
--- a/libpurple/purple.h.in
+++ b/libpurple/purple.h.in
@@ -75,7 +75,7 @@
 #include <pluginpref.h>
 #include <pounce.h>
 #include <prefs.h>
-#include <presences.h>
+#include <presence.h>
 #include <proxy.h>
 #include <prpl.h>
 #include <request.h>
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 presences.h
+ * @see presence.h
  */
 
 /**
@@ -111,7 +111,7 @@ typedef enum
 	PURPLE_STATUS_NUM_PRIMITIVES
 } PurpleStatusPrimitive;
 
-#include "presences.h"
+#include "presence.h"
 
 #define PURPLE_TUNE_ARTIST	"tune_artist"
 #define PURPLE_TUNE_TITLE	"tune_title"



More information about the Commits mailing list