Skip to content

Commit 425a11c

Browse files
committed
Reduce diff
1 parent 36953e0 commit 425a11c

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ You'll need the following dependencies:
1414
* libgnome-desktop-4-dev
1515
* libgnome-bg-4-dev
1616
* libgranite-dev (>= 5.4.0)
17+
* libgranite-7-dev
18+
* libgtk-3-dev
1719
* libgtk-4-dev
1820
* libmutter-10-dev (>= 42.0) | libmutter-dev (>= 3.18.3)
1921
* meson (>= 0.59.0)

daemon-gtk3/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ gala_daemon_sources = files(
1010
granite6_dep = dependency('granite')
1111
hdy_dep = dependency('libhandy-1')
1212

13-
gala_daemon_bin = executable(
13+
executable(
1414
'gala-daemon-gtk3',
1515
gala_daemon_sources,
1616
gala_common_enums,

docs/meson.build

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ all_doc_target = custom_target(
3939
command: [
4040
basic_command,
4141
'--internal',
42+
'--pkg', 'sqlite3',
4243
'--pkg', 'atk-bridge-2.0',
4344
'--pkg', 'gnome-bg-4',
4445
'--pkg', 'gnome-desktop-4',
4546
'--pkg', 'libsystemd',
46-
'--pkg', 'pantheon-desktop-shell',
47-
'--pkg', 'sqlite3',
4847
'--pkg', 'wayland-server',
48+
'--pkg', 'pantheon-desktop-shell',
4949
'--vapidir=' + join_paths(meson.global_source_root(), 'protocol'),
5050
'-o', '@OUTPUT@',
5151
'@INPUT@'

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ add_project_arguments([
4343
'-Wl,--enable-new-dtags',
4444

4545
'-DGETTEXT_PACKAGE="@0@"'.format(meson.project_name()),
46-
'-DGNOME_DESKTOP_USE_UNSTABLE_API',
46+
'-DGNOME_DESKTOP_USE_UNSTABLE_API',
4747

4848
'-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_74',
4949
'-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_74',

src/Widgets/MultitaskingView/WindowCloneContainer.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ public class Gala.WindowCloneContainer : ActorTarget {
387387
var k1 = b.x - a.x;
388388
var k2 = b.y - a.y;
389389

390-
return (int) (k1 * k1 + k2 * k2);
390+
return k1 * k1 + k2 * k2;
391391
}
392392

393393
private static Mtk.Rectangle rect_adjusted (Mtk.Rectangle rect, int dx1, int dy1, int dx2, int dy2) {

0 commit comments

Comments
 (0)