[gnome-sudoku] Remove unnecessary css



commit 4714427a37fbaaa02fbcd1bbcc093eeccde1e5fa
Author: Sahil Sareen <sahil sareen hotmail com>
Date:   Fri Mar 31 14:12:07 2017 +0100

    Remove unnecessary css
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762786

 data/Makefile.am                |    3 +--
 data/gnome-sudoku.css           |    2 --
 data/gnome-sudoku.gresource.xml |    1 -
 src/gnome-sudoku.vala           |    4 ----
 4 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 76f925b..a3ecd83 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -21,8 +21,7 @@ dist_noinst_DATA = \
        gnome-sudoku.gresource.xml \
        gnome-sudoku.ui \
        gnome-sudoku-menu.ui \
-       print-dialog.ui \
-       gnome-sudoku.css
+       print-dialog.ui
 
 gsettings_SCHEMAS = org.gnome.sudoku.gschema.xml
 @GSETTINGS_RULES@
diff --git a/data/gnome-sudoku.gresource.xml b/data/gnome-sudoku.gresource.xml
index f56f566..fb2f2fd 100644
--- a/data/gnome-sudoku.gresource.xml
+++ b/data/gnome-sudoku.gresource.xml
@@ -1,7 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
   <gresource prefix="/org/gnome/sudoku/ui">
-    <file alias="gnome-sudoku.css">gnome-sudoku.css</file>
     <file preprocess="xml-stripblanks" alias="gnome-sudoku.ui">gnome-sudoku.ui</file>
     <file preprocess="xml-stripblanks" alias="print-dialog.ui">print-dialog.ui</file>
   </gresource>
diff --git a/src/gnome-sudoku.vala b/src/gnome-sudoku.vala
index 3a2abac..d7fa514 100644
--- a/src/gnome-sudoku.vala
+++ b/src/gnome-sudoku.vala
@@ -148,10 +148,6 @@ public class Sudoku : Gtk.Application
 
         Window.set_default_icon_name ("gnome-sudoku");
 
-        var css_provider = new CssProvider ();
-        css_provider.load_from_resource ("/org/gnome/sudoku/ui/gnome-sudoku.css");
-        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");
 
         window = (ApplicationWindow) builder.get_object ("sudoku_app");


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