Skip to content

Commit 8e08dd6

Browse files
authored
Merge branch 'main' into release-7.7.0
2 parents 74e2b04 + eb228ef commit 8e08dd6

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
- name: Install Dependencies
2424
run: |
2525
apt update
26-
apt install -y meson gobject-introspection libgee-0.8-dev libgirepository1.0-dev libgtk-4-dev libshumate-dev sassc valac
26+
apt install -y meson gobject-introspection libgee-0.8-dev libgirepository1.0-dev libgtk-4-dev libshumate-dev sassc valac valadoc gtk-doc-tools
2727
- name: Build
2828
env:
2929
DESTDIR: out
3030
PKG_CONFIG_PATH: ${{ github.workspace }}/build/meson-uninstalled
3131
run: |
32-
meson build
32+
meson setup build -Ddocumentation=true
3333
ninja -C build
3434
ninja -C build install
3535

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ You'll need the following dependencies:
2222
To build the Demo you'll additionally need:
2323
* libshumate-dev
2424

25-
Run `meson build` to configure the build environment:
25+
Run `meson setup` to configure the build environment:
2626

27-
meson build --prefix=/usr
27+
meson setup build --prefix=/usr
2828

2929
This command creates a `build` directory. For all following commands, change to
3030
the build directory before running them.

demo/Views/HyperTextViewGrid.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ public class HyperTextViewGrid : DemoPage {
2727
var hypertext_scrolled_window = new Gtk.ScrolledWindow () {
2828
height_request = 300,
2929
width_request = 600,
30-
child = hypertext_textview
30+
child = hypertext_textview,
31+
has_frame = true
3132
};
32-
hypertext_scrolled_window.add_css_class (Granite.STYLE_CLASS_FRAME);
3333

3434
var box = new Granite.Box (VERTICAL, NONE) {
3535
halign = CENTER,

demo/Views/WelcomeView.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class WelcomeView : DemoPage {
4545
margin_start = 12
4646
};
4747
listbox.set_placeholder (search_placeholder);
48-
listbox.add_css_class (Granite.STYLE_CLASS_FRAME);
48+
listbox.add_css_class (Granite.CssClass.CARD);
4949

5050
var search_entry = new Gtk.SearchEntry () {
5151
margin_top = 12,

lib/StyleManager.vala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class Granite.StyleManager : Object {
2121

2222
/**
2323
* Returns the {@link Granite.StyleManager} that handles the default display
24-
* as gotten by {@link Gdk.Display.get_default ()}.
24+
* as gotten by {@link Gdk.Display.get_default}.
2525
*/
2626
public static unowned StyleManager get_default () {
2727
return style_managers_by_displays[Gdk.Display.get_default ()];
@@ -44,8 +44,8 @@ public class Granite.StyleManager : Object {
4444

4545
/**
4646
* The {@link Granite.Settings.ColorScheme} requested by the application
47-
* Uses value from {@link Granite.Settings.prefers_color_scheme} when set to {@link Granite.Settings.ColorScheme.NO_PREFERENCE }.
48-
* Default value is {@link Granite.Settings.ColorScheme.NO_PREFERENCE }
47+
* Uses value from {@link Granite.Settings.prefers_color_scheme} when set to {@link Granite.Settings.ColorScheme.NO_PREFERENCE}.
48+
* Default value is {@link Granite.Settings.ColorScheme.NO_PREFERENCE}
4949
*/
5050
public Settings.ColorScheme color_scheme { get; set; default = NO_PREFERENCE; }
5151

0 commit comments

Comments
 (0)