[gnome-boxes] Move Gdk.keysyms in util.vala
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Move Gdk.keysyms in util.vala
- Date: Wed, 5 Oct 2011 22:14:22 +0000 (UTC)
commit a935f1ab645e9e6730d4a7b5da34a4c0ebf2fc80
Author: Marc-Andrà Lureau <marcandre lureau gmail com>
Date: Thu Oct 6 00:14:12 2011 +0200
Move Gdk.keysyms in util.vala
src/app.vala | 4 ----
src/util.vala | 4 ++++
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/app.vala b/src/app.vala
index d98e63c..15671b8 100644
--- a/src/app.vala
+++ b/src/app.vala
@@ -19,10 +19,6 @@ private errordomain Boxes.Error {
}
private class Boxes.App: Boxes.UI {
- // FIXME: Remove these when we can use Vala release that provides binding for gdkkeysyms.h
- private const uint F11_KEY = 0xffc8;
- private const uint F12_KEY = 0xffc9;
-
public Gtk.Window window;
public GtkClutter.Embed embed;
public Stage stage;
diff --git a/src/util.vala b/src/util.vala
index 7fb8ab4..cb7c9ee 100644
--- a/src/util.vala
+++ b/src/util.vala
@@ -4,6 +4,10 @@ using Config;
using Xml;
namespace Boxes {
+ // FIXME: Remove these when we can use Vala release that provides binding for gdkkeysyms.h
+ private const uint F11_KEY = 0xffc8;
+ private const uint F12_KEY = 0xffc9;
+
private string get_pkgdata (string? file_name = null) {
return Path.build_filename (DATADIR, Config.PACKAGE_TARNAME, file_name);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]