summaryrefslogtreecommitdiff
path: root/src/zenity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenity.h')
-rw-r--r--src/zenity.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/zenity.h b/src/zenity.h
index ecde3db6..537f5f0c 100644
--- a/src/zenity.h
+++ b/src/zenity.h
@@ -121,10 +121,12 @@ typedef struct {
const gchar **data;
} ZenityTreeData;
+#ifdef HAVE_LIBNOTIFY
typedef struct {
gchar *notification_text;
gboolean listen;
} ZenityNotificationData;
+#endif
typedef struct {
gchar *color;
@@ -152,8 +154,11 @@ void zenity_text (ZenityData *data,
ZenityTextData *text_data);
void zenity_tree (ZenityData *data,
ZenityTreeData *tree_data);
+#ifdef HAVE_LIBNOTIFY
void zenity_notification (ZenityData *data,
ZenityNotificationData *notification_data);
+#endif
+
void zenity_colorselection (ZenityData *data,
ZenityColorData *notification_data);
void zenity_scale (ZenityData *data,
bgstack15