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:
Luca Bacci 2018-08-11 10:51:34 +02:00 committed by Mike Fleetwood
parent 3d6ee55606
commit 511d597188
1 changed files with 2 additions and 2 deletions

View File

@ -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" ) ) ;