Merge pull request #1 from jgriebler/master

Fix segfault in startup notification
This commit is contained in:
Andrew Krasichkov 2016-10-13 21:45:00 +03:00 committed by GitHub
commit cafedc3ea4
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ MANPREFIX = ${PREFIX}/share/man
# In dist tarballs, the version is stored in the VERSION files. # In dist tarballs, the version is stored in the VERSION files.
VERSION := '$(shell [ -f VERSION ] && cat VERSION)' VERSION := '$(shell [ -f VERSION ] && cat VERSION)'
ifeq ('',$(VERSION)) ifeq ('',$(VERSION))
VERSION := $(shell git describe) VERSION := $(shell git describe --tags)
endif endif
# Xinerama, comment if you don't want it # Xinerama, comment if you don't want it

View File

@ -331,6 +331,7 @@ int main(int argc, char *argv[])
n->plain_text = true; n->plain_text = true;
n->urgency = LOW; n->urgency = LOW;
n->icon = NULL; n->icon = NULL;
n->raw_icon = NULL;
n->category = NULL; n->category = NULL;
n->msg = NULL; n->msg = NULL;
n->dbus_client = NULL; n->dbus_client = NULL;