/pidgin/main: cd465379cfee: Image store: fix build (perl)

Tomasz Wasilczyk twasilczyk at pidgin.im
Thu Apr 10 10:17:10 EDT 2014


Changeset: cd465379cfeeefa704eb12dc599a08fd9df5533b
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-04-10 16:17 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/cd465379cfee

Description:

Image store: fix build (perl)

diffstat:

 libpurple/plugins/perl/Makefile.am           |   1 -
 libpurple/plugins/perl/common/ImgStore.xs    |  53 ----------------------------
 libpurple/plugins/perl/common/MANIFEST       |   1 -
 libpurple/plugins/perl/common/Makefile.mingw |   1 -
 libpurple/plugins/perl/common/Purple.xs      |   2 -
 libpurple/plugins/perl/common/module.h       |   4 --
 6 files changed, 0 insertions(+), 62 deletions(-)

diffs (131 lines):

diff --git a/libpurple/plugins/perl/Makefile.am b/libpurple/plugins/perl/Makefile.am
--- a/libpurple/plugins/perl/Makefile.am
+++ b/libpurple/plugins/perl/Makefile.am
@@ -48,7 +48,6 @@ common_sources = \
 	common/Conversation.xs \
 	common/Debug.xs \
 	common/Idle.xs \
-	common/ImgStore.xs \
 	common/Log.xs \
 	common/Makefile.PL.in \
 	common/Network.xs \
diff --git a/libpurple/plugins/perl/common/ImgStore.xs b/libpurple/plugins/perl/common/ImgStore.xs
deleted file mode 100644
--- a/libpurple/plugins/perl/common/ImgStore.xs
+++ /dev/null
@@ -1,53 +0,0 @@
-#include "module.h"
-
-MODULE = Purple::ImgStore  PACKAGE = Purple::ImgStore  PREFIX = purple_imgstore_
-PROTOTYPES: ENABLE
-
-Purple::StoredImage
-purple_imgstore_new(data, size, filename)
-	void *data
-	size_t size
-	const char *filename
-
-int
-purple_imgstore_new_with_id(data, size, filename)
-	void *data
-	size_t size
-	const char *filename
-
-Purple::StoredImage
-purple_imgstore_find_by_id(id)
-	int id
-
-gconstpointer 
-purple_imgstore_get_data(i)
-	Purple::StoredImage i
-
-const char *
-purple_imgstore_get_filename(i)
-	Purple::StoredImage i
-
-size_t 
-purple_imgstore_get_size(i)
-	Purple::StoredImage i
-
-const char *
-purple_imgstore_get_extension(i)
-	Purple::StoredImage i
-
-Purple::StoredImage
-purple_imgstore_ref(id)
-	Purple::StoredImage id
-
-Purple::StoredImage
-purple_imgstore_unref(id)
-	Purple::StoredImage id
-
-void
-purple_imgstore_ref_by_id(id)
-	int id
-
-void
-purple_imgstore_unref_by_id(id)
-	int id
-
diff --git a/libpurple/plugins/perl/common/MANIFEST b/libpurple/plugins/perl/common/MANIFEST
--- a/libpurple/plugins/perl/common/MANIFEST
+++ b/libpurple/plugins/perl/common/MANIFEST
@@ -7,7 +7,6 @@ Cmds.xs
 Connection.xs
 Conversation.xs
 Debug.xs
-ImgStore.xs
 Log.xs
 Makefile.PL
 Network.xs
diff --git a/libpurple/plugins/perl/common/Makefile.mingw b/libpurple/plugins/perl/common/Makefile.mingw
--- a/libpurple/plugins/perl/common/Makefile.mingw
+++ b/libpurple/plugins/perl/common/Makefile.mingw
@@ -52,7 +52,6 @@ XS_FILES =		Account.xs \
 				Debug.xs \
 				Idle.xs \
 				Purple.xs \
-				ImgStore.xs \
 				Log.xs \
 				Network.xs \
 				Notify.xs \
diff --git a/libpurple/plugins/perl/common/Purple.xs b/libpurple/plugins/perl/common/Purple.xs
--- a/libpurple/plugins/perl/common/Purple.xs
+++ b/libpurple/plugins/perl/common/Purple.xs
@@ -15,7 +15,6 @@ PURPLE_PERL_BOOT_PROTO(Debug);
 PURPLE_PERL_BOOT_PROTO(Hash);
 PURPLE_PERL_BOOT_PROTO(Xfer);
 PURPLE_PERL_BOOT_PROTO(Idle);
-PURPLE_PERL_BOOT_PROTO(ImgStore);
 PURPLE_PERL_BOOT_PROTO(Log);
 PURPLE_PERL_BOOT_PROTO(Network);
 PURPLE_PERL_BOOT_PROTO(Notify);
@@ -55,7 +54,6 @@ BOOT:
 	PURPLE_PERL_BOOT(Hash);
 	PURPLE_PERL_BOOT(Xfer);
 	PURPLE_PERL_BOOT(Idle);
-	PURPLE_PERL_BOOT(ImgStore);
 	PURPLE_PERL_BOOT(Log);
 	PURPLE_PERL_BOOT(Network);
 	PURPLE_PERL_BOOT(Notify);
diff --git a/libpurple/plugins/perl/common/module.h b/libpurple/plugins/perl/common/module.h
--- a/libpurple/plugins/perl/common/module.h
+++ b/libpurple/plugins/perl/common/module.h
@@ -57,7 +57,6 @@ typedef struct group *Purple__Group;
 #include "gtkutils.h"
 #endif
 #include "idle.h"
-#include "imgstore.h"
 #include "network.h"
 #include "notify.h"
 #include "plugin.h"
@@ -180,9 +179,6 @@ typedef GtkTextView *			Purple__GTK__Tex
 /* gtkconn.h */
 #endif
 
-/* imgstore.h */
-typedef PurpleStoredImage *		Purple__StoredImage;
-
 /* log.h */
 typedef PurpleLog *			Purple__Log;
 typedef PurpleLogCommonLoggerData *	Purple__LogCommonLoggerData;



More information about the Commits mailing list