summaryrefslogtreecommitdiff
path: root/src/themes/coco/coco-theme.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-18 15:51:16 +0100
committerStefano Karapetsas <[email protected]>2014-01-18 15:51:16 +0100
commit9af8d0b1003aaa525b736854219ed381e2a18fc6 (patch)
treeaecea73dc3190137c6d1583aa4e454f115aa84ff /src/themes/coco/coco-theme.c
parent6f8a1ae9a3908667d3ea21aa9987b7fee412a3ba (diff)
parent48d19cb30fab1d5a638f8ba42bc54315fafce434 (diff)
downloadmate-notification-daemon-9af8d0b1003aaa525b736854219ed381e2a18fc6.tar.bz2
mate-notification-daemon-9af8d0b1003aaa525b736854219ed381e2a18fc6.tar.xz
Merge branch 'master' of github.com:mate-desktop/mate-notification-daemon
Diffstat (limited to 'src/themes/coco/coco-theme.c')
-rw-r--r--src/themes/coco/coco-theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index 7e98881..2825500 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -714,7 +714,7 @@ set_notification_hints(GtkWindow *nw, GHashTable *hints)
value = (GValue *)g_hash_table_lookup(hints, "urgency");
- if (value != NULL)
+ if (value != NULL && G_VALUE_HOLDS_UCHAR(value))
{
windata->urgency = g_value_get_uchar(value);