diff options
author | Alan Fitton <ajf@eth0.org.uk> | 2011-10-26 18:55:21 +0000 |
---|---|---|
committer | Alan Fitton <ajf@eth0.org.uk> | 2011-10-26 18:55:21 +0000 |
commit | aff982298fb16ef8bbf32697df59965def50eb5d (patch) | |
tree | 185f87e687e7c312dd5e2835234ebaf32a326cfc /src/trg-destination-combo.c | |
parent | ecf7d01164029d5b5cd139e7db8a5e8705c6fac5 (diff) |
closer to gtk3 support, I think just the graph needs doing now.
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) { |