mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 06:46:35 +01:00
Replace deprecated gdk_pixbuf_new_from_xpm_data() with gdk_pixbuf_new_from_file()
and update both GTK and QT frontends to load XPM icons from separate files
in scripts/kconfig/icons/ instead of from the code.
xpm_menu_inv and xpm_void were removed and not converted into xpm files
because they are not used since commit 64285dc5c4 ("kconfig: gconf:
inline fill_row() into set_node()").
This eliminates the GTK deprecation warnings at compile time and
improves memory usage and code organization.
Signed-off-by: Rostislav Krasny <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Tested-by: Randy Dunlap <[email protected]>
Link: https://patch.msgid.link/[email protected]
[nathan: Minor commit message clean ups]
Signed-off-by: Nathan Chancellor <[email protected]>
32 lines
698 B
C
32 lines
698 B
C
/* XPM */
|
|
static char * save_xpm[] = {
|
|
"22 22 5 1",
|
|
". c None",
|
|
"# c #000000",
|
|
"a c #838100",
|
|
"b c #c5c2c5",
|
|
"c c #cdb6d5",
|
|
"......................",
|
|
".####################.",
|
|
".#aa#bbbbbbbbbbbb#bb#.",
|
|
".#aa#bbbbbbbbbbbb#bb#.",
|
|
".#aa#bbbbbbbbbcbb####.",
|
|
".#aa#bbbccbbbbbbb#aa#.",
|
|
".#aa#bbbccbbbbbbb#aa#.",
|
|
".#aa#bbbbbbbbbbbb#aa#.",
|
|
".#aa#bbbbbbbbbbbb#aa#.",
|
|
".#aa#bbbbbbbbbbbb#aa#.",
|
|
".#aa#bbbbbbbbbbbb#aa#.",
|
|
".#aaa############aaa#.",
|
|
".#aaaaaaaaaaaaaaaaaa#.",
|
|
".#aaaaaaaaaaaaaaaaaa#.",
|
|
".#aaa#############aa#.",
|
|
".#aaa#########bbb#aa#.",
|
|
".#aaa#########bbb#aa#.",
|
|
".#aaa#########bbb#aa#.",
|
|
".#aaa#########bbb#aa#.",
|
|
".#aaa#########bbb#aa#.",
|
|
"..##################..",
|
|
"......................"
|
|
};
|