summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-01 17:25:41 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-01 17:25:41 +1100
commitcf3c0266c2bf0f6fbbd532ef4e0c9bdd0a7b37a7 (patch)
treee1200262f40aead51403aab1e665392892d0298f /divelist.c
parent393c88f087d40578558b104dd42ff2076e198188 (diff)
downloadsubsurface-cf3c0266c2bf0f6fbbd532ef4e0c9bdd0a7b37a7.tar.gz
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>
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c
index 1463ef942..d8c760db9 100644
--- a/divelist.c
+++ b/divelist.c
@@ -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)