mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Move flag icon to include file
Just like with the satellite icon we are creating a pixdata structure for
the flag.
The Makefile cleanup in commit df6a9ddd8a21 ("Auto-generate C file
dependencies, and make the build more quiet") removed the rules for
generating the .h file by mistake (I hope).
This adds a more generic rule back in and also makes sure that the data
structures get more useful names.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
393c88f087
commit
cf3c0266c2
5 changed files with 93 additions and 4 deletions
|
|
@ -870,7 +870,7 @@ static void get_suit(struct dive *dive, char **str)
|
|||
|
||||
GdkPixbuf *get_gps_icon(void)
|
||||
{
|
||||
return gdk_pixbuf_from_pixdata(&my_pixbuf, TRUE, NULL);
|
||||
return gdk_pixbuf_from_pixdata(&satellite_pixbuf, TRUE, NULL);
|
||||
}
|
||||
|
||||
static GdkPixbuf *get_gps_icon_for_dive(struct dive *dive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue