[gparted] modern-gtk2: Use Gtk::ComboBoxText::append() (!17)
- From: Mike Fleetwood <mfleetwo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gparted] modern-gtk2: Use Gtk::ComboBoxText::append() (!17)
- Date: Tue, 13 Nov 2018 17:47:30 +0000 (UTC)
commit 3f1831830419760ee719e87426aa22a63b6949ac
Author: Luca Bacci <luca bacci982 gmail com>
Date: Fri Aug 10 09:33:47 2018 +0200
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
src/Dialog_Disklabel.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/Dialog_Disklabel.cc b/src/Dialog_Disklabel.cc
index a0c97993..315f7147 100644
--- a/src/Dialog_Disklabel.cc
+++ b/src/Dialog_Disklabel.cc
@@ -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 ) ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]