Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3f386383
Commit
3f386383
authored
Sep 16, 2013
by
Jan Djärv
Browse files
* xsettings.c (init_gconf, init_gsettings): Check for Glib 2.36.0
before calling g_type_init.
parent
6434e343
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/ChangeLog
src/ChangeLog
+3
-0
src/xsettings.c
src/xsettings.c
+4
-0
No files found.
src/ChangeLog
View file @
3f386383
2013-09-16 Jan Djärv <jan.h.d@swipnet.se>
* xsettings.c (init_gconf, init_gsettings): Check for Glib 2.36.0
before calling g_type_init.
* font.c (syms_of_font): Move call to syms_of_(ns|mac)font ...
* nsterm.m (syms_of_nsterm): ... to here.
...
...
src/xsettings.c
View file @
3f386383
...
...
@@ -804,7 +804,9 @@ init_gsettings (void)
int
schema_found
=
0
;
#ifdef HAVE_G_TYPE_INIT
#if ! GLIB_CHECK_VERSION (2, 36, 0)
g_type_init
();
#endif
#endif
schemas
=
g_settings_list_schemas
();
...
...
@@ -861,7 +863,9 @@ init_gconf (void)
char
*
s
;
#ifdef HAVE_G_TYPE_INIT
#if ! GLIB_CHECK_VERSION (2, 36, 0)
g_type_init
();
#endif
#endif
gconf_client
=
gconf_client_get_default
();
...
...
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