summaryrefslogtreecommitdiff
path: root/libegg
AgeCommit message (Collapse)AuthorFilesLines
2020-05-15mate-submodules: use git submodule for libeggWu Xiaotian9-4317/+0
2020-04-04use MATE_COMPILE_WARNINGS from mate-commonraveit651-1/+1
2019-07-24add git.mk to generate .gitignoreWu Xiaotian1-0/+2
2019-05-09libegg: reduce the scope of some variablesPablo Barciela3-9/+22
Fixes 'cppcheck' warnings: [libegg/eggdesktopfile.c:483]: (style) The scope of the variable 'try_exec' can be reduced. [libegg/eggdesktopfile.c:483]: (style) The scope of the variable 'found_program' can be reduced. [libegg/eggdesktopfile.c:484]: (style) The scope of the variable 'only_show_in' can be reduced. [libegg/eggdesktopfile.c:484]: (style) The scope of the variable 'not_show_in' can be reduced. [libegg/eggdesktopfile.c:486]: (style) The scope of the variable 'i' can be reduced. [libegg/eggdesktopfile.c:608]: (style) The scope of the variable 'p' can be reduced. [libegg/eggsmclient-xsmp.c:227]: (style) The scope of the variable 'cmdline' can be reduced. [libegg/eggsmclient-xsmp.c:773]: (style) The scope of the variable 'fd' can be reduced. [libegg/eggsmclient-xsmp.c:808]: (style) The scope of the variable 'keys' can be reduced. [libegg/eggtreemultidnd.c:305]: (style) The scope of the variable 'context' can be reduced.
2019-04-14eggsmclient-xsmp: Fix cast from non-struct type to struct typePablo Barciela1-2/+2
Fixes Clang static analyzer warning: eggsmclient-xsmp.c:1156:18: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption prop->vals = (SmPropValue *)vals->data; ^~~~~~~~~~~~~~~~~~~~~~~~~ eggsmclient-xsmp.c:1189:18: warning: Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption prop->vals = (SmPropValue *)vals->data; ^~~~~~~~~~~~~~~~~~~~~~~~~
2019-01-22[eel][libegg] Use G_DEFINE_TYPE_WITH_PRIVATE macroWu Xiaotian1-4/+1
Replace G_DEFINE_TYPE_WITH_CODE with G_DEFINE_TYPE_WITH_PRIVATE macro
2019-01-12[libegg] Avoid deprecated g_type_class_add_privateWu Xiaotian1-4/+3
With minimal changes to avoid deprecated g_type_class_add_private
2018-11-07Fix case-insensitive comparison in running_in_mateZhang Xianwei1-2/+2
The environment variable XDG_SESSION_DESKTOP and DESKTOP_SESSION in running_in_mate are compared using "MATE". Actually the environment variable in MATE DE is "mate"(lower case). Using "mate" instead of "MATE" to fix it. Signed-off-by: Zhang Xianwei <[email protected]>
2018-01-14move libegg to the top srcdir and drop some leftoversmonsta9-0/+4306