modern-gtk2: Use Gtk::ComboBoxText::append() (!17)
Gtk::ComboBoxText::append_text() was deprecated in gtkmm 2.24. Replace with Gtk::ComboBoxText::append(). References: https://developer.gnome.org/gtkmm/2.24/classGtk_1_1ComboBoxText.html https://gitlab.gnome.org/GNOME/gtkmm/blob/2.24.0/NEWS#L20 Closes !17 - Gtk2 modernisation
This commit is contained in:
parent
c0aa3dbfdf
commit
3f18318304
|
@ -77,7 +77,7 @@ Dialog_Disklabel::Dialog_Disklabel( const Device & device )
|
|||
bool set_active = false ;
|
||||
for ( unsigned int t = 0 ; t < labeltypes .size() ; t ++ )
|
||||
{
|
||||
combo_labeltypes .append_text( labeltypes[ t ] ) ;
|
||||
combo_labeltypes.append(labeltypes[t]);
|
||||
if ( default_label == labeltypes[ t ] )
|
||||
{
|
||||
combo_labeltypes .set_active( t ) ;
|
||||
|
|
Loading…
Reference in New Issue