sudipshil9862 / fonts-compare

fonts rendering and comparing
GNU General Public License v2.0
6 stars 2 forks source link

Gtk.Dialog Deprecation issue #45

Closed sudipshil9862 closed 1 year ago

sudipshil9862 commented 1 year ago

DeprecationWarning: Gtk.Dialog.get_widget_for_response is deprecated btn_ok = self.get_widget_for_response(

DeprecationWarning: Gtk.Widget.get_style_context is deprecated btn_ok.get_style_context().add_class(class_name='suggested-action')

DeprecationWarning: Gtk.StyleContext.add_class is deprecated btn_ok.get_style_context().add_class(class_name='suggested-action')

DeprecationWarning: Gtk.Dialog.set_default_response is deprecated self.set_default_response(Gtk.ResponseType.OK)

DeprecationWarning: Gtk.Dialog.get_content_area is deprecated content_area = self.get_content_area()

gtk dialog is deprecated from 4.10 https://docs.gtk.org/gtk4/class.Dialog.html