cpw.nader.asynclogging-3: ad978b86: Made purple_log_list_copy private to log...

morshed.nader at gmail.com morshed.nader at gmail.com
Tue Jan 3 00:02:30 EST 2012


----------------------------------------------------------------------
Revision: ad978b8618d61e2fead0896972e416b334d1c2f2
Parent:   ab9f19cc43132b5d20d58838c6316f6f69bcc35f
Author:   morshed.nader at gmail.com
Date:     01/02/12 23:57:51
Branch:   im.pidgin.cpw.nader.asynclogging-3
URL: http://d.pidgin.im/viewmtn/revision/info/ad978b8618d61e2fead0896972e416b334d1c2f2

Changelog: 

Made purple_log_list_copy private to log.c

Changes against parent ab9f19cc43132b5d20d58838c6316f6f69bcc35f

  patched  libpurple/log.c
  patched  libpurple/log.h

-------------- next part --------------
============================================================
--- libpurple/log.c	ccfee6bf8267f44d0db997d6625581711b83daf1
+++ libpurple/log.c	62e02e05dad71da04f2ee11b3953145f5ebd6a60
@@ -160,6 +160,7 @@ static void log_hash_cb(GObject *, GAsyn
 static void log_total_size_cb(GObject *, GAsyncResult *, gpointer);
 static void log_hash_cb(GObject *, GAsyncResult *, gpointer);
 
+static GList *purple_log_list_copy(GList *);
 
 static GArray *loggers = NULL;
 static GType current_logger = G_TYPE_INVALID;
@@ -1870,7 +1871,7 @@ _purple_log_add_log_set_to_hash(GHashTab
 		purple_log_set_free(set);
 }
 
-GList *
+static GList *
 purple_log_list_copy(GList *list)
 {
 	if (list == NULL)
============================================================
--- libpurple/log.h	36314213686f35f7ae39ac217fe5d35fc0032246
+++ libpurple/log.h	e2fb2a56fae482c7365b6dc52f7d3b4fd838c1f0
@@ -1055,17 +1055,6 @@ gint purple_log_set_compare(gconstpointe
 gint purple_log_set_compare(gconstpointer y, gconstpointer z);
 
 /**
- * Copies a GList of GObjects, g_object_ref'ing each member in the list
- *
- * @param list         The list to copy
- *
- * @return             The copied list
- *
- * @since 3.0.0
- */
-GList *purple_log_list_copy(GList *list);
-
-/**
  * Frees a GList of GObjects, ensuring to g_object_unref each member in the list
  *
  * @param list         The list to free


More information about the Commits mailing list