gapan / gtkman

A simple GTK+3 manual page viewer
GNU General Public License v3.0
13 stars 4 forks source link

V2.0: Minor depreciation warnings #7

Closed mlmatlock closed 3 years ago

mlmatlock commented 4 years ago

When opening gtkman:


/usr/bin/gtkman:16: DeprecationWarning: Gdk.threads_init is deprecated
  Gdk.threads_init()
/usr/bin/gtkman:577: DeprecationWarning: Gtk.Widget.modify_font is deprecated
  self.textview_manpage.modify_font(Pango.FontDescription('monospace'))

When clicking on the 'index' button:


/usr/bin/gtkman:415: DeprecationWarning: Gdk.threads_enter is deprecated
  Gdk.threads_enter()
/usr/bin/gtkman:417: DeprecationWarning: Gdk.threads_leave is deprecated
  Gdk.threads_leave()

Other than that, looking good!

gapan commented 4 years ago

What GTK+3 version are you running? I don't see those, but I probably have an old GTK+3.

dodona2 commented 4 years ago

I can confirm that for fedora 31!

gtk3 version: gtk3(x86-64) = 3.24.12-3.fc31/3.24.12-3.fc31

_$ gtkman /usr/local/bin/gtkman:16: DeprecationWarning: Gdk.threads_init is deprecated Gdk.threads_init() /usr/local/bin/gtkman:577: DeprecationWarning: Gtk.Widget.modify_font is deprecated self.textview_manpage.modifyfont(Pango.FontDescription('monospace'))

gapan commented 4 years ago

OK, thanks! I'll need to install a newer GTK, so it might take a while... Since everything is working I guess that's OK.

mlmatlock commented 4 years ago

@gapan:

Arch, gtk3 v3.24.13

mlmatlock commented 3 years ago

@gapan,

Looks good! Thanks!