[PATCH] Compile f-spot with glib >= 2.7



Hi,

G_GNUC_FUNCTION was deprecated in glib <= 2.6 and removed in 2.7. The
attached patch is a one-liner and removes that macro from the f-spot
source.

cu, Lars
--- f-spot-0.4.1-orig/libfspot/f-jpeg-utils.c	2008-02-17 22:39:25.000000000 +0100
+++ f-spot-0.4.1/libfspot/f-jpeg-utils.c	2008-02-17 22:40:47.000000000 +0100
@@ -463,7 +463,7 @@
 		jpegtran_transform = JXFORM_FLIP_V;
 		break;
 	default:
-		g_warning (G_GNUC_FUNCTION ": unknown transform type %d", transform);
+		g_warning ("f_transform_jpeg(): unknown transform type %d", transform);
 		if (error_message_return != NULL)
 			*error_message_return = g_strdup_printf (_("Unknown transform type %d"), transform);
 		return FALSE;

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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