File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ void revery_setIconProgressIndeterminate_cocoa(void *dt);
2323void revery_hideIconProgress_cocoa (void * ip );
2424
2525/* Image functions */
26- void * revery_makeImageFromAbsolutePath (const char * image_path_v );
26+ void * revery_makeImageFromAbsolutePath_cocoa (const char * image_path_v );
2727
2828/* Open functions */
2929int revery_openURL_cocoa (const char * url_string );
Original file line number Diff line number Diff line change 44
55#import <Cocoa/Cocoa.h>
66
7- void * revery_makeImageFromAbsolutePath (const char * imagePath ) {
7+ void * revery_makeImageFromAbsolutePath_cocoa (const char * imagePath ) {
88 NSString * nsImagePath =
99 [NSString stringWithCString :imagePath encoding :NSUTF8StringEncoding ];
1010
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ CAMLprim value revery_makeTrayHandle(value imagePath_v) {
2929 if (imagePath_v != Val_none ) {
3030 const char * imagePath = String_val (Some_val (imagePath_v ));
3131
32- NSImage * nsImage = revery_makeImageFromAbsolutePath (imagePath );
32+ NSImage * nsImage = revery_makeImageFromAbsolutePath_cocoa (imagePath );
3333
3434 statusItem .button .image = nsImage ;
3535
You can’t perform that action at this time.
0 commit comments