diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-10-21 03:06:38 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-21 03:08:16 +0800 |
commit | 8da37ea812d5b784dade3dc0f05df54fdc60fc7a (patch) | |
tree | 04bf6d75a584f2f8af8c4b061e38bf8220a0bf15 /smime | |
parent | 4142c97c7b59de8d859a217d7b76667b339e33c0 (diff) | |
download | gsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.tar.gz gsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.tar.zst gsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.zip |
Bug 632641 - Handle combo box text API going away
Diffstat (limited to 'smime')
-rw-r--r-- | smime/gui/e-cert-selector.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/smime/gui/e-cert-selector.c b/smime/gui/e-cert-selector.c index 064b31f90e..5bbf3afc40 100644 --- a/smime/gui/e-cert-selector.c +++ b/smime/gui/e-cert-selector.c @@ -37,6 +37,9 @@ #include "e-util/e-util.h" #include "e-util/e-util-private.h" +/* backward-compatibility cruft */ +#include "e-util/gtk-compat.h" + struct _ECertSelectorPrivate { CERTCertList *certlist; @@ -184,7 +187,7 @@ e_cert_selector_new (gint type, const gchar *currentid) node = CERT_LIST_HEAD (certlist); while (!CERT_LIST_END (node, certlist)) { if (node->cert->nickname || node->cert->emailAddr) { - gtk_combo_box_append_text (GTK_COMBO_BOX (p->combobox), node->cert->nickname?node->cert->nickname:node->cert->emailAddr); + gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (p->combobox), node->cert->nickname?node->cert->nickname:node->cert->emailAddr); if (currentid != NULL && ((node->cert->nickname != NULL && strcmp (node->cert->nickname, currentid) == 0) |