X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=atk%2Fatkmisc.h;h=e898e35d6102e27584aeb82776e4f6e52bfac149;hb=refs%2Ftags%2Faccepted%2Ftizen%2Fcommon%2F20170102.152409;hp=269e4d298344a5cdb28d3591b212f6fb3cc6236c;hpb=11ba48d7b03bf9324864effcd077cd844ba388a1;p=platform%2Fupstream%2Fatk.git diff --git a/atk/atkmisc.h b/atk/atkmisc.h index 269e4d2..e898e35 100755 --- a/atk/atkmisc.h +++ b/atk/atkmisc.h @@ -25,6 +25,7 @@ #define __ATK_MISC_H__ #include +#include /* We prefix variable declarations so they can * properly get exported in Windows DLLs. @@ -36,7 +37,7 @@ # else /* !ATK_STATIC_COMPILATION */ # ifdef ATK_COMPILATION # ifdef DLL_EXPORT -# define ATK_VAR __declspec(dllexport) +# define ATK_VAR _ATK_EXTERN # else /* !DLL_EXPORT */ # define ATK_VAR extern # endif /* !DLL_EXPORT */ @@ -45,7 +46,7 @@ # endif /* !ATK_COMPILATION */ # endif /* !ATK_STATIC_COMPILATION */ # else /* !G_PLATFORM_WIN32 */ -# define ATK_VAR extern +# define ATK_VAR _ATK_EXTERN # endif /* !G_PLATFORM_WIN32 */ #endif /* ATK_VAR */ @@ -95,13 +96,15 @@ struct _AtkMiscClass void (* threads_leave) (AtkMisc *misc); gpointer vfuncs[32]; /* future bincompat */ }; + +ATK_DEPRECATED_IN_2_12 GType atk_misc_get_type (void); -G_DEPRECATED +ATK_DEPRECATED_IN_2_12 void atk_misc_threads_enter (AtkMisc *misc); -G_DEPRECATED +ATK_DEPRECATED_IN_2_12 void atk_misc_threads_leave (AtkMisc *misc); -G_DEPRECATED +ATK_DEPRECATED_IN_2_12 const AtkMisc *atk_misc_get_instance (void); G_END_DECLS