[shotwell/shotwell-0.28] Fix undefined symbol error



commit c723f2c1a17568272623340ca4cf696897171948
Author: Jens Georg <mail jensge org>
Date:   Mon Mar 12 22:50:32 2018 +0100

    Fix undefined symbol error
    
    Or: inline does not do what you expect it to do.
    
    https://en.wikipedia.org/wiki/Inline_function#C99
    
    We really want static inline here.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=794293

 src/_transformation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/_transformation.c b/src/_transformation.c
index d3bd760..7c5a7b0 100644
--- a/src/_transformation.c
+++ b/src/_transformation.c
@@ -7,7 +7,7 @@
 
 #include "shotwell-graphics-processor.h"
 
-inline void _pixel_transformer_apply_transformations (PixelTransformer* self, RGBAnalyticPixel* p, 
RGBAnalyticPixel* result) {
+static inline void _pixel_transformer_apply_transformations (PixelTransformer* self, RGBAnalyticPixel* p, 
RGBAnalyticPixel* result) {
     PixelFormat current_format = PIXEL_FORMAT_RGB;
     RGBAnalyticPixel p_rgb = {p->red, p->green, p->blue };
     HSVAnalyticPixel p_hsv = {0.0f, 0.0f, 0.0f};


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