Skip to content

Commit 2ba9d4a

Browse files
committed
Replaced all the deprecated Gtk3 widgets with the recommended alternatives.
1 parent 859a330 commit 2ba9d4a

File tree

3 files changed

+211
-219
lines changed

3 files changed

+211
-219
lines changed

bin/gtk3-youtube-viewer

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@
1515
#-------------------------------------------------------
1616
# GTK YouTube Viewer
1717
# Created on: 12 September 2010
18-
# Latest edit on: 22 December 2019
18+
# Latest edit on: 23 December 2019
1919
# https://github.com/trizen/youtube-viewer
2020
#-------------------------------------------------------
2121

22-
# EXPERIMENTAL PORTING OF GTK-YOUTUBE-VIEWER TO GTK3. (does not work yet)
23-
# https://github.com/trizen/youtube-viewer/issues/284
24-
2522
use utf8;
2623
use 5.014;
2724

@@ -290,7 +287,7 @@ sub gval ($$) {
290287
Glib::Object::Introspection::GValueWrapper->new('Glib::' . ucfirst($_[0]) => $_[1]);
291288
}
292289

293-
# Convert string into an array-ref of bytes
290+
# Convert a string into an array-ref of bytes
294291
sub gcarray ($) {
295292
[map { ord } split(//, $_[0])]
296293
}

share/gtk-youtube-viewer.glade

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2219,25 +2219,16 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22192219

22202220
See <https://dev.perl.org/licenses/> for more information.
22212221
</property>
2222-
<property name="authors">[+] Developer/Maintainer:
2223-
=&gt; Trizen (echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d)
2224-
* Core
2225-
* GUI
2222+
<property name="authors"># Main developer #
2223+
Trizen http://github.com/trizen
22262224

2227-
[+] Contributors:
2228-
=&gt; Ovidiu D. Nițan (&lt;[email protected]&gt;)
2229-
* GUI fixes.
2225+
# Contributors #
2226+
Ovidiu D. Nițan &lt;[email protected]&gt;
2227+
Jookia http://github.com/Jookia
2228+
Andreas Hrubak http://github.com/bAndie91
22302229

2231-
=&gt; Jookia (&lt;https://github.com/Jookia&gt;)
2232-
* Proxy support.
2233-
* Internal improvements.
2234-
2235-
=&gt; Andreas Hrubak (&lt;https://github.com/bAndie91&gt;)
2236-
* Results tooltips.
2237-
* Back and forward navigation support.
2238-
2239-
Full list of contributors: &lt;https://github.com/trizen/youtube-viewer/graphs/contributors&gt;</property>
2240-
<property name="artists">PosixRU (main icon: &lt;http://zenway.ru/page/gtk-youtube-viewer&gt;)</property>
2230+
Full list of contributors: http://github.com/trizen/youtube-viewer/graphs/contributors</property>
2231+
<property name="artists">PosixRU (main logo) http://zenway.ru/page/gtk-youtube-viewer</property>
22412232
<signal name="destroy" handler="hide_about_window" swapped="no"/>
22422233
<signal name="delete-event" handler="hide_about_window" swapped="no"/>
22432234
<signal name="response" handler="hide_about_window" swapped="no"/>

0 commit comments

Comments
 (0)