[gnome-builder] back-forward-list: assert for proper GType



commit 53efdc90ec95af36ff7dbec90c2a8fa5c4c7ff43
Author: Christian Hergert <chergert redhat com>
Date:   Tue Nov 17 01:02:47 2015 -0800

    back-forward-list: assert for proper GType

 libide/ide-back-forward-list.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-back-forward-list.c b/libide/ide-back-forward-list.c
index 94bb15b..c7f3b19 100644
--- a/libide/ide-back-forward-list.c
+++ b/libide/ide-back-forward-list.c
@@ -493,7 +493,7 @@ find_by_file (gpointer data,
   } *lookup = user_data;
 
   g_assert (lookup);
-  g_assert (IDE_IS_FILE (lookup->file));
+  g_assert (G_IS_FILE (lookup->file));
   g_assert (IDE_IS_BACK_FORWARD_ITEM (item));
 
   if (lookup->result)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]