From 4a08257b83512cc32b73d732ccc53266a22b917c Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 20 Oct 2010 16:10:15 -0400 Subject: Deal with GtkComboBoxEntry removal in gtk+-3.0. --- modules/addressbook/addressbook-config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/addressbook/addressbook-config.c') diff --git a/modules/addressbook/addressbook-config.c b/modules/addressbook/addressbook-config.c index b6a80519d5..3066da022d 100644 --- a/modules/addressbook/addressbook-config.c +++ b/modules/addressbook/addressbook-config.c @@ -50,6 +50,9 @@ #include "addressbook/gui/widgets/eab-config.h" +/* backward-compatibility cruft */ +#include "e-util/gtk-compat.h" + #define d(x) #ifdef HAVE_LDAP @@ -748,7 +751,7 @@ eabc_general_host (EConfig *ec, EConfigItem *item, GtkWidget *parent, GtkWidget g_signal_connect (sdialog->host, "changed", G_CALLBACK (host_changed_cb), sdialog); sdialog->port_comboentry = e_builder_get_widget (builder, "port-comboentry"); - gtk_combo_box_entry_set_text_column (GTK_COMBO_BOX_ENTRY (sdialog->port_comboentry), 0); + gtk_combo_box_set_entry_text_column (GTK_COMBO_BOX_ENTRY (sdialog->port_comboentry), 0); gtk_widget_set_has_tooltip (sdialog->port_comboentry, TRUE); gtk_widget_set_tooltip_text (sdialog->port_comboentry, _("This is the port on the LDAP server that Evolution will try to connect to. A list of standard ports has been provided. Ask your system administrator what port you should specify.")); sprintf(port, "%u", lud && lud->lud_port? lud->lud_port : LDAP_PORT); -- cgit v1.2.3