[gnome-builder] egg-task-cache: fix G_IS_OBJECT() checks
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] egg-task-cache: fix G_IS_OBJECT() checks
- Date: Wed, 13 May 2015 22:34:50 +0000 (UTC)
commit bfda8898a886f5b41ecc700ab18c7973f60d3d87
Author: Christian Hergert <christian hergert me>
Date: Wed May 13 15:34:43 2015 -0700
egg-task-cache: fix G_IS_OBJECT() checks
These are not necessary anymore now that we can support non-GObject
boxed types.
contrib/egg/egg-task-cache.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/contrib/egg/egg-task-cache.c b/contrib/egg/egg-task-cache.c
index cb2854b..5275e11 100644
--- a/contrib/egg/egg-task-cache.c
+++ b/contrib/egg/egg-task-cache.c
@@ -325,7 +325,6 @@ egg_task_cache_populate (EggTaskCache *self,
CacheItem *item;
g_assert (EGG_IS_TASK_CACHE (self));
- g_assert (G_IS_OBJECT (value));
item = cache_item_new (self, key, value);
@@ -345,7 +344,6 @@ egg_task_cache_propagate_pointer (EggTaskCache *self,
GPtrArray *queued = NULL;
g_assert (EGG_IS_TASK_CACHE (self));
- g_assert (G_IS_OBJECT (value));
if ((queued = g_hash_table_lookup (self->queued, key)))
{
@@ -394,7 +392,6 @@ egg_task_cache_fetch_cb (GObject *object,
}
else
{
- g_assert (G_IS_OBJECT (ret));
egg_task_cache_populate (self, key, ret);
egg_task_cache_propagate_pointer (self, key, ret);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]