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
692795dc
Commit
692795dc
authored
Aug 21, 2002
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stopping vlc from the Familiar interface is possible again.
parent
28ad2fd0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
31 deletions
+24
-31
modules/gui/familiar/callbacks.c
modules/gui/familiar/callbacks.c
+11
-11
modules/gui/familiar/callbacks.h
modules/gui/familiar/callbacks.h
+6
-6
modules/gui/familiar/familiar.c
modules/gui/familiar/familiar.c
+2
-1
modules/gui/familiar/familiar.glade
modules/gui/familiar/familiar.glade
+3
-8
modules/gui/familiar/interface.c
modules/gui/familiar/interface.c
+2
-5
No files found.
modules/gui/familiar/callbacks.c
View file @
692795dc
...
...
@@ -2,7 +2,7 @@
* callbacks.c : Callbacks for the Familiar Linux Gtk+ plugin.
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: callbacks.c,v 1.
6 2002/08/18 20:36:04
jpsaman Exp $
* $Id: callbacks.c,v 1.
7 2002/08/21 19:30:03
jpsaman Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
...
...
@@ -237,16 +237,6 @@ gboolean GtkExit( GtkWidget *widget,
return
TRUE
;
}
gboolean
on_familiar_destroy_event
(
GtkWidget
*
widget
,
GdkEvent
*
event
,
gpointer
user_data
)
{
GtkExit
(
GTK_WIDGET
(
widget
),
user_data
);
return
TRUE
;
}
void
on_toolbar_open_clicked
(
GtkButton
*
button
,
gpointer
user_data
)
...
...
@@ -480,3 +470,13 @@ on_cbautoplay_toggled (GtkToggleButton *togglebutton,
}
}
gboolean
on_familiar_delete_event
(
GtkWidget
*
widget
,
GdkEvent
*
event
,
gpointer
user_data
)
{
GtkExit
(
GTK_WIDGET
(
widget
),
user_data
);
return
TRUE
;
}
modules/gui/familiar/callbacks.h
View file @
692795dc
...
...
@@ -2,7 +2,7 @@
* callbacks.h : familiar plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: callbacks.h,v 1.
5 2002/08/18 20:36:04
jpsaman Exp $
* $Id: callbacks.h,v 1.
6 2002/08/21 19:30:03
jpsaman Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
...
...
@@ -27,11 +27,6 @@ gboolean GtkExit ( GtkWidget *, gpointer );
void
ReadDirectory
(
GtkCList
*
clist
,
char
*
psz_dir
);
gboolean
on_familiar_destroy_event
(
GtkWidget
*
widget
,
GdkEvent
*
event
,
gpointer
user_data
);
void
on_toolbar_open_clicked
(
GtkButton
*
button
,
gpointer
user_data
);
...
...
@@ -85,3 +80,8 @@ void
on_cbautoplay_toggled
(
GtkToggleButton
*
togglebutton
,
gpointer
user_data
);
gboolean
on_familiar_delete_event
(
GtkWidget
*
widget
,
GdkEvent
*
event
,
gpointer
user_data
);
modules/gui/familiar/familiar.c
View file @
692795dc
...
...
@@ -2,7 +2,7 @@
* familiar.c : familiar plugin for vlc
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: familiar.c,v 1.
6 2002/08/20 18:08:51 sam
Exp $
* $Id: familiar.c,v 1.
7 2002/08/21 19:30:03 jpsaman
Exp $
*
* Authors: Jean-Paul Saman <jpsaman@wxs.nl>
*
...
...
@@ -158,5 +158,6 @@ static void Run( intf_thread_t *p_intf )
gtk_object_destroy
(
GTK_OBJECT
(
p_intf
->
p_sys
->
p_window
)
);
gdk_threads_leave
();
gtk_main_quit
();
}
modules/gui/familiar/familiar.glade
View file @
692795dc
...
...
@@ -21,14 +21,9 @@
<width>
240
</width>
<height>
320
</height>
<signal>
<name>
destroy_event
</name>
<handler>
on_familiar_destroy_event
</handler>
<last_modification_time>
Tue, 23 Jul 2002 18:16:11 GMT
</last_modification_time>
</signal>
<signal>
<name>
destroy
</name>
<handler>
gtk_main_quit
</handler>
<last_modification_time>
Tue, 23 Jul 2002 18:17:28 GMT
</last_modification_time>
<name>
delete_event
</name>
<handler>
on_familiar_delete_event
</handler>
<last_modification_time>
Wed, 21 Aug 2002 19:12:40 GMT
</last_modification_time>
</signal>
<title>
vlc (familiar)
</title>
<type>
GTK_WINDOW_TOPLEVEL
</type>
...
...
modules/gui/familiar/interface.c
View file @
692795dc
...
...
@@ -453,11 +453,8 @@ create_familiar (void)
gtk_widget_show
(
about
);
gtk_notebook_set_tab_label
(
GTK_NOTEBOOK
(
notebook
),
gtk_notebook_get_nth_page
(
GTK_NOTEBOOK
(
notebook
),
2
),
about
);
gtk_signal_connect
(
GTK_OBJECT
(
familiar
),
"destroy_event"
,
GTK_SIGNAL_FUNC
(
on_familiar_destroy_event
),
NULL
);
gtk_signal_connect
(
GTK_OBJECT
(
familiar
),
"destroy"
,
GTK_SIGNAL_FUNC
(
gtk_main_quit
),
gtk_signal_connect
(
GTK_OBJECT
(
familiar
),
"delete_event"
,
GTK_SIGNAL_FUNC
(
on_familiar_delete_event
),
NULL
);
gtk_signal_connect
(
GTK_OBJECT
(
toolbar_open
),
"clicked"
,
GTK_SIGNAL_FUNC
(
on_toolbar_open_clicked
),
...
...
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