Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
girara
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Johannes Löthberg
girara
Commits
6aa68899
Commit
6aa68899
authored
Nov 25, 2013
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require glib 2.28 and GTK+3
Signed-off-by:
Sebastian Ramacher
<
sebastian@ramacher.at
>
parent
1e58c96d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
Makefile
Makefile
+2
-1
README
README
+1
-0
config.mk
config.mk
+5
-1
datastructures.c
datastructures.c
+0
-5
No files found.
Makefile
View file @
6aa68899
...
...
@@ -54,7 +54,8 @@ version.h: version.h.in config.mk
$(ECHO)
CC
$<
$(QUIET)${CC}
-c
${CPPFLAGS}
${CFLAGS}
${DFLAGS}
-o
$@
$<
-MMD
-MF
.depend/
$@
.dep
${OBJECTS} ${DOBJECTS}
:
config.mk version.h .version-checks/GTK
${OBJECTS} ${DOBJECTS}
:
config.mk version.h
\
.version-checks/GTK .version-checks/GLIB
${PROJECT}
:
static shared
static
:
lib${PROJECT}.a
...
...
README
View file @
6aa68899
...
...
@@ -9,6 +9,7 @@ enhance the user interface that is used by zathura and jumanji.
Requirements
------------
glib (>= 2.28)
gtk3 (>= 3.2)
intltool
...
...
config.mk
View file @
6aa68899
...
...
@@ -25,7 +25,7 @@ INCLUDEDIR ?= ${PREFIX}/include
LOCALEDIR
?=
${PREFIX}
/share/locale
# the GTK+ version to use
GIRARA_GTK_VERSION
?
=
3
GIRARA_GTK_VERSION
=
3
# version checks
# If you want to disable any of the checks, set *_VERSION_CHECK to 0.
...
...
@@ -34,6 +34,10 @@ GIRARA_GTK_VERSION ?= 3
GTK_VERSION_CHECK
?=
1
GTK_MIN_VERSION
=
3.2
GTK_PKG_CONFIG_NAME
=
gtk+-
$(GIRARA_GTK_VERSION)
.0
# glib
GLIB_VERSION_CHECK
?=
1
GLIB_MIN_VERSION
=
2.28
GLIB_PKG_CONFIG_NAME
=
glib-2.0
# libs
GTK_INC
?=
$(
shell
pkg-config
--cflags
gtk+-
${GIRARA_GTK_VERSION}
.0
)
...
...
datastructures.c
View file @
6aa68899
...
...
@@ -90,12 +90,7 @@ girara_list_clear(girara_list_t* list)
}
if
(
list
->
free
)
{
#if (GLIB_MAJOR_VERSION >= 2) && (GLIB_MINOR_VERSION >= 28)
g_list_free_full
(
list
->
start
,
list
->
free
);
#else
g_list_foreach
(
list
->
start
,
(
GFunc
)
list
->
free
,
NULL
);
g_list_free
(
list
->
start
);
#endif
}
else
{
g_list_free
(
list
->
start
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment