Add icon for gtk108

This commit is contained in:
daleclack 2021-09-14 08:55:56 +08:00
parent 0d2ab815fd
commit eb8d8deb63
4 changed files with 3 additions and 2 deletions

View File

@ -28,7 +28,7 @@ src=['src/main.cc', 'src/MyWin.cc', 'src/MyPrefs.cc']
if host_machine.system() == 'windows'
win=import('windows')
icon_res=win.compile_resources('../icon.rc')
executable('gtk108', icon_res, src, gresources, dependencies : gtkdep, app_schemas,
executable('gtk108', icon_res, src, gresources, app_schemas, dependencies : gtkdep,
win_subsystem : 'windows', include_directories : dir_include)
else
executable('gtk108', src, gresources, app_schemas, dependencies : gtkdep, include_directories : dir_include)

View File

@ -5,7 +5,7 @@
<default>640</default>
</key>
<key name="height" type="i">
<default>480</default>
<default>360</default>
</key>
<key name="background" type="s">
<default>'none'</default>

BIN
Gtkmm3/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

1
Gtkmm3/icon.rc Normal file
View File

@ -0,0 +1 @@
MAINICON ICON "Icon.ico"