diff options
Diffstat (limited to 'src/trg-destination-combo.c')
-rw-r--r-- | src/trg-destination-combo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/trg-destination-combo.c b/src/trg-destination-combo.c index db9fd31..2ab5048 100644 --- a/src/trg-destination-combo.c +++ b/src/trg-destination-combo.c @@ -128,9 +128,13 @@ static void gtk_combo_box_entry_active_changed(GtkComboBox *combo_box, } } +#if GTK_CHECK_VERSION( 3, 0, 0 ) + gtk_editable_set_editable(GTK_EDITABLE(trg_destination_combo_get_entry(TRG_DESTINATION_COMBO(combo_box))), editableEntry); +#else gtk_entry_set_editable( trg_destination_combo_get_entry(TRG_DESTINATION_COMBO(combo_box)), editableEntry); +#endif } gboolean trg_destination_combo_has_text(TrgDestinationCombo *combo) { |