[gnome-sudoku] Remove unused namespaces.



commit b9c4bd6360f18289cd3fb402f85342197c4bf650
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Sep 1 11:40:28 2014 +0200

    Remove unused namespaces.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735806

 src/gnome-sudoku.vala |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index 9a73c3f..adc9a8d 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -1,8 +1,6 @@
 /* -*- Mode: vala; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
 
 using Gtk;
-using Gee;
-using Gdk;
 
 public class Sudoku : Gtk.Application
 {
@@ -110,9 +108,9 @@ public class Sudoku : Gtk.Application
         set_accels_for_action ("app.redo", {"<Primary><Shift>z"});
         set_accels_for_action ("app.help", {"F1"});
 
-        Gtk.Window.set_default_icon_name ("gnome-sudoku");
+        Window.set_default_icon_name ("gnome-sudoku");
 
-        var css_provider = new Gtk.CssProvider ();
+        var css_provider = new CssProvider ();
         try
         {
             /* Pixel-perfect compatibility with games that have a Button without ButtonBox. */
@@ -124,7 +122,7 @@ public class Sudoku : Gtk.Application
         {
             warning ("Error loading css styles: %s", e.message);
         }
-        Gtk.StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), css_provider, 
Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
+        StyleContext.add_provider_for_screen (Gdk.Screen.get_default (), css_provider, 
STYLE_PROVIDER_PRIORITY_APPLICATION);
 
         var builder = new Builder.from_resource ("/org/gnome/sudoku/ui/gnome-sudoku.ui");
 


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