summaryrefslogtreecommitdiff
path: root/libegg
AgeCommit message (Collapse)AuthorFilesLines
2022-07-20libegg: 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-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