gossip r2807 - in trunk: . libloudermouth



Author: rhult
Date: Sun May 18 14:32:06 2008
New Revision: 2807
URL: http://svn.gnome.org/viewvc/gossip?rev=2807&view=rev

Log:
2008-05-18  Richard Hult  <richard imendio com>

	* libloudermouth/lm-bs-transfer.c:
	(bs_transfer_channel_open_for_read): Return const string.


Modified:
   trunk/ChangeLog
   trunk/libloudermouth/lm-bs-transfer.c

Modified: trunk/libloudermouth/lm-bs-transfer.c
==============================================================================
--- trunk/libloudermouth/lm-bs-transfer.c	(original)
+++ trunk/libloudermouth/lm-bs-transfer.c	Sun May 18 14:32:06 2008
@@ -81,24 +81,24 @@
 
 static guint signals[TRANSFER_LAST_SIGNAL] = { 0 };
 
-static void     bs_transfer_finalize               (GObject         *object);
-static void     bs_transfer_free_streamhost_data   (gpointer         data);
-static void     bs_transfer_client_connected_cb    (LmBsClient      *client,
-						    StreamHostData  *sreamhost_data);
-static void     bs_transfer_client_disconnected_cb (LmBsClient      *client,
-						    StreamHostData  *sreamhost_data);
-static gboolean bs_transfer_channel_open_for_write (LmBsTransfer    *transfer,
-						    GError         **error);
-static gboolean bs_transfer_channel_open_for_read  (LmBsTransfer    *transfer,
-						    GError         **error);
-static gchar *  bs_transfer_io_error_to_string     (GError          *error);
-static void     bs_transfer_initiated              (LmBsTransfer    *transfer);
-static void     bs_transfer_complete               (LmBsTransfer    *transfer);
-static void     bs_transfer_progress               (LmBsTransfer    *transfer);
-static void     bs_transfer_error                  (LmBsTransfer    *transfer,
-						    const gchar     *error_msg);
-static gchar *  bs_transfer_get_initiator          (LmBsTransfer    *transfer);
-static gchar *  bs_transfer_get_target             (LmBsTransfer    *transfer);
+static void         bs_transfer_finalize               (GObject         *object);
+static void         bs_transfer_free_streamhost_data   (gpointer         data);
+static void         bs_transfer_client_connected_cb    (LmBsClient      *client,
+							StreamHostData  *sreamhost_data);
+static void         bs_transfer_client_disconnected_cb (LmBsClient      *client,
+							StreamHostData  *sreamhost_data);
+static gboolean     bs_transfer_channel_open_for_write (LmBsTransfer    *transfer,
+							GError         **error);
+static gboolean     bs_transfer_channel_open_for_read  (LmBsTransfer    *transfer,
+							GError         **error);
+static const gchar *bs_transfer_io_error_to_string     (GError          *error);
+static void         bs_transfer_initiated              (LmBsTransfer    *transfer);
+static void         bs_transfer_complete               (LmBsTransfer    *transfer);
+static void         bs_transfer_progress               (LmBsTransfer    *transfer);
+static void         bs_transfer_error                  (LmBsTransfer    *transfer,
+							const gchar     *error_msg);
+static gchar *      bs_transfer_get_initiator          (LmBsTransfer    *transfer);
+static gchar *      bs_transfer_get_target             (LmBsTransfer    *transfer);
 
 G_DEFINE_TYPE (LmBsTransfer, lm_bs_transfer, G_TYPE_OBJECT);
 
@@ -303,7 +303,7 @@
 	return TRUE;
 }
 
-static gchar*
+static const gchar *
 bs_transfer_io_error_to_string (GError *error)
 {
 	g_return_val_if_fail (error != NULL, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]