From cae1403baf74bd1e90c6e8a11955d97619044dbc Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 28 Aug 2007 18:08:29 +0000 Subject: g_strncasecmp() is deprecated; use g_ascii_strncasecmp() instead. 2007-08-28 Matthew Barnes * gui/e-cal-popup.c (e_cal_popup_target_new_source): g_strncasecmp() is deprecated; use g_ascii_strncasecmp() instead. svn path=/trunk/; revision=34123 --- calendar/ChangeLog | 5 +++++ calendar/gui/e-cal-popup.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 364db8c252..5fe3e568f0 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2007-08-28 Matthew Barnes + + * gui/e-cal-popup.c (e_cal_popup_target_new_source): + g_strncasecmp() is deprecated; use g_ascii_strncasecmp() instead. + 2007-08-27 Hiroyuki Ikezoe ** Fix for the same issue of week view of bug #330628 diff --git a/calendar/gui/e-cal-popup.c b/calendar/gui/e-cal-popup.c index 7eccfedc14..57c7093c87 100644 --- a/calendar/gui/e-cal-popup.c +++ b/calendar/gui/e-cal-popup.c @@ -693,7 +693,7 @@ e_cal_popup_target_new_source(ECalPopup *eabp, ESourceSelector *selector) source = e_source_selector_peek_primary_selection (selector); uri = e_source_get_uri (source); - if (!uri || (g_strncasecmp (uri, "file://", 7) && g_strncasecmp (uri, "contacts://", 11))) { + if (!uri || (g_ascii_strncasecmp (uri, "file://", 7) && g_ascii_strncasecmp (uri, "contacts://", 11))) { /* check for e_target_selector's offline_status property here */ offline = e_source_get_property (source, "offline"); -- cgit