Skip to content

Commit

Permalink
Merge pull request #56 from spiiroin/fix_deprecated
Browse files Browse the repository at this point in the history
Remove call to deprecated g_thread_init()
  • Loading branch information
Pekka Lundstrom committed Feb 7, 2014
2 parents bd005b4 + d3ee578 commit fae5be0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions dsme/dsme-server.c
Expand Up @@ -261,8 +261,6 @@ int main(int argc, char *argv[])
fprintf(stderr, ME "Couldn't set dynamic priority: %s\n", strerror(errno));
}

g_thread_init(0); /* notice that this spawns a thread */

parse_options(argc, argv, &module_names);

if (!module_names) {
Expand Down
2 changes: 1 addition & 1 deletion rpm/dsme.spec
Expand Up @@ -27,7 +27,7 @@ Requires: statefs
Requires(preun): systemd
Requires(post): systemd
Requires(postun): systemd
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(libiphb)
Expand Down
2 changes: 1 addition & 1 deletion rpm/dsme.yaml
Expand Up @@ -24,7 +24,7 @@ Sources:
- "dsme-rpmlintrc"

PkgConfigBR:
- glib-2.0
- glib-2.0 >= 2.32.0
- dbus-1
- dbus-glib-1
- libiphb
Expand Down

0 comments on commit fae5be0

Please sign in to comment.