[Shotwell] Compile error with valac 0.34



Hi Jens

I just tried compiling with valac 0.34 (Ubuntu Yakkety) and it seems
that the recent acdsee support commit introduced a type issue (commit
9218b13bd7ef86e8f3f7de7e98b6ac64f6dd162a)

-            set_string("Exif.Photo.UserComment", comment,
PrepareInputTextOptions.DEFAULT &
~PrepareInputTextOptions.STRIP_CRLF);
+            set_all_string(COMMENT_TAGS,
+                           comment,
+                           PrepareInputTextOptions.DEFAULT
+                           & ~PrepareInputTextOptions.STRIP_CRLF);

however, set_allstring takes a SetOption as third argument:

public void set_all_string(string[] tags, string value, SetOption option) {

Both are enum types.

Cheers


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