John Chen
17e2929ee7
Change malloc and related functions to glib ones.
...
* malloc -> g_malloc
* realloc -> g_realloc
* free -> g_free
* strdup -> g_strdup
* strndup -> g_strndup
2017-02-14 00:44:53 +08:00
John Chen
7037afb2bc
Fix include. Add empty lines between include layers.
2017-02-14 00:39:04 +08:00
Nikos Tsipinakis
345a821d86
Use stdlibs boolean macros rather than Xlibs
...
'True' and 'False' are defined in Xlib.h
Since we use stdbool boolean 'true' and 'false' definitions in several
places, it's best not to mix boolean macros. So in the sake of
consistency switch to using the stdbool macros project-wide.
2017-02-12 21:17:38 +02:00
Eizen
ec96871a0f
Fix icon alignment with dynamic width
2017-02-06 17:11:26 -03:00
Nikos Tsipinakis
4afe2b6924
Vertically align icons
2017-01-21 09:37:02 +02:00
Eizen
ec7905f50f
Check file existence instead of null string
2017-01-18 16:58:48 -03:00
Eizen
ce37a46b0f
Fix svg icons and free call
...
Now looks properly in folder for svg icons. Also g_free should be used for maybe_icon_path.
2017-01-18 01:06:27 -03:00
Luke Shumaker
2c93c7a277
Use the appropriate string search functions instead of strstr everywhere.
...
This mostly means using strchr, but I also found:
option_parser.c:load_ini_file:
- replace multiple calls to strstr with strpbrk
notification.c:notification_init:
- replace string_replace in a while loop with a single call to
string_replace_char
redo string replace all
2016-12-17 17:00:43 -03:00
Nikos Tsipinakis
ad6557239a
Fix incorrect indentation
2016-12-11 13:41:43 +02:00
Eizen
7f8648742f
Fix memory leak
...
Incorrect call to disposal function, cairo_destroy should be used per cairo documentation.
2016-12-03 17:42:17 -03:00
Eizen
2d562968c0
Fix raw data when icon position is off and uninitialized pointer
2016-11-22 15:22:28 -03:00
Eizen
2784950f45
Fix uninitialized value warning and code indentation
2016-11-22 01:47:42 -03:00
Eizen
d605c91790
Fix merge commit
2016-11-20 00:03:25 -03:00
Eizen
b6dafbd444
Merge pull request #174
2016-11-19 23:58:17 -03:00
Nikos Tsipinakis
2df2e7d06c
Move dunst source files to src/
2016-11-19 11:54:03 +02:00