gossip r2870 - in trunk: . libgossip src
- From: mr svn gnome org
- To: svn-commits-list gnome org
- Subject: gossip r2870 - in trunk: . libgossip src
- Date: Sun, 11 Jan 2009 18:48:37 +0000 (UTC)
Author: mr
Date: Sun Jan 11 18:48:36 2009
New Revision: 2870
URL: http://svn.gnome.org/viewvc/gossip?rev=2870&view=rev
Log:
* libgossip/gossip-account-manager.c:
* libgossip/gossip-chatroom-manager.c:
* libgossip/gossip-message.c:
* src/gossip-theme.c: Use g_date_set_time_t() and return NULL not
FALSE for a Gossip type pointer. Fixes bug #559657 (Kjartan
Maraas, Christian Dywan).
Modified:
trunk/ChangeLog
trunk/libgossip/gossip-account-manager.c
trunk/libgossip/gossip-chatroom-manager.c
trunk/libgossip/gossip-message.c
trunk/src/gossip-theme.c
Modified: trunk/libgossip/gossip-account-manager.c
==============================================================================
--- trunk/libgossip/gossip-account-manager.c (original)
+++ trunk/libgossip/gossip-account-manager.c Sun Jan 11 18:48:36 2009
@@ -342,7 +342,7 @@
GossipAccountManagerPrivate *priv;
const gchar *name;
- g_return_val_if_fail (GOSSIP_IS_ACCOUNT_MANAGER (manager), FALSE);
+ g_return_val_if_fail (GOSSIP_IS_ACCOUNT_MANAGER (manager), NULL);
priv = GOSSIP_ACCOUNT_MANAGER_GET_PRIVATE (manager);
Modified: trunk/libgossip/gossip-chatroom-manager.c
==============================================================================
--- trunk/libgossip/gossip-chatroom-manager.c (original)
+++ trunk/libgossip/gossip-chatroom-manager.c Sun Jan 11 18:48:36 2009
@@ -595,7 +595,7 @@
GossipChatroomManagerPrivate *priv;
GList *l;
- g_return_val_if_fail (GOSSIP_IS_CHATROOM_MANAGER (manager), FALSE);
+ g_return_val_if_fail (GOSSIP_IS_CHATROOM_MANAGER (manager), NULL);
priv = GOSSIP_CHATROOM_MANAGER_GET_PRIVATE (manager);
Modified: trunk/libgossip/gossip-message.c
==============================================================================
--- trunk/libgossip/gossip-message.c (original)
+++ trunk/libgossip/gossip-message.c Sun Jan 11 18:48:36 2009
@@ -591,7 +591,7 @@
}
date = g_date_new ();
- g_date_set_time (date, *timestamp);
+ g_date_set_time_t (date, *timestamp);
return date;
}
Modified: trunk/src/gossip-theme.c
==============================================================================
--- trunk/src/gossip-theme.c (original)
+++ trunk/src/gossip-theme.c Sun Jan 11 18:48:36 2009
@@ -174,7 +174,7 @@
date = gossip_message_get_date_and_time (message, ×tamp);
last_date = g_date_new ();
- g_date_set_time (last_date, gossip_chat_view_get_last_timestamp (view));
+ g_date_set_time_t (last_date, gossip_chat_view_get_last_timestamp (view));
append_date = FALSE;
append_time = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]