[Xfce4-commits] <libxfce4util:master> Deprecate XfceDesktopEntry.
Nick Schermer
noreply at xfce.org
Sat Jun 12 18:08:03 CEST 2010
Updating branch refs/heads/master
to 807cd08c78a449a67119944ff79d40394030772b (commit)
from 4cae68cf2bdbf8a16747a4b28437badb14b3a7fa (commit)
commit 807cd08c78a449a67119944ff79d40394030772b
Author: Nick Schermer <nick at xfce.org>
Date: Sat Jun 12 18:06:46 2010 +0200
Deprecate XfceDesktopEntry.
This should be removed in the future. Currently only used
in libxfcegui4, which is after 4.6 a deprecated library.
libxfce4util/xfce-desktopentry.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/libxfce4util/xfce-desktopentry.h b/libxfce4util/xfce-desktopentry.h
index bddead8..2c33789 100644
--- a/libxfce4util/xfce-desktopentry.h
+++ b/libxfce4util/xfce-desktopentry.h
@@ -26,6 +26,8 @@
#ifndef __XFCE_DESKTOPENTRY_H__
#define __XFCE_DESKTOPENTRY_H__
+#if defined(LIBXFCE4UTIL_COMPILATION) || !defined(XFCE_DISABLE_DEPRECATED)
+
#include <glib-object.h>
G_BEGIN_DECLS
@@ -83,5 +85,7 @@ gboolean xfce_desktop_entry_has_translated_entry (XfceDesktopEntr
G_END_DECLS
-#endif /* !__XFCE_DESKTOPENTRY_H__ */
+#endif /* !XFCE_DISABLE_DEPRECATED */
+
+#endif /* !__XFCE_DESKTOPENTRY_H__ */
More information about the Xfce4-commits
mailing list