aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--filter/e-rule-editor.c5
-rw-r--r--mail/em-vfolder-rule.c4
2 files changed, 3 insertions, 6 deletions
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c
index 119c27a04d..fe4c1e1d52 100644
--- a/filter/e-rule-editor.c
+++ b/filter/e-rule-editor.c
@@ -806,7 +806,6 @@ e_rule_editor_construct (ERuleEditor *editor,
GObject *object;
GList *list;
gint i;
- gchar *tmp;
g_return_if_fail (E_IS_RULE_EDITOR (editor));
g_return_if_fail (E_IS_RULE_CONTEXT (context));
@@ -859,9 +858,7 @@ e_rule_editor_construct (ERuleEditor *editor,
G_CALLBACK (double_click), editor);
widget = e_builder_get_widget (builder, "rule_label");
- tmp = alloca(strlen(label)+8);
- sprintf(tmp, "<b>%s</b>", label);
- gtk_label_set_label (GTK_LABEL (widget), tmp);
+ gtk_label_set_label (GTK_LABEL (widget), label);
gtk_label_set_mnemonic_widget (
GTK_LABEL (widget), GTK_WIDGET (editor->list));
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c
index 4b44ffc41c..ea275795cc 100644
--- a/mail/em-vfolder-rule.c
+++ b/mail/em-vfolder-rule.c
@@ -637,9 +637,9 @@ get_widget(EFilterRule *fr, ERuleContext *rc)
set_sensitive(data);
- g_object_unref(builder);
-
gtk_box_pack_start(GTK_BOX(widget), frame, TRUE, TRUE, 3);
+ g_object_unref (builder);
+
return widget;
}