Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sotsef-reaction-game
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tag2y19
sotsef-reaction-game
Commits
b82a618b
Commit
b82a618b
authored
4 weeks ago
by
tag2y19
Browse files
Options
Downloads
Patches
Plain Diff
Remove adwaita. We were only using Gtk anyway.
parent
c54ebff2
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
configure.sh
+1
-1
1 addition, 1 deletion
configure.sh
inc/app.h
+2
-2
2 additions, 2 deletions
inc/app.h
src/app.c
+2
-2
2 additions, 2 deletions
src/app.c
src/main.c
+1
-1
1 addition, 1 deletion
src/main.c
with
6 additions
and
6 deletions
configure.sh
+
1
−
1
View file @
b82a618b
...
...
@@ -25,7 +25,7 @@ fi
eval set
--
"
$ARGS
"
;
zero
=
"
$0
"
;
PKGS
=
"gtk4
libadwaita-1
librsvg-2.0"
PKGS
=
"gtk4 librsvg-2.0"
while
true
;
do
...
...
This diff is collapsed.
Click to expand it.
inc/app.h
+
2
−
2
View file @
b82a618b
...
...
@@ -5,11 +5,11 @@
extern
"C"
{
#endif
#include
<
adwaita
.h>
#include
<
gtk/gtk
.h>
#define GAME_APP_TYPE ( game_app_get_type() )
G_DECLARE_FINAL_TYPE
(
GameApp
,
game_app
,
GAME
,
APP
,
Adw
Application
);
GameApp
,
game_app
,
GAME
,
APP
,
Gtk
Application
);
GameApp
*
game_app_new
();
void
game_app_button_press
(
GameApp
*
app
,
int
pin
);
...
...
This diff is collapsed.
Click to expand it.
src/app.c
+
2
−
2
View file @
b82a618b
...
...
@@ -7,13 +7,13 @@
struct
_GameApp
{
Adw
Application
parent
;
Gtk
Application
parent
;
GameWindow
*
window
;
};
G_DEFINE_TYPE
(
GameApp
,
game_app
,
ADW
_TYPE_APPLICATION
);
G_DEFINE_TYPE
(
GameApp
,
game_app
,
GTK
_TYPE_APPLICATION
);
/* PROTOTYPES!!! */
...
...
This diff is collapsed.
Click to expand it.
src/main.c
+
1
−
1
View file @
b82a618b
...
...
@@ -2,7 +2,7 @@
#include
"pins.h"
#include
<
adwaita
.h>
#include
<
gtk/gtk
.h>
#include
<stdio.h>
#ifndef NO_WIRINGPI
#include
<wiringPi.h>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment