[balsa/gtk3] Build without libnotify



commit ea8ffff588ae658007c88cb20837b189db3074fe
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Tue Feb 23 23:44:08 2016 -0500

    Build without libnotify
    
        * src/main-window.c (bw_is_active_notify): fix conditional code.

 ChangeLog         |    6 ++++++
 src/main-window.c |    2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index ea62fe5..f34778b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-02-23  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       Build without libnotify
+
+       * src/main-window.c (bw_is_active_notify): fix conditional code.
+
 2016-02-15  Peter Bloomfield  <pbloomfield bellsouth net>
 
        Gtk 3.20 deprecation cleanup
diff --git a/src/main-window.c b/src/main-window.c
index 6720fb6..81b701e 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -702,9 +702,9 @@ bw_is_active_notify(GObject * gobject, GParamSpec * pspec,
     GtkWindow *gtk_window = GTK_WINDOW(gobject);
 
     if (gtk_window_is_active(gtk_window)) {
+#ifdef HAVE_NOTIFY
         BalsaWindow *window = BALSA_WINDOW(gobject);
 
-#ifdef HAVE_NOTIFY
         if (window->new_mail_note)
             notify_notification_close(window->new_mail_note, NULL);
 #endif                          /* HAVE_NOTIFY */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]