[Xfce4-commits] <garcon:master> Avoid direct include of garcon-menu.h.

Nick Schermer noreply at xfce.org
Fri Aug 2 22:04:02 CEST 2013


Updating branch refs/heads/master
         to b20e0f3cfe132808dcc36294bee765ee14af6ba2 (commit)
       from 9df2e69d105ed5d50cdf20122e6f8f033e73afeb (commit)

commit b20e0f3cfe132808dcc36294bee765ee14af6ba2
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Aug 2 21:56:31 2013 +0200

    Avoid direct include of garcon-menu.h.

 garcon/garcon-menu.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/garcon/garcon-menu.h b/garcon/garcon-menu.h
index cd48431..f142618 100644
--- a/garcon/garcon-menu.h
+++ b/garcon/garcon-menu.h
@@ -18,6 +18,10 @@
  * Boston, MA 02110-1301, USA.
  */
 
+#if !defined(GARCON_INSIDE_GARCON_H) && !defined(GARCON_COMPILATION)
+#error "Only <garcon/garcon.h> can be included directly. This file may disappear or change contents."
+#endif
+
 #ifndef __GARCON_MENU_H__
 #define __GARCON_MENU_H__
 


More information about the Xfce4-commits mailing list