summaryrefslogtreecommitdiff
path: root/src/zenity.h
diff options
context:
space:
mode:
authorArx Cruz <arxcruz@src.gnome.org>2010-11-04 17:12:52 -0200
committerArx Cruz <arxcruz@src.gnome.org>2010-11-09 12:28:58 -0200
commit079254bb48c28f62d15270028e64308347888a76 (patch)
treebca881498eb0f1ce9f690612e2f3f75300ddcc7b /src/zenity.h
parent73fcbe4c0a4e8d36fa7071717133b5c39afae5aa (diff)
downloadzenity-079254bb48c28f62d15270028e64308347888a76.tar.gz
Add libnotify as optional in zenity instalation
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 ecde3db..537f5f0 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,