Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
4a143959
Commit
4a143959
authored
May 10, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PDA: broken dead code
parent
452f4020
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
39 deletions
+0
-39
modules/gui/pda/pda.c
modules/gui/pda/pda.c
+0
-39
No files found.
modules/gui/pda/pda.c
View file @
4a143959
...
...
@@ -51,7 +51,6 @@ static int Open ( vlc_object_t * );
static
void
Close
(
vlc_object_t
*
);
static
void
Run
(
intf_thread_t
*
);
void
GtkAutoPlayFile
(
vlc_object_t
*
);
static
int
Manage
(
intf_thread_t
*
p_intf
);
void
GtkDisplayDate
(
GtkAdjustment
*
p_adj
,
gpointer
userdata
);
gint
GtkModeManage
(
intf_thread_t
*
p_intf
);
...
...
@@ -70,7 +69,6 @@ vlc_module_begin ()
set_description
(
N_
(
"PDA Linux Gtk2+ interface"
)
)
set_category
(
CAT_INTERFACE
)
set_subcategory
(
SUBCAT_INTERFACE_MAIN
)
// add_bool( "pda-autoplayfile", 1, GtkAutoPlayFile, AUTOPLAYFILE_TEXT, AUTOPLAYFILE_LONGTEXT, true )
set_capability
(
"interface"
,
0
)
set_callbacks
(
Open
,
Close
)
add_shortcut
(
"pda"
)
...
...
@@ -349,43 +347,6 @@ static void Run( intf_thread_t *p_intf )
vlc_restorecancel
(
canc
);
}
/*****************************************************************************
* GtkAutoplayFile: Autoplay file depending on configuration settings
*****************************************************************************/
void
GtkAutoPlayFile
(
vlc_object_t
*
p_this
)
{
GtkWidget
*
cbautoplay
;
intf_thread_t
*
p_intf
;
int
i_index
;
vlc_list_t
*
p_list
=
vlc_list_find
(
p_this
,
VLC_OBJECT_INTF
,
FIND_ANYWHERE
);
for
(
i_index
=
0
;
i_index
<
p_list
->
i_count
;
i_index
++
)
{
p_intf
=
(
intf_thread_t
*
)
p_list
->
p_values
[
i_index
].
p_object
;
if
(
strcmp
(
MODULE_STRING
,
module_get_object
(
p_intf
->
p_module
)
)
)
{
continue
;
}
cbautoplay
=
GTK_WIDGET
(
gtk_object_get_data
(
GTK_OBJECT
(
p_intf
->
p_sys
->
p_window
),
"cbautoplay"
)
);
if
(
!
config_GetInt
(
p_this
,
"pda-autoplayfile"
)
)
{
p_intf
->
p_sys
->
b_autoplayfile
=
false
;
}
else
{
p_intf
->
p_sys
->
b_autoplayfile
=
true
;
}
gtk_toggle_button_set_active
(
GTK_TOGGLE_BUTTON
(
cbautoplay
),
p_intf
->
p_sys
->
b_autoplayfile
);
}
vlc_list_release
(
p_list
);
}
/* following functions are local */
/*****************************************************************************
...
...
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