aboutsummaryrefslogtreecommitdiff
path: root/src/timezone-file.cpp
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-02-02 15:28:52 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-02-02 15:28:52 -0600
commit835daa7778171256a02d8695776d0b8262b7b637 (patch)
tree205266d53f2221a566a01625d4efc07afe80172e /src/timezone-file.cpp
parent3e119374a27c333e2e85f2887668eb309edbe183 (diff)
downloadayatana-indicator-datetime-835daa7778171256a02d8695776d0b8262b7b637.tar.gz
ayatana-indicator-datetime-835daa7778171256a02d8695776d0b8262b7b637.tar.bz2
ayatana-indicator-datetime-835daa7778171256a02d8695776d0b8262b7b637.zip
copyediting: don't use camelCaseFunctionNames() in timezones-file
Diffstat (limited to 'src/timezone-file.cpp')
-rw-r--r--src/timezone-file.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/timezone-file.cpp b/src/timezone-file.cpp
index df4ee24..c99897a 100644
--- a/src/timezone-file.cpp
+++ b/src/timezone-file.cpp
@@ -32,7 +32,7 @@ FileTimezone::FileTimezone()
FileTimezone::FileTimezone(const std::string& filename)
{
- setFilename(filename);
+ set_filename(filename);
}
FileTimezone::~FileTimezone()
@@ -52,7 +52,7 @@ FileTimezone::clear()
}
void
-FileTimezone::setFilename(const std::string& filename)
+FileTimezone::set_filename(const std::string& filename)
{
clear();
@@ -79,7 +79,7 @@ FileTimezone::setFilename(const std::string& filename)
}
else
{
- m_monitor_handler_id = g_signal_connect_swapped(m_monitor, "changed", G_CALLBACK(onFileChanged), this);
+ m_monitor_handler_id = g_signal_connect_swapped(m_monitor, "changed", G_CALLBACK(on_file_changed), this);
g_debug("%s Monitoring timezone file '%s'", G_STRLOC, m_filename.c_str());
}
@@ -87,7 +87,7 @@ FileTimezone::setFilename(const std::string& filename)
}
void
-FileTimezone::onFileChanged(gpointer gself)
+FileTimezone::on_file_changed(gpointer gself)
{
static_cast<FileTimezone*>(gself)->reload();
}