aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--include/datetime/timezone-file.h4
-rw-r--r--src/timezone-file.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/include/datetime/timezone-file.h b/include/datetime/timezone-file.h
index d77aaae..a67c01a 100644
--- a/include/datetime/timezone-file.h
+++ b/include/datetime/timezone-file.h
@@ -42,8 +42,8 @@ public:
~FileTimezone();
private:
- void setFilename(const std::string& filename);
- static void onFileChanged(gpointer gself);
+ void set_filename(const std::string& filename);
+ static void on_file_changed(gpointer gself);
void clear();
void reload();
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();
}