changeset 22768:f1a4ad1526a2

* Renamespace serv_got_chat_join_failed to purple_serv_got_chat_join_failed (new API should be namespaced under purple_ even if it's in server.c). * Update the versions in configure.ac since we're now going to have 2.5.0. * Fix ChangeLog.API to reflect my renamespacing.
author John Bailey <rekkanoryo@rekkanoryo.org>
date Tue, 29 Apr 2008 02:58:23 +0000
parents 84877c54098b
children b30516259a8a 9467ae6096fd a95fcf01f72c
files ChangeLog.API configure.ac libpurple/protocols/jabber/chat.c libpurple/protocols/jabber/presence.c libpurple/server.c libpurple/server.h
diffstat 6 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog.API	Tue Apr 29 02:01:43 2008 +0000
+++ b/ChangeLog.API	Tue Apr 29 02:58:23 2008 +0000
@@ -1,9 +1,9 @@
 Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul
 
-version 2.x.x:
+version 2.5.0:
     libpurple:
         Added:
-        * serv_got_join_chat_failed
+        * purple_serv_got_join_chat_failed
         * chat-join-failed signal (see conversation-signals.dox)
 	perl:
 		Added:
--- a/configure.ac	Tue Apr 29 02:01:43 2008 +0000
+++ b/configure.ac	Tue Apr 29 02:58:23 2008 +0000
@@ -43,19 +43,19 @@
 #
 # Make sure to update finch/libgnt/configure.ac with libgnt version changes.
 #
-m4_define([purple_lt_current], [4])
+m4_define([purple_lt_current], [5])
 m4_define([purple_major_version], [2])
-m4_define([purple_minor_version], [4])
-m4_define([purple_micro_version], [2])
+m4_define([purple_minor_version], [5])
+m4_define([purple_micro_version], [0])
 m4_define([purple_version_suffix], [devel])
 m4_define([purple_version],
           [purple_major_version.purple_minor_version.purple_micro_version])
 m4_define([purple_display_version], purple_version[]m4_ifdef([purple_version_suffix],[purple_version_suffix]))
 
-m4_define([gnt_lt_current], [4])
+m4_define([gnt_lt_current], [5])
 m4_define([gnt_major_version], [2])
-m4_define([gnt_minor_version], [4])
-m4_define([gnt_micro_version], [2])
+m4_define([gnt_minor_version], [5])
+m4_define([gnt_micro_version], [0])
 m4_define([gnt_version_suffix], [devel])
 m4_define([gnt_version],
           [gnt_major_version.gnt_minor_version.gnt_micro_version])
--- a/libpurple/protocols/jabber/chat.c	Tue Apr 29 02:01:43 2008 +0000
+++ b/libpurple/protocols/jabber/chat.c	Tue Apr 29 02:58:23 2008 +0000
@@ -230,7 +230,7 @@
 		char *buf = g_strdup_printf(_("%s is not a valid room name"), room);
 		purple_notify_error(gc, _("Invalid Room Name"), _("Invalid Room Name"),
 				buf);
-		serv_got_join_chat_failed(gc, room_jid);
+		purple_serv_got_join_chat_failed(gc, room_jid);
 		g_free(room_jid);
 		g_free(buf);
 		return;
@@ -238,7 +238,7 @@
 		char *buf = g_strdup_printf(_("%s is not a valid server name"), server);
 		purple_notify_error(gc, _("Invalid Server Name"),
 				_("Invalid Server Name"), buf);
-		serv_got_join_chat_failed(gc, room_jid);
+		purple_serv_got_join_chat_failed(gc, room_jid);
 		g_free(room_jid);
 		g_free(buf);
 		return;
@@ -246,7 +246,7 @@
 		char *buf = g_strdup_printf(_("%s is not a valid room handle"), handle);
 		purple_notify_error(gc, _("Invalid Room Handle"),
 				_("Invalid Room Handle"), buf);
-		serv_got_join_chat_failed(gc, room_jid);
+		purple_serv_got_join_chat_failed(gc, room_jid);
 		g_free(buf);
 		g_free(room_jid);
 		return;
--- a/libpurple/protocols/jabber/presence.c	Tue Apr 29 02:01:43 2008 +0000
+++ b/libpurple/protocols/jabber/presence.c	Tue Apr 29 02:58:23 2008 +0000
@@ -575,7 +575,7 @@
 					serv_got_chat_left(js->gc, chat->id);
 			} else {
 				title = g_strdup_printf(_("Error joining chat %s"), from);
-				serv_got_join_chat_failed(js->gc, room_jid);
+				purple_serv_got_join_chat_failed(js->gc, room_jid);
 			}
 			purple_notify_error(js->gc, title, title, msg);
 			g_free(title);
--- a/libpurple/server.c	Tue Apr 29 02:01:43 2008 +0000
+++ b/libpurple/server.c	Tue Apr 29 02:58:23 2008 +0000
@@ -967,7 +967,7 @@
 	purple_signal_emit(purple_conversations_get_handle(), "chat-left", conv);
 }
 
-void serv_got_join_chat_failed(PurpleConnection *gc, const char *name)
+void purple_serv_got_join_chat_failed(PurpleConnection *gc, const char *name)
 {
 	purple_signal_emit(purple_conversations_get_handle(), "chat-join-failed",
 					gc, name);
--- a/libpurple/server.h	Tue Apr 29 02:01:43 2008 +0000
+++ b/libpurple/server.h	Tue Apr 29 02:58:23 2008 +0000
@@ -173,7 +173,7 @@
  * @param gc      The connection on which chat joining failed
  * @param name    The name of the chat which we did not join
  */
-void serv_got_join_chat_failed(PurpleConnection *gc, const char *name);
+void purple_serv_got_join_chat_failed(PurpleConnection *gc, const char *name);
 	
 void serv_got_chat_left(PurpleConnection *g, int id);
 void serv_got_chat_in(PurpleConnection *g, int id, const char *who,