aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-signature-editor.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-01-12 10:20:53 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-01-12 10:20:53 +0800
commit8ec908ab1d5243539b6304d321e351d712007aab (patch)
tree1b18095fb81414e3199ebb6582cd35d204d4f06b /mail/mail-signature-editor.c
parent7b509418a1d7e5d7824c85c0cd89b080be202a73 (diff)
downloadgsoc2013-evolution-8ec908ab1d5243539b6304d321e351d712007aab.tar.gz
gsoc2013-evolution-8ec908ab1d5243539b6304d321e351d712007aab.tar.zst
gsoc2013-evolution-8ec908ab1d5243539b6304d321e351d712007aab.zip
** See bug #70018.
2005-01-12 Not Zed <NotZed@Ximian.com> ** See bug #70018. * mail-signature-editor.c (mail_signature_editor): use the right version for the gtkhtml editor control. svn path=/trunk/; revision=28363
Diffstat (limited to 'mail/mail-signature-editor.c')
-rw-r--r--mail/mail-signature-editor.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c
index f1e2985785..ead7ec3469 100644
--- a/mail/mail-signature-editor.c
+++ b/mail/mail-signature-editor.c
@@ -45,6 +45,7 @@
#define d(x)
+#define GNOME_GTKHTML_EDITOR_CONTROL_ID "OAFIID:GNOME_GtkHTML_Editor:" GTKHTML_API_VERSION
typedef struct _ESignatureEditor {
GtkWidget *win;
@@ -383,12 +384,12 @@ mail_signature_editor (ESignature *sig, GtkWindow *parent, gboolean is_new)
bonobo_ui_util_set_ui (component, PREFIX,
EVOLUTION_UIDIR "/evolution-signature-editor.xml",
"evolution-signature-editor", NULL);
-
- editor->control = bonobo_widget_new_control ("OAFIID:GNOME_GtkHTML_Editor:3.1",
+
+ editor->control = bonobo_widget_new_control (GNOME_GTKHTML_EDITOR_CONTROL_ID,
bonobo_ui_component_get_container (component));
if (editor->control == NULL) {
- g_warning ("Cannot get 'OAFIID:GNOME_GtkHTML_Editor:3.1'.");
+ g_warning ("Cannot get '" GNOME_GTKHTML_EDITOR_CONTROL_ID "'.");
destroy_editor (editor);
return;