Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
3c9aa734
Commit
3c9aa734
authored
Jun 08, 2006
by
Christophe Mutricy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't hardcode path
parent
88d96cf4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
modules/misc/notify.c
modules/misc/notify.c
+4
-2
No files found.
modules/misc/notify.c
View file @
3c9aa734
...
...
@@ -107,12 +107,14 @@ static void Close( vlc_object_t *p_this )
playlist_t
*
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_this
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
msg_Err
(
p_this
,
"before playlist"
);
if
(
p_playlist
)
{
msg_Err
(
p_this
,
"before delete callback"
);
var_DelCallback
(
p_playlist
,
"playlist-current"
,
ItemChange
,
p_this
);
vlc_object_release
(
p_playlist
);
}
msg_Err
(
p_this
,
"before uninit"
);
notify_uninit
();
}
...
...
@@ -178,7 +180,7 @@ static int Notify( vlc_object_t *p_this, const char *psz_temp )
NotifyNotification
*
notification
;
notification
=
notify_notification_new
(
_
(
"Now Playing"
),
psz_temp
,
"/usr/share/pixmaps/vlc
.png"
,
NULL
);
DATA_PATH
"/vlc128x128
.png"
,
NULL
);
notify_notification_set_timeout
(
notification
,
config_GetInt
(
p_this
,
"notify-timeout"
)
);
notify_notification_set_urgency
(
notification
,
NOTIFY_URGENCY_LOW
);
...
...
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