[gtk+] Add an #ifdef to shut gtk-doc up
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Add an #ifdef to shut gtk-doc up
- Date: Fri, 24 Jan 2014 02:10:06 +0000 (UTC)
commit b0111921111a100527c1638e54df19bd90a3840d
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jan 23 21:08:34 2014 -0500
Add an #ifdef to shut gtk-doc up
gtk-doc complains that the stock macros are deprecated,
but not in an #ifdef block. So add one.
gtk/deprecated/gtkstock.h | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/deprecated/gtkstock.h b/gtk/deprecated/gtkstock.h
index b244eff..c911f41 100644
--- a/gtk/deprecated/gtkstock.h
+++ b/gtk/deprecated/gtkstock.h
@@ -106,6 +106,8 @@ G_DEPRECATED
#endif
typedef char * GtkStock;
+#ifndef GTK_DISABLE_DEPRECATED
+
/* Stock IDs (not all are stock items; some are images only) */
/**
* GTK_STOCK_ABOUT:
@@ -1261,6 +1263,8 @@ typedef char * GtkStock;
*/
#define GTK_STOCK_ZOOM_OUT ((GtkStock)"gtk-zoom-out")
+#endif
+
G_END_DECLS
#endif /* __GTK_STOCK_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]