aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/groupwise-features/junk-settings.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 23:13:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 00:13:23 +0800
commitfad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch)
treeae78be371695c3dc18847b87d3f014f985aa3a40 /plugins/groupwise-features/junk-settings.c
parent6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff)
downloadgsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.bz2
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.lz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.xz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'plugins/groupwise-features/junk-settings.c')
-rw-r--r--plugins/groupwise-features/junk-settings.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/groupwise-features/junk-settings.c b/plugins/groupwise-features/junk-settings.c
index 3d66a1c518..cc735feee1 100644
--- a/plugins/groupwise-features/junk-settings.c
+++ b/plugins/groupwise-features/junk-settings.c
@@ -35,7 +35,7 @@
struct _JunkEntry {
EGwJunkEntry *entry;
- int flag;
+ gint flag;
};
typedef struct _JunkEntry JunkEntry;
@@ -175,9 +175,9 @@ static void
get_junk_list (JunkSettings *js)
{
GList *list = NULL;
- char *entry;
- char *msg;
- int use_junk, use_block, use_pab, persistence;
+ gchar *entry;
+ gchar *msg;
+ gint use_junk, use_block, use_pab, persistence;
if (E_IS_GW_CONNECTION (js->cnc)) {
if (e_gw_connection_get_junk_settings (js->cnc, &use_junk, &use_block, &use_pab, &persistence) == E_GW_CONNECTION_STATUS_OK) {
@@ -227,7 +227,7 @@ commit_changes (JunkSettings *js)
GList *node = NULL;
JunkEntry *junk_entry = NULL;
EGwJunkEntry *entry;
- int use_junk, use_pab, use_block, persistence;
+ gint use_junk, use_pab, use_block, persistence;
for (node = js->junk_list; node; node = node->next)
{
@@ -301,8 +301,8 @@ disable_clicked (GtkRadioButton *button, JunkSettings *js)
static void
add_clicked(GtkButton *button, JunkSettings *js)
{
- const char *email = NULL;
- const char *self_email = NULL;
+ const gchar *email = NULL;
+ const gchar *self_email = NULL;
JunkEntry *new_entry = NULL;
EGwJunkEntry *junk_entry = NULL;
gchar *msg = NULL;
@@ -372,7 +372,7 @@ static void
junk_settings_construct (JunkSettings *js)
{
GladeXML *xml;
- char *gladefile;
+ gchar *gladefile;
gladefile = g_build_filename (EVOLUTION_GLADEDIR,
"junk-settings.glade",