From: Stef Walter Date: Fri, 13 Jul 2012 12:03:04 +0000 (+0200) Subject: Clearer warning when using unstable parts of API X-Git-Tag: upstream/0.13~64 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d725daf29b0f90654367e6b9aa2e3c6b8a44384;p=platform%2Fupstream%2Flibsecret.git Clearer warning when using unstable parts of API --- diff --git a/libsecret/secret.h b/libsecret/secret.h index f0419e8..24208be 100644 --- a/libsecret/secret.h +++ b/libsecret/secret.h @@ -25,11 +25,11 @@ #include #include -/* This symbol is defined by the secret-unstable.pc pkg-config file */ +/* SECRET_WITH_UNSTABLE is defined in the secret-unstable.pc pkg-config file */ #if defined(SECRET_WITH_UNSTABLE) || defined(SECRET_API_SUBJECT_TO_CHANGE) #ifndef SECRET_API_SUBJECT_TO_CHANGE -#warning "This API has not yet reached stability. Define SECRET_API_SUBJECT_TO_CHANGE to acknowledge" +#warning "Some parts of the libsecret API are unstable. Define SECRET_API_SUBJECT_TO_CHANGE to acknowledge" #endif #include