modern-gtk2: Use Gtk::AboutDialog::set_program_name() (!17)
Gtk::AboutDialog::set_name() was deprecated in gtkmm 2.12. Replace with Gtk::AboutDialog::set_program_name(). References: https://developer.gnome.org/gtkmm/2.24/classGtk_1_1AboutDialog.html https://gitlab.gnome.org/GNOME/gtkmm/blob/2.20.0/NEWS#L741 Closes !17 - Gtk2 modernisation
This commit is contained in:
parent
3d6ee55606
commit
511d597188
|
@ -1728,8 +1728,8 @@ void Win_GParted::menu_help_about()
|
|||
|
||||
Gtk::AboutDialog dialog ;
|
||||
dialog .set_transient_for( *this ) ;
|
||||
|
||||
dialog .set_name( _("GParted") ) ;
|
||||
|
||||
dialog.set_program_name(_("GParted"));
|
||||
dialog .set_logo_icon_name( "gparted" ) ;
|
||||
dialog .set_version( VERSION ) ;
|
||||
dialog .set_comments( _( "GNOME Partition Editor" ) ) ;
|
||||
|
|
Loading…
Reference in New Issue