aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c2
-rw-r--r--src/ephy-history-window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index d7a8b0939..490de4f86 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1173,7 +1173,7 @@ provide_favicon (EphyNode *node, GValue *value, gpointer user_data)
}
g_value_init (value, GDK_TYPE_PIXBUF);
- g_value_set_object (value, pixbuf);
+ g_value_set_object_take_ownership (value, pixbuf);
}
static void
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index 8636557c9..0367275ea 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -930,7 +930,7 @@ provide_favicon (EphyNode *node, GValue *value, gpointer user_data)
}
g_value_init (value, GDK_TYPE_PIXBUF);
- g_value_set_object (value, pixbuf);
+ g_value_set_object_take_ownership (value, pixbuf);
}
static void