Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
cbfcd8a1
Commit
cbfcd8a1
authored
Jun 24, 2016
by
Sebastian Ramacher
Browse files
Remove unnecessary code
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
97cbbe7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
zathura/file-monitor-glib.c
View file @
cbfcd8a1
...
...
@@ -46,13 +46,7 @@ start(ZathuraFileMonitor* file_monitor)
zathura_filemonitor_get_filepath
(
file_monitor
);
/* install file monitor */
char
*
file_uri
=
g_filename_to_uri
(
file_path
,
NULL
,
NULL
);
if
(
file_uri
==
NULL
)
{
return
;
}
glib_file_monitor
->
file
=
g_file_new_for_uri
(
file_uri
);
g_free
(
file_uri
);
glib_file_monitor
->
file
=
g_file_new_for_path
(
file_path
);
if
(
glib_file_monitor
->
file
==
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