aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-08-29 02:08:29 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-08-29 02:08:29 +0800
commitcae1403baf74bd1e90c6e8a11955d97619044dbc (patch)
tree5b34ace63fad6c704cb4beeec9b2cdbb45383d7e
parentb699df06aa4bbd4e393a2eda02783f01a1d009ec (diff)
downloadgsoc2013-evolution-cae1403baf74bd1e90c6e8a11955d97619044dbc.tar.gz
gsoc2013-evolution-cae1403baf74bd1e90c6e8a11955d97619044dbc.tar.zst
gsoc2013-evolution-cae1403baf74bd1e90c6e8a11955d97619044dbc.zip
g_strncasecmp() is deprecated; use g_ascii_strncasecmp() instead.
2007-08-28 Matthew Barnes <mbarnes@redhat.com> * 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
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/e-cal-popup.c2
2 files changed, 6 insertions, 1 deletions
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 <mbarnes@redhat.com>
+
+ * 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 <poincare@ikezoe.net>
** 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");