pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Use a GQueue for zephyr plus related cleanup
2020-11-25, Elliott Sales de Andrade
4266008a7791
Use a GQueue for zephyr plus related cleanup
* Make `_Z_InputQ->complete` a boolean, as that's all it's used as.
* Use GLib allocation functions for `Z_InputQ` members.
* Use a `GQueue` for zephyr input.
* Use `*_find_custom` functions for input queue search.
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/253/
ICONS
=
[
'im.pidgin.Pidgin3'
]
foreach
icon
:
ICONS
foreach
size
:
[
16
,
22
,
24
,
32
,
48
]
path
=
'hicolor/@0@x@0@/apps'
.
format
(
size
)
install_data
(
path
/
'@0@.png'
.
format
(
icon
),
install_dir
:
get_option
(
'datadir'
)
/
'icons'
/
path
)
endforeach
path
=
'hicolor/scalable/apps'
install_data
(
path
/
'@0@.svg'
.
format
(
icon
),
install_dir
:
get_option
(
'datadir'
)
/
'icons'
/
path
)
endforeach
EXCLUDE_FILES
=
[
'16x16/apps/im.pidgin.Pidgin3.png'
,
'22x22/apps/im.pidgin.Pidgin3.png'
,
'48x48/apps/im.pidgin.Pidgin3.png'
,
'scalable/apps/im.pidgin.Pidgin3.svg'
,
]
EXCLUDE_DIRS
=
[
'16x16/actions/scalable'
,
'22x22/actions/scalable'
,
'32x32/actions/scalable'
,
'48x48/actions/scalable'
,
'16x16/apps/scalable'
,
'22x22/apps/scalable'
,
'24x24'
,
'32x32/apps'
,
'16x16/status/scalable'
,
]
install_subdir
(
'hicolor'
,
exclude_files
:
EXCLUDE_FILES
,
exclude_directories
:
EXCLUDE_DIRS
,
install_dir
:
get_option
(
'datadir'
)
/
'pidgin/icons'
)