Commit b9d797f 1 parent a8b64e6 commit b9d797f Copy full SHA for b9d797f
File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -491,8 +491,10 @@ void window_init_hook (void *userdata) {
491
491
G_CALLBACK (mainwindow_resize ),
492
492
NULL );
493
493
494
+ #if (DDB_API_LEVEL >= 10 )
494
495
if (deadbeef -> vmajor >=1 && deadbeef -> vminor >= 10 )
495
496
deadbeef -> log_detailed (& plugin .plugin , DDB_LOG_LAYER_INFO , "GTK3 Headerbar plugin loaded." );
497
+ #endif
496
498
}
497
499
498
500
@@ -611,7 +613,9 @@ static DB_misc_t plugin = {
611
613
.plugin .type = DB_PLUGIN_MISC ,
612
614
.plugin .api_vmajor = 1 ,
613
615
.plugin .api_vminor = 9 , // using 10 apis if available
616
+ #if (DDB_API_LEVEL >= 10 )
614
617
.plugin .flags = DDB_PLUGIN_FLAG_LOGGING ,
618
+ #endif
615
619
.plugin .version_major = 1 ,
616
620
.plugin .version_minor = 0 ,
617
621
.plugin .id = "headerbarui_gtk3" ,
You can’t perform that action at this time.
0 commit comments