aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/component-factory.c4
-rw-r--r--mail/mail-display.c10
3 files changed, 10 insertions, 7 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index a72ff8b00f..9ed36b74bd 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2000-08-07 Jeffrey Stedfast <fejj@helixcode.com>
+ * mail-display.c:
+ * component-factory.c: s/strncasecmp/g_strncasecmp
+
* mail-format.c (write_headers): Get rid of kludge around subject
beginning with spaces.
(mail_generate_reply): Get rid of kludge around subject beginning
diff --git a/mail/component-factory.c b/mail/component-factory.c
index 8130800137..7b01bd91e1 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -259,7 +259,7 @@ create_imap_storage (EvolutionShellComponent *shell_component)
source = s->url;
}
- if (!source || strncasecmp (source, "imap://", 7))
+ if (!source || g_strncasecmp (source, "imap://", 7))
return;
shell_client = evolution_shell_component_get_owner (shell_component);
@@ -402,7 +402,7 @@ create_news_storage (EvolutionShellComponent *shell_component)
source = s->url;
}
- if (!source || strncasecmp (source, "news://", 7))
+ if (!source || g_strncasecmp (source, "news://", 7))
return;
shell_client = evolution_shell_component_get_owner (shell_component);
diff --git a/mail/mail-display.c b/mail/mail-display.c
index 3af2ec1b15..3603cfb41f 100644
--- a/mail/mail-display.c
+++ b/mail/mail-display.c
@@ -220,14 +220,14 @@ on_link_clicked (GtkHTML *html, const char *url, gpointer user_data)
message = gtk_object_get_data (GTK_OBJECT (html), "message");
- if (!strncasecmp (url, "news:", 5) ||
- !strncasecmp (url, "nntp:", 5))
+ if (!g_strncasecmp (url, "news:", 5) ||
+ !g_strncasecmp (url, "nntp:", 5))
g_warning ("Can't handle news URLs yet.");
- else if (!strncasecmp (url, "mailto:", 7))
+ else if (!g_strncasecmp (url, "mailto:", 7))
send_to_url (url);
- else if (!strncasecmp (url, "cid:", 4))
+ else if (!g_strncasecmp (url, "cid:", 4))
save_data (url, message);
- else if (!strncasecmp (url, "x-evolution-external:", 21))
+ else if (!g_strncasecmp (url, "x-evolution-external:", 21))
launch_external (url, message);
else
gnome_url_show (url);