diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 22:29:19 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 22:29:19 +0800 |
commit | 948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch) | |
tree | 4133b1adfd94d8f889ca7ad4ad851346518f4171 /mail/em-filter-editor.c | |
parent | cc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff) | |
download | gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.bz2 gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.lz gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.xz gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip |
Prefer GLib basic types over C types.
Diffstat (limited to 'mail/em-filter-editor.c')
-rw-r--r-- | mail/em-filter-editor.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-filter-editor.c b/mail/em-filter-editor.c index 4f68cf47df..378192a8da 100644 --- a/mail/em-filter-editor.c +++ b/mail/em-filter-editor.c @@ -107,7 +107,7 @@ em_filter_editor_new (EMFilterContext *fc, const EMFilterSource *source_names) { EMFilterEditor *fe = (EMFilterEditor *) g_object_new (em_filter_editor_get_type(), NULL); GladeXML *gui; - char *gladefile; + gchar *gladefile; gladefile = g_build_filename (EVOLUTION_GLADEDIR, "filter.glade", @@ -133,8 +133,8 @@ free_sources (gpointer data) static void select_source (GtkComboBox *combobox, EMFilterEditor *fe) { - char *source; - int idx; + gchar *source; + gint idx; GSList *sources; g_return_if_fail (GTK_IS_COMBO_BOX (combobox)); @@ -144,7 +144,7 @@ select_source (GtkComboBox *combobox, EMFilterEditor *fe) g_return_if_fail (idx >= 0 && idx < g_slist_length (sources)); - source = (char *)g_slist_nth (sources, idx); + source = (gchar *)g_slist_nth (sources, idx); g_return_if_fail (source); rule_editor_set_source ((RuleEditor *)fe, source); @@ -154,7 +154,7 @@ void em_filter_editor_construct (EMFilterEditor *fe, EMFilterContext *fc, GladeXML *gui, const EMFilterSource *source_names) { GtkWidget *combobox; - int i; + gint i; GtkTreeViewColumn *column; GSList *sources = NULL; |