summaryrefslogtreecommitdiffstats
path: root/kmobile/devices/gnokii/gnokii_mobile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmobile/devices/gnokii/gnokii_mobile.cpp')
-rw-r--r--kmobile/devices/gnokii/gnokii_mobile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmobile/devices/gnokii/gnokii_mobile.cpp b/kmobile/devices/gnokii/gnokii_mobile.cpp
index 1f33996e7..a999fed0d 100644
--- a/kmobile/devices/gnokii/gnokii_mobile.cpp
+++ b/kmobile/devices/gnokii/gnokii_mobile.cpp
@@ -330,7 +330,7 @@ static bool phone_entry_empty( int index, gn_memory_type memtype )
}
#endif
-static int gn_error2kio_error( gn_error err )
+static int gn_error2tdeio_error( gn_error err )
{
if (err != GN_ERR_NONE)
GNOKII_CHECK_ERROR(err);
@@ -604,7 +604,7 @@ int KMobileGnokii::readAddress( int index, KABC::Addressee &addr )
if (!err)
m_addrList[index] = addr;
- return gn_error2kio_error(err);
+ return gn_error2tdeio_error(err);
}
int KMobileGnokii::storeAddress( int, const KABC::Addressee &, bool )
@@ -696,7 +696,7 @@ int KMobileGnokii::readCalendarEntry( int index, KCal::Event &event )
gn_error error = gn_sm_functions(GN_OP_GetCalendarNote, &data, &state);
GNOKII_CHECK_ERROR(error);
if (error != GN_ERR_NONE)
- return gn_error2kio_error(error);
+ return gn_error2tdeio_error(error);
print_calnote( entry );