[cheese/gtk3] cheese-window: Fix vala syntax problem



commit fdba9c55c601c50a08fcdd761605059e79a36b75
Author: Luciana Fujii Pontello <luciana fujii eti br>
Date:   Fri Feb 4 00:34:18 2011 -0200

    cheese-window: Fix vala syntax problem
    
    Cheese wasn't compiled by latest java because of this array
    construction. Changing it to a proper array we avoid the compiling
    problem. Fixes bug #639276.

 src/cheese-window.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index 8afb045..729f9f0 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -1040,7 +1040,7 @@ public class Cheese.MainWindow : Gtk.Window
       }
 
       /* Keep only these actions sensitive. */
-      string active_actions[11] = { "cheese_action",
+      string [] active_actions = { "cheese_action",
                                     "edit_action",
                                     "help_action",
                                     "quit",



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