changeset 16646:6de769ad94fe

merge of '0612cac578b7e81a69e733d921063a72a039a1d6' and '0e90e809fb5a55df5a30df76e946d0c2e0dfe8da'
author Mark Doliner <mark@kingant.net>
date Sun, 29 Apr 2007 07:27:26 +0000
parents 250623ba4218 (current diff) 9c791313ee7c (diff)
children ce913744ec7a
files
diffstat 6 files changed, 13 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Sun Apr 29 07:03:50 2007 +0000
+++ b/configure.ac	Sun Apr 29 07:27:26 2007 +0000
@@ -11,10 +11,15 @@
 #   purple_micro_version = 0
 #   purple_major_version += 1;
 #
+# purple_version_suffix should be similar to one of the following:
+#   For beta releases:          [beta2]
+#   For code under development: [devel]
+#   For production releases:    []
+#
 m4_define([purple_major_version], [2])
 m4_define([purple_minor_version], [0])
 m4_define([purple_micro_version], [0])
-m4_define([purple_version_suffix], [devel])
+m4_define([purple_version_suffix], [beta7])
 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]))
--- a/libpurple/dnsquery.c	Sun Apr 29 07:03:50 2007 +0000
+++ b/libpurple/dnsquery.c	Sun Apr 29 07:27:26 2007 +0000
@@ -140,7 +140,7 @@
  * Begin the DNS resolver child process functions.
  */
 #ifdef HAVE_SIGNAL_H
-static void
+G_GNUC_NORETURN static void
 trap_gdb_bug()
 {
 	const char *message =
@@ -158,7 +158,7 @@
 }
 #endif
 
-static void
+G_GNUC_NORETURN static void
 purple_dnsquery_resolver_run(int child_out, int child_in, gboolean show_debug)
 {
 	dns_params_t dns_params;
--- a/libpurple/dnssrv.c	Sun Apr 29 07:03:50 2007 +0000
+++ b/libpurple/dnssrv.c	Sun Apr 29 07:27:26 2007 +0000
@@ -92,7 +92,7 @@
 
 #ifndef _WIN32
 
-static void
+G_GNUC_NORETURN static void
 resolve(int in, int out)
 {
 	GList *ret = NULL;
--- a/libpurple/savedstatuses.c	Sun Apr 29 07:03:50 2007 +0000
+++ b/libpurple/savedstatuses.c	Sun Apr 29 07:27:26 2007 +0000
@@ -154,7 +154,7 @@
 }
 
 /**
- * A magic number is calcuated for each status, and then the
+ * A magic number is calculated for each status, and then the
  * statuses are ordered by the magic number.  The magic number
  * is the date the status was last used offset by one day for
  * each time the status has been used (but only by 10 days at
--- a/pidgin/gtksavedstatuses.c	Sun Apr 29 07:03:50 2007 +0000
+++ b/pidgin/gtksavedstatuses.c	Sun Apr 29 07:27:26 2007 +0000
@@ -1677,7 +1677,7 @@
 	GList *sorted, *cur;
 	int i = 0;
 	int index = -1;
-	GdkPixbuf *pixbuf, *emblem;
+	GdkPixbuf *pixbuf;
 	GtkTreeIter iter;
 	GtkCellRenderer *text_rend;
 	GtkCellRenderer *icon_rend;
--- a/pidgin/gtkstatusbox.c	Sun Apr 29 07:03:50 2007 +0000
+++ b/pidgin/gtkstatusbox.c	Sun Apr 29 07:27:26 2007 +0000
@@ -2225,7 +2225,8 @@
 							PurpleSavedStatusSub *sub = purple_savedstatus_get_substatus(ss, acct);
 							if (sub) {
 								const PurpleStatusType *sub_type = purple_savedstatus_substatus_get_type(sub);
-								if (!strcmp(purple_status_type_get_id(sub_type),
+								const char *subtype_status_id = purple_status_type_get_id(sub_type);
+								if (subtype_status_id && !strcmp(subtype_status_id,
 										purple_status_type_get_id(acct_status_type)))
 									found = TRUE;
 							}