diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-09 01:24:42 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:11 +0800 |
commit | 54da4fc09cf226fdb59b9f0c70555e2e57dc1f91 (patch) | |
tree | c62c9ac6d08670dffc400ff00117508512ce4f8b /filter/e-filter-rule.c | |
parent | fe20f70779fb486169a0735499d24e001ffa0cab (diff) | |
download | gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.gz gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.tar.zst gsoc2013-evolution-54da4fc09cf226fdb59b9f0c70555e2e57dc1f91.zip |
Coding style cleanups.
Diffstat (limited to 'filter/e-filter-rule.c')
-rw-r--r-- | filter/e-filter-rule.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/filter/e-filter-rule.c b/filter/e-filter-rule.c index 18fd63b850..590ed597ee 100644 --- a/filter/e-filter-rule.c +++ b/filter/e-filter-rule.c @@ -476,7 +476,7 @@ filter_rule_xml_encode (EFilterRule *rule) gchar *escaped = g_markup_escape_text (rule->name, -1); work = xmlNewNode (NULL, (xmlChar *)"title"); - xmlNodeSetContent (work, (xmlChar *)escaped); + xmlNodeSetContent (work, (xmlChar *) escaped); xmlAddChild (node, work); g_free (escaped); @@ -555,7 +555,7 @@ filter_rule_xml_decode (EFilterRule *rule, if (!rule->name) { gchar *str, *decstr = NULL; - str = (gchar *)xmlNodeGetContent (work); + str = (gchar *) xmlNodeGetContent (work); if (str) { decstr = g_strdup (_(str)); xmlFree (str); @@ -661,7 +661,7 @@ filter_rule_get_widget (EFilterRule *rule, label = gtk_label_new_with_mnemonic (_("R_ule name:")); name = gtk_entry_new (); - gtk_label_set_mnemonic_widget ((GtkLabel *)label, name); + gtk_label_set_mnemonic_widget ((GtkLabel *) label, name); if (!rule->name) { rule->name = g_strdup (_("Untitled")); @@ -727,7 +727,7 @@ filter_rule_get_widget (EFilterRule *rule, _(thread_types[i])); } - gtk_label_set_mnemonic_widget ((GtkLabel *)label, combobox); + gtk_label_set_mnemonic_widget ((GtkLabel *) label, combobox); gtk_combo_box_set_active (GTK_COMBO_BOX (combobox), rule->grouping); gtk_widget_show (combobox); @@ -763,7 +763,7 @@ filter_rule_get_widget (EFilterRule *rule, _(thread_types[i])); } - gtk_label_set_mnemonic_widget ((GtkLabel *)label, combobox); + gtk_label_set_mnemonic_widget ((GtkLabel *) label, combobox); gtk_combo_box_set_active (GTK_COMBO_BOX (combobox), rule->threading); gtk_widget_show (combobox); |