aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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))