aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/junk-mail-settings.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
commit948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch)
tree4133b1adfd94d8f889ca7ad4ad851346518f4171 /plugins/groupwise-features/junk-mail-settings.c
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'plugins/groupwise-features/junk-mail-settings.c')
-rw-r--r--plugins/groupwise-features/junk-mail-settings.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/groupwise-features/junk-mail-settings.c b/plugins/groupwise-features/junk-mail-settings.c
index 3e7d522c19..aa8c96368d 100644
--- a/plugins/groupwise-features/junk-mail-settings.c
+++ b/plugins/groupwise-features/junk-mail-settings.c
@@ -52,7 +52,7 @@ abort_changes (JunkSettings *js)
}
static void
-junk_dialog_response (GtkWidget *dialog, int response, JunkSettings *js)
+junk_dialog_response (GtkWidget *dialog, gint response, JunkSettings *js)
{
if (response == GTK_RESPONSE_ACCEPT) {
commit_changes(js);
@@ -66,11 +66,11 @@ junk_dialog_response (GtkWidget *dialog, int response, JunkSettings *js)
}
static void
-junk_mail_settings (EPopup *ep, EPopupItem *item, void *data)
+junk_mail_settings (EPopup *ep, EPopupItem *item, gpointer data)
{
GtkWidget *dialog ,*w, *notebook, *box;
JunkSettings *junk_tab;
- int page_count =0;
+ gint page_count =0;
EGwConnection *cnc;
gchar *msg;
CamelFolder *folder = (CamelFolder *)data;
@@ -118,7 +118,7 @@ static EPopupItem popup_items[] = {
};
static void
-popup_free (EPopup *ep, GSList *items, void *data)
+popup_free (EPopup *ep, GSList *items, gpointer data)
{
g_slist_free (items);
}
@@ -128,8 +128,8 @@ org_gnome_junk_settings(EPlugin *ep, EMPopupTargetSelect *t)
{
GSList *menus = NULL;
- int i = 0;
- static int first = 0;
+ gint i = 0;
+ static gint first = 0;
if (! g_strrstr (t->uri, "groupwise://"))
return ;