summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadrul Habib Chowdhury <sadrul@pidgin.im>2007-07-19 10:35:11 +0000
committerSadrul Habib Chowdhury <sadrul@pidgin.im>2007-07-19 10:35:11 +0000
commita85789e7c1c3660104dd58fd384226d84b0945eb (patch)
tree776f9842de4afa27a052bc2af2db6bdb8c5c96aa
parent7fb97783900b35e45c66dce01366b26c183414f9 (diff)
downloadpidgin-a85789e7c1c3660104dd58fd384226d84b0945eb.tar.gz
Whitespace fix.
-rw-r--r--finch/gntsound.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/finch/gntsound.c b/finch/gntsound.c
index 3f3c2f77e6..2bc287f679 100644
--- a/finch/gntsound.c
+++ b/finch/gntsound.c
@@ -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 @@ finch_sound_set_active_profile(const char *name)
}
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 @@ reload_pref_window(const char *profile)
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 @@ prof_del_cb(GntWidget *button, gpointer null)
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