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
xfce4-screensaver
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Apps
xfce4-screensaver
Commits
3fabc5af
Commit
3fabc5af
authored
Oct 03, 2018
by
Sean Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy up desktop-entries.{c,h}
parent
7c16c979
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
36 deletions
+0
-36
src/desktop-entries.c
src/desktop-entries.c
+0
-31
src/desktop-entries.h
src/desktop-entries.h
+0
-5
No files found.
src/desktop-entries.c
View file @
3fabc5af
...
...
@@ -488,36 +488,16 @@ const char* desktop_entry_get_name(DesktopEntry* entry)
return
entry
->
name
;
}
const
char
*
desktop_entry_get_generic_name
(
DesktopEntry
*
entry
)
{
return
entry
->
generic_name
;
}
const
char
*
desktop_entry_get_full_name
(
DesktopEntry
*
entry
)
{
return
entry
->
full_name
;
}
const
char
*
desktop_entry_get_comment
(
DesktopEntry
*
entry
)
{
return
entry
->
comment
;
}
const
char
*
desktop_entry_get_icon
(
DesktopEntry
*
entry
)
{
return
entry
->
icon
;
}
const
char
*
desktop_entry_get_exec
(
DesktopEntry
*
entry
)
{
return
entry
->
exec
;
}
gboolean
desktop_entry_get_launch_in_terminal
(
DesktopEntry
*
entry
)
{
return
entry
->
terminal
;
}
gboolean
desktop_entry_get_hidden
(
DesktopEntry
*
entry
)
{
return
(
entry
->
flags
&
DESKTOP_ENTRY_HIDDEN
)
!=
0
;
...
...
@@ -803,14 +783,3 @@ void desktop_entry_set_subtract(DesktopEntrySet* set, DesktopEntrySet* other)
(
GHRFunc
)
subtract_foreach_remove
,
&
sd
);
}
void
desktop_entry_set_swap_contents
(
DesktopEntrySet
*
a
,
DesktopEntrySet
*
b
)
{
GHashTable
*
tmp
;
menu_verbose
(
" Swap contents of %p and %p
\n
"
,
a
,
b
);
tmp
=
a
->
hash
;
a
->
hash
=
b
->
hash
;
b
->
hash
=
tmp
;
}
src/desktop-entries.h
View file @
3fabc5af
...
...
@@ -46,12 +46,8 @@ const char* desktop_entry_get_path(DesktopEntry* entry);
const
char
*
desktop_entry_get_basename
(
DesktopEntry
*
entry
);
const
char
*
desktop_entry_get_name
(
DesktopEntry
*
entry
);
const
char
*
desktop_entry_get_generic_name
(
DesktopEntry
*
entry
);
const
char
*
desktop_entry_get_full_name
(
DesktopEntry
*
entry
);
const
char
*
desktop_entry_get_comment
(
DesktopEntry
*
entry
);
const
char
*
desktop_entry_get_icon
(
DesktopEntry
*
entry
);
const
char
*
desktop_entry_get_exec
(
DesktopEntry
*
entry
);
gboolean
desktop_entry_get_launch_in_terminal
(
DesktopEntry
*
entry
);
gboolean
desktop_entry_get_hidden
(
DesktopEntry
*
entry
);
gboolean
desktop_entry_get_no_display
(
DesktopEntry
*
entry
);
...
...
@@ -77,7 +73,6 @@ int desktop_entry_set_get_count(DesktopEntrySet* set);
void
desktop_entry_set_union
(
DesktopEntrySet
*
set
,
DesktopEntrySet
*
with
);
void
desktop_entry_set_intersection
(
DesktopEntrySet
*
set
,
DesktopEntrySet
*
with
);
void
desktop_entry_set_subtract
(
DesktopEntrySet
*
set
,
DesktopEntrySet
*
other
);
void
desktop_entry_set_swap_contents
(
DesktopEntrySet
*
a
,
DesktopEntrySet
*
b
);
typedef
void
(
*
DesktopEntrySetForeachFunc
)
(
const
char
*
file_id
,
DesktopEntry
*
entry
,
gpointer
user_data
);
...
...
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