/soc/2015/mmcc/main: 788c8cded1ce: remove no longer needed glib ...

Michael McConville <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: 788c8cded1ce1e411b6a4fa8a1554f3213eef905
Author:	 Michael McConville <[email protected]>
Date:	 2015-06-19 12:40 -0400
Branch:	 default
URL: https://hg.pidgin.im/soc/2015/mmcc/main/rev/788c8cded1ce

Description:

remove no longer needed glib compat function

diffstat:

 libpurple/glibcompat.h |  20 --------------------
 1 files changed, 0 insertions(+), 20 deletions(-)

diffs (30 lines):

diff --git a/libpurple/glibcompat.h b/libpurple/glibcompat.h
--- a/libpurple/glibcompat.h
+++ b/libpurple/glibcompat.h
@@ -33,26 +33,6 @@
 
 #include <glib.h>
 
-static inline gboolean g_close(gint fd, GError **error)
-{
-	int res;
-	int errsv;
-
-	res = close(fd);
-
-	if (G_LIKELY(res == 0))
-		return TRUE;
-	if (G_UNLIKELY(errno == EINTR))
-		return TRUE;
-
-	errsv = errno;
-	g_set_error_literal(error, G_FILE_ERROR,
-		g_file_error_from_errno(errsv), g_strerror(errsv));
-	errno = errsv;
-
-	return FALSE;
-}
-
 /* glib's definition of g_stat+GStatBuf seems to be broken on mingw64-w32 (and
  * possibly other 32-bit windows), so instead of relying on it,
  * we'll define our own.

_______________________________________________
Commits mailing list
[email protected]
https://pidgin.im/cgi-bin/mailman/listinfo/commits
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.