[balsa/wip/gtk4] main-window: gtk_window_set_urgency_hint() gone



commit da744b3e04c0ff50259933c159d975ae62abe28a
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat Apr 20 09:55:24 2019 -0400

    main-window: gtk_window_set_urgency_hint() gone
    
    gtk_window_set_urgency_hint() has been removed:
    "The skip-taskbar, skip-pager and urgency hints were
    only ever implemented for X11, and are not very useful
    with modern desktops."

 src/main-window.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/main-window.c b/src/main-window.c
index 5e3be8210..8a538c855 100644
--- a/src/main-window.c
+++ b/src/main-window.c
@@ -692,8 +692,6 @@ bw_is_active_notify(GObject * gobject, GParamSpec * pspec,
 
             priv->new_mail_notification_sent = FALSE;
         }
-
-        gtk_window_set_urgency_hint(gtk_window, FALSE);
     }
 }
 
@@ -3630,8 +3628,6 @@ bw_display_new_mail_notification(int num_new, int has_new)
 
     if (gtk_window_is_active(window))
         return;
-    else
-         gtk_window_set_urgency_hint(window, TRUE);
 
     if (g_once_init_enter(&notification)) {
         GNotification *tmp;


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