diff --git a/libxfce4util/xfce-desktopentry.h b/libxfce4util/xfce-desktopentry.h index bddead8..2f329ec 100644 --- a/libxfce4util/xfce-desktopentry.h +++ b/libxfce4util/xfce-desktopentry.h @@ -30,6 +30,8 @@ G_BEGIN_DECLS +#if defined(LIBXFCE4UTIL_COMPILATION) || !defined(XFCE_DISABLE_DEPRECATED) + typedef struct _XfceDesktopEntryPrivate XfceDesktopEntryPrivate; typedef struct _XfceDesktopEntryClass XfceDesktopEntryClass; typedef struct _XfceDesktopEntry XfceDesktopEntry; @@ -81,6 +83,8 @@ gboolean xfce_desktop_entry_get_string (XfceDesktopEntr gboolean xfce_desktop_entry_has_translated_entry (XfceDesktopEntry *desktop_entry, const gchar *key); +#endif /* !XFCE_DISABLE_DEPRECATED */ + G_END_DECLS #endif /* !__XFCE_DESKTOPENTRY_H__ */