← Back to team overview

elementaryart team mailing list archive

[Bug 854801] [NEW] Cannot build granite (error in Entries.vala)

 

Public bug reported:

When attempting to build granite trunk on Ubuntu 11.04 natty x86_64,
running "make" fails with two errors:

./granite/lib/Widgets/Entries.vala:32.19-32.70: error: invocation of void method not allowed as expression
   normal_color = get_style_context().get_color(Gtk.StateFlags.NORMAL);
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
./granite/lib/Widgets/Entries.vala:33.24-33.80: error: invocation of void method not allowed as expression
   insensitive_color = get_style_context().get_color(Gtk.StateFlags.INSENSITIVE);
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 2 error(s), 2 warning(s)
make[2]: *** [lib/Application.c] Error 1
make[1]: *** [lib/CMakeFiles/granite.dir/all] Error 2
make: *** [all] Error 2

** Affects: granite
     Importance: Undecided
         Status: New

** Description changed:

- When attempting to build granite trunk, running "make" fails with two
- errors:
+ When attempting to build granite trunk on Ubuntu 11.04 natty x86_64,
+ running "make" fails with two errors:
  
  ./granite/lib/Widgets/Entries.vala:32.19-32.70: error: invocation of void method not allowed as expression
- 			normal_color = get_style_context().get_color(Gtk.StateFlags.NORMAL);
- 			               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    normal_color = get_style_context().get_color(Gtk.StateFlags.NORMAL);
+                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ./granite/lib/Widgets/Entries.vala:33.24-33.80: error: invocation of void method not allowed as expression
- 			insensitive_color = get_style_context().get_color(Gtk.StateFlags.INSENSITIVE);
- 			                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+    insensitive_color = get_style_context().get_color(Gtk.StateFlags.INSENSITIVE);
+                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Compilation failed: 2 error(s), 2 warning(s)
  make[2]: *** [lib/Application.c] Error 1
  make[1]: *** [lib/CMakeFiles/granite.dir/all] Error 2
  make: *** [all] Error 2

-- 
You received this bug notification because you are a member of
elementary desktop team, which is the registrant for Granite.
https://bugs.launchpad.net/bugs/854801

Title:
  Cannot build granite (error in Entries.vala)

Status in Granite Framework:
  New

Bug description:
  When attempting to build granite trunk on Ubuntu 11.04 natty x86_64,
  running "make" fails with two errors:

  ./granite/lib/Widgets/Entries.vala:32.19-32.70: error: invocation of void method not allowed as expression
     normal_color = get_style_context().get_color(Gtk.StateFlags.NORMAL);
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ./granite/lib/Widgets/Entries.vala:33.24-33.80: error: invocation of void method not allowed as expression
     insensitive_color = get_style_context().get_color(Gtk.StateFlags.INSENSITIVE);
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  Compilation failed: 2 error(s), 2 warning(s)
  make[2]: *** [lib/Application.c] Error 1
  make[1]: *** [lib/CMakeFiles/granite.dir/all] Error 2
  make: *** [all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/granite/+bug/854801/+subscriptions


Follow ups

References