Skip to content

Commit d2da2c5

Browse files
committed
Fixed build errors/warnings
1 parent c8da33f commit d2da2c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/MainWindow.vala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ public class Scribble.MainWindow : Gtk.ApplicationWindow {
7373
});
7474

7575
var actionbar = new Gtk.ActionBar ();
76-
actionbar.get_style_context ().add_class(Granite.STYLE_CLASS_FLAT);
76+
actionbar.add_css_class (Granite.STYLE_CLASS_FLAT);
7777
actionbar.pack_start (new_note_button);
7878

7979
var sidebar = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
80-
sidebar.get_style_context ().add_class(Granite.STYLE_CLASS_SIDEBAR);
80+
sidebar.add_css_class (Granite.STYLE_CLASS_SIDEBAR);
8181
sidebar.append (sidebar_header);
8282
sidebar.append (sidebar_scrollable_area);
8383
sidebar.append (actionbar);
@@ -93,7 +93,7 @@ public class Scribble.MainWindow : Gtk.ApplicationWindow {
9393
var main_content = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
9494
main_content.add_css_class (Granite.STYLE_CLASS_BACKGROUND);
9595
main_content.append (main_header);
96-
main_content.append (btntest);
96+
//main_content.append (btntest);
9797

9898
// Layout
9999
var paned = new Gtk.Paned (Gtk.Orientation.HORIZONTAL) {

0 commit comments

Comments
 (0)