aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-status-presets.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-05-18 20:54:35 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-05-18 21:01:05 +0800
commit8adecae5dd907387d030531356149b369f51af60 (patch)
treefd76b745402141ce829287bfebd62b43fce10723 /libempathy/empathy-status-presets.c
parent1d0751634dbf9586c2ec40c4cb003399b05bcf35 (diff)
downloadgsoc2013-empathy-8adecae5dd907387d030531356149b369f51af60.tar
gsoc2013-empathy-8adecae5dd907387d030531356149b369f51af60.tar.gz
gsoc2013-empathy-8adecae5dd907387d030531356149b369f51af60.tar.bz2
gsoc2013-empathy-8adecae5dd907387d030531356149b369f51af60.tar.lz
gsoc2013-empathy-8adecae5dd907387d030531356149b369f51af60.tar.xz
gsoc2013-empathy-8adecae5dd907387d030531356149b369f51af60.tar.zst
gsoc2013-empathy-8adecae5dd907387d030531356149b369f51af60.zip
empathy-status-presets: fix coding style and update FSF address
Diffstat (limited to 'libempathy/empathy-status-presets.c')
-rw-r--r--libempathy/empathy-status-presets.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy/empathy-status-presets.c b/libempathy/empathy-status-presets.c
index e7b8804ad..315794070 100644
--- a/libempathy/empathy-status-presets.c
+++ b/libempathy/empathy-status-presets.c
@@ -14,8 +14,8 @@
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301 USA
*
* Author: Martyn Russell <martyn@imendio.com>
*/
@@ -104,7 +104,7 @@ status_presets_file_parse (const gchar *filename)
if (!empathy_xml_validate (doc, STATUS_PRESETS_DTD_FILENAME)) {
g_warning ("Failed to validate file:'%s'", filename);
- xmlFreeDoc(doc);
+ xmlFreeDoc (doc);
xmlFreeParserCtxt (ctxt);
return;
}
@@ -215,7 +215,7 @@ status_presets_file_save (void)
xmlNodePtr subnode;
xmlChar *state;
- state = (gchar*) empathy_presence_to_str (default_preset->state);
+ state = (gchar *) empathy_presence_to_str (default_preset->state);
subnode = xmlNewTextChild (root, NULL, "default",
default_preset->status);
@@ -228,7 +228,7 @@ status_presets_file_save (void)
xmlChar *state;
sp = l->data;
- state = (gchar*) empathy_presence_to_str (sp->state);
+ state = (gchar *) empathy_presence_to_str (sp->state);
count[sp->state]++;
if (count[sp->state] > STATUS_PRESETS_MAX_EACH) {