summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2010-04-02 19:54:40 -0400
committerWilliam Jon McCann <jmccann@redhat.com>2010-04-02 19:54:40 -0400
commit597ba8d292c1de5f5d24024b24c0b3cd30676ee8 (patch)
treea57fffba53af3bbdf049a437bcb821f9d574e294
parent3dc04fac9093e14476450d26d0e09472b1c6759b (diff)
downloadlibnotify-597ba8d292c1de5f5d24024b24c0b3cd30676ee8.tar.gz
Removed unused code
-rw-r--r--libnotify/notification.c31
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.