aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-31 09:59:11 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-31 09:59:11 -0500
commit42034051b8a2856823fc6c2f5f80bea4cb3ea4fc (patch)
treec1f9213ae4e479da688521b036d805d051be6e7f /src
parentcbb4e95519f5127b152483b00731c260dc1a7670 (diff)
parent97e7d1b81965388d66ae6aca0b1c19dc87d241e7 (diff)
downloadayatana-indicator-datetime-42034051b8a2856823fc6c2f5f80bea4cb3ea4fc.tar.gz
ayatana-indicator-datetime-42034051b8a2856823fc6c2f5f80bea4cb3ea4fc.tar.bz2
ayatana-indicator-datetime-42034051b8a2856823fc6c2f5f80bea4cb3ea4fc.zip
sync with lp:~charlesk/indicator-datetime/notification-refactor
Diffstat (limited to 'src')
-rw-r--r--src/snap.cpp1
-rw-r--r--src/sound.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/snap.cpp b/src/snap.cpp
index f3e0f20..beefa94 100644
--- a/src/snap.cpp
+++ b/src/snap.cpp
@@ -88,6 +88,7 @@ public:
b.set_icon_name ("alarm-clock");
b.add_hint (uin::Builder::HINT_SNAP);
b.add_hint (uin::Builder::HINT_TINT);
+ b.add_hint (uin::Builder::HINT_NONSHAPEDICON);
const auto timestr = appointment.begin.format (_("%a, %X"));
auto title = g_strdup_printf (_("Alarm %s"), timestr.c_str());
b.set_title (title);
diff --git a/src/sound.cpp b/src/sound.cpp
index 7658658..d13c854 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -46,7 +46,7 @@ public:
m_loop(loop)
{
// init GST once
- static std::once_flag once;
+ static std::once_flag once;
std::call_once(once, [](){
GError* error = nullptr;
if (!gst_init_check (nullptr, nullptr, &error))