[gnome-builder] build: squash another warning
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-builder] build: squash another warning
- Date: Thu, 14 May 2015 20:45:27 +0000 (UTC)
commit 4e66a7d1ae826389f665ef838912b0878e3c87f7
Author: Christian Hergert <christian hergert me>
Date:   Thu May 14 13:32:24 2015 -0700
    build: squash another warning
 src/html/gb-html-view.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/html/gb-html-view.c b/src/html/gb-html-view.c
index b6a745e..3e2338c 100644
--- a/src/html/gb-html-view.c
+++ b/src/html/gb-html-view.c
@@ -178,10 +178,9 @@ gb_html_view_set_document (GbHtmlView *self,
 static GbView *
 gb_html_view_create_split (GbView *view)
 {
-  GbHtmlView *self = (GbHtmlView *)view;
   GbView *ret;
 
-  g_assert (GB_IS_HTML_VIEW (self));
+  g_assert (GB_IS_HTML_VIEW (view));
 
   ret = g_object_new (GB_TYPE_HTML_VIEW,
                       "document", gb_html_view_get_document (view),
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]