Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
d7b06ca3
Commit
d7b06ca3
authored
Nov 20, 2015
by
Sebastian Ramacher
Browse files
Require GTK+ 3.6
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
ff976d48
Changes
2
Hide whitespace changes
Inline
Side-by-side
config.mk
View file @
d7b06ca3
...
...
@@ -26,7 +26,7 @@ GLIB_MIN_VERSION = 2.32
GLIB_PKG_CONFIG_NAME
=
glib-2.0
# GTK
GTK_VERSION_CHECK
?=
1
GTK_MIN_VERSION
=
3.
0
GTK_MIN_VERSION
=
3.
6
GTK_PKG_CONFIG_NAME
=
gtk+-3.0
# pkg-config binary
...
...
zathura/main.c
View file @
d7b06ca3
...
...
@@ -28,9 +28,6 @@ main(int argc, char* argv[])
textdomain
(
GETTEXT_PACKAGE
);
/* init gtk */
#if !GTK_CHECK_VERSION(3, 6, 0)
gdk_threads_init
();
#endif
gtk_init
(
&
argc
,
&
argv
);
/* parse command line arguments */
...
...
@@ -282,13 +279,7 @@ main(int argc, char* argv[])
}
/* run zathura */
#if !GTK_CHECK_VERSION(3, 6, 0)
gdk_threads_enter
();
#endif
gtk_main
();
#if !GTK_CHECK_VERSION(3, 6, 0)
gdk_threads_leave
();
#endif
/* free zathura */
zathura_free
(
zathura
);
...
...
Write
Preview
Supports
Markdown
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