aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-16 12:59:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-16 12:59:18 +0800
commitc52f17a1777eb5f8b92634450b2bb134336c9c20 (patch)
tree8ac6fc4a37c5543949b514ed53d9cd0c80ec7988 /mail/em-utils.c
parent0eb2649bdeca7908c0d399321a21ffe189e4b8f6 (diff)
downloadgsoc2013-evolution-c52f17a1777eb5f8b92634450b2bb134336c9c20.tar.gz
gsoc2013-evolution-c52f17a1777eb5f8b92634450b2bb134336c9c20.tar.zst
gsoc2013-evolution-c52f17a1777eb5f8b92634450b2bb134336c9c20.zip
Kill em_utils_adjustment_page().
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r--mail/em-utils.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c
index ca824d9bbe..bf4357aff3 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -1168,35 +1168,6 @@ em_utils_folder_is_outbox(CamelFolder *folder, const gchar *uri)
local_outbox_folder_uri, uri);
}
-/**
- * em_utils_adjustment_page:
- * @adj:
- * @down:
- *
- * Move an adjustment up/down forward/back one page.
- **/
-void
-em_utils_adjustment_page(GtkAdjustment *adj, gboolean down)
-{
- gfloat page_size = adj->page_size - adj->step_increment;
-
- if (down) {
- if (adj->value < adj->upper - adj->page_size - page_size)
- adj->value += page_size;
- else if (adj->upper >= adj->page_size)
- adj->value = adj->upper - adj->page_size;
- else
- adj->value = adj->lower;
- } else {
- if (adj->value > adj->lower + page_size)
- adj->value -= page_size;
- else
- adj->value = adj->lower;
- }
-
- gtk_adjustment_value_changed(adj);
-}
-
/* ********************************************************************** */
static EProxy *emu_proxy = NULL;
static GStaticMutex emu_proxy_lock = G_STATIC_MUTEX_INIT;