[gnome-calculator] Build fixes



commit 22a7959081dfb23dff0746d80986995526948b5e
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Sun Oct 26 00:26:05 2014 +0300

    Build fixes
    
    For build with last vala and gtksourceview.

 src/math-display.vala |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/math-display.vala b/src/math-display.vala
index fc10f8b..a4b3f57 100644
--- a/src/math-display.vala
+++ b/src/math-display.vala
@@ -487,7 +487,8 @@ public class FunctionCompletionProvider : CompletionProvider
     {
         Gtk.TextIter emptyiter = {};
 
-        var iter1 = context.get_iter ();
+        Gtk.TextIter iter1;
+        context.get_iter (out iter1);
         // This check is based on the assumption/knowledge
         // that vala nulls the iter before passing at as a reference.
         // The gtksourceview api has no way to signal error.
@@ -549,7 +550,8 @@ public class VariableCompletionProvider : CompletionProvider
     {
         Gtk.TextIter emptyiter = {};
 
-        var iter1 = context.get_iter ();
+        Gtk.TextIter iter1;
+        context.get_iter (out iter1);
         // This check is based on the assumption/knowledge
         // that vala nulls the iter before passing at as a reference.
         // The gtksourceview api has no way to signal error.


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