summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/divelist.c b/divelist.c
index 288b78753..b5fe48e5b 100644
--- a/divelist.c
+++ b/divelist.c
@@ -922,7 +922,7 @@ static void fill_one_dive(struct dive *dive,
-1);
if (icon)
- gdk_pixbuf_unref(icon);
+ g_object_unref(icon);
free(location);
free(cylinder);
free(suit);
@@ -1328,7 +1328,7 @@ static void fill_dive_list(void)
DIVE_SAC, 0,
-1);
if (icon)
- gdk_pixbuf_unref(icon);
+ g_object_unref(icon);
gtk_tree_store_append(liststore, &iter, NULL);
gtk_tree_store_set(liststore, &iter,
DIVE_INDEX, i,