diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 07:09:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-06-02 22:35:03 +0800 |
commit | 433eac7844481b8ceda0bae8bf08f6bb623185b0 (patch) | |
tree | d66a04ad4fa676b4bfce762dee09a82f4434d374 /mail/em-folder-properties.c | |
parent | e6c6cbdfb5fd5723ff840b24b29690235be0d74d (diff) | |
download | gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.gz gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.tar.zst gsoc2013-evolution-433eac7844481b8ceda0bae8bf08f6bb623185b0.zip |
More code cleanup.
Diffstat (limited to 'mail/em-folder-properties.c')
-rw-r--r-- | mail/em-folder-properties.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c index b4e239e36b..70cdf88350 100644 --- a/mail/em-folder-properties.c +++ b/mail/em-folder-properties.c @@ -127,7 +127,7 @@ emfp_free(EConfig *ec, GSList *items, gpointer data) g_free (prop_data); } -static int +static gint add_numbered_row (GtkTable *table, gint row, const gchar *description, const gchar *format, gint num) { gchar *str; @@ -198,7 +198,7 @@ emfp_get_folder_item(EConfig *ec, EConfigItem *item, struct _GtkWidget *parent, else descr = g_strdup_printf (_("Quota usage")); - procs = (int) ((((double) info->used) / ((double) info->total)) * 100.0 + 0.5); + procs = (gint) ((((double) info->used) / ((double) info->total)) * 100.0 + 0.5); row = add_numbered_row (GTK_TABLE (table), row, descr, "%d%%", procs); |