[libnotify] Removed unused code



commit 597ba8d292c1de5f5d24024b24c0b3cd30676ee8
Author: William Jon McCann <jmccann redhat com>
Date:   Fri Apr 2 19:54:40 2010 -0400

    Removed unused code

 libnotify/notification.c |   31 -------------------------------
 1 files changed, 0 insertions(+), 31 deletions(-)
---
diff --git a/libnotify/notification.c b/libnotify/notification.c
index 4abd6d1..be24f94 100644
--- a/libnotify/notification.c
+++ b/libnotify/notification.c
@@ -480,37 +480,6 @@ _notify_notification_update_applet_hints (NotifyNotification *n)
         notify_notification_set_geometry_hints (n, screen, x, y);
 }
 
-#if 0
-
-/*
- * This is left here just incase we revisit autoupdating
- * One thought would be to check for updates every time the icon
- * is redrawn but we still have to deal with the race conditions
- * that could occure between the server and the client so we will
- * leave this alone for now.
- */
-static gboolean
-_idle_check_updates (void *user_data)
-{
-        NotifyNotification        *n = NOTIFY_NOTIFICATION (user_data);
-        NotifyNotificationPrivate *priv = n->priv;
-
-        if (priv->is_visible) {
-                priv->updates_pending =
-                        _notify_notification_update_applet_hints (n);
-
-                if (priv->updates_pending) {
-                        /* Try again if we fail on next idle */
-                        priv->updates_pending = !notify_notification_show (n, NULL);
-                }
-        } else {
-                priv->updates_pending = FALSE;
-        }
-
-        return TRUE;
-}
-#endif
-
 /**
  * notify_notification_new:
  * @summary: The required summary text.



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