Mercurial > pidgin.yaz
changeset 19170:315fd66bb08f
Whitespace fix.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 19 Jul 2007 10:35:11 +0000 |
parents | 3432d37a4a77 |
children | 9f7587b86b0d |
files | finch/gntsound.c |
diffstat | 1 files changed, 27 insertions(+), 27 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntsound.c Mon Jul 16 20:21:14 2007 +0000 +++ b/finch/gntsound.c Thu Jul 19 10:35:11 2007 +0000 @@ -1,27 +1,27 @@ /** -* @file gntsound.c GNT Sound API -* @ingroup finch -* -* finch -* -* Finch is the legal property of its developers, whose names are too numerous -* to list here. Please refer to the COPYRIGHT file distributed with this -* source distribution. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* 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 -*/ + * @file gntsound.c GNT Sound API + * @ingroup finch + * + * finch + * + * Finch is the legal property of its developers, whose names are too numerous + * to list here. Please refer to the COPYRIGHT file distributed with this + * source distribution. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * 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 + */ #include "internal.h" #include "finch.h" @@ -620,7 +620,8 @@ } gboolean -finch_sound_profile_exists(const char *name) { +finch_sound_profile_exists(const char *name) +{ gchar * tmp; gboolean ret = purple_prefs_exists(tmp = g_strdup_printf(FINCH_PREFS_ROOT "/sound/profiles/%s", name)); g_free(tmp); @@ -798,7 +799,6 @@ static void prof_del_cb(GntWidget *button, gpointer null) { - const char * profile = gnt_entry_get_text(GNT_ENTRY(pref_dialog->new_profile)); gchar * pref; @@ -814,10 +814,10 @@ pref_dialog->original_profile = g_strdup(DEFAULT_PROFILE); } - if(!strcmp(profile,finch_sound_get_active_profile())) + if(!strcmp(profile, finch_sound_get_active_profile())) reload_pref_window(DEFAULT_PROFILE); - gnt_tree_remove(GNT_TREE(pref_dialog->profiles),(gchar *) profile); + gnt_tree_remove(GNT_TREE(pref_dialog->profiles), (gchar *) profile); } static void