Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
videolan
vlc-gpu
Commits
714ba1f1
Commit
714ba1f1
authored
Nov 15, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix uninhibiting gnome power manager
LP#888002
parent
39b9b363
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/misc/inhibit.c
modules/misc/inhibit.c
+6
-1
No files found.
modules/misc/inhibit.c
View file @
714ba1f1
...
...
@@ -62,6 +62,11 @@ static const char *dbus_interface[] = {
[
GNOME
]
=
"org.gnome.SessionManager"
,
};
static
const
char
*
dbus_uninhibit_method
[]
=
{
[
FREEDESKTOP
]
=
"UnInhibit"
,
[
GNOME
]
=
"Uninhibit"
,
};
/*****************************************************************************
* Local prototypes
...
...
@@ -232,7 +237,7 @@ static void UnInhibit( intf_thread_t *p_intf, int type )
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
;
DBusMessage
*
msg
=
dbus_message_new_method_call
(
dbus_service
[
type
],
dbus_path
[
type
],
dbus_interface
[
type
],
"UnInhibit"
);
dbus_path
[
type
],
dbus_interface
[
type
],
dbus_uninhibit_method
[
type
]
);
if
(
unlikely
(
msg
==
NULL
)
)
return
;
...
...
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