aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-21 04:10:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-21 04:10:15 +0800
commit4a08257b83512cc32b73d732ccc53266a22b917c (patch)
treef4bd68280af53cc696626055fb792795bc7628cc /modules
parent8da37ea812d5b784dade3dc0f05df54fdc60fc7a (diff)
downloadgsoc2013-evolution-4a08257b83512cc32b73d732ccc53266a22b917c.tar
gsoc2013-evolution-4a08257b83512cc32b73d732ccc53266a22b917c.tar.gz
gsoc2013-evolution-4a08257b83512cc32b73d732ccc53266a22b917c.tar.bz2
gsoc2013-evolution-4a08257b83512cc32b73d732ccc53266a22b917c.tar.lz
gsoc2013-evolution-4a08257b83512cc32b73d732ccc53266a22b917c.tar.xz
gsoc2013-evolution-4a08257b83512cc32b73d732ccc53266a22b917c.tar.zst
gsoc2013-evolution-4a08257b83512cc32b73d732ccc53266a22b917c.zip
Deal with GtkComboBoxEntry removal in gtk+-3.0.
Diffstat (limited to 'modules')
-rw-r--r--modules/addressbook/addressbook-config.c5
1 files changed, 4 insertions, 1 deletions
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);