changeset 17541:aeb8c9fbb577

Fixed some curlies for functions
author Eric Polino <aluink@pidgin.im>
date Mon, 04 Jun 2007 03:00:09 +0000
parents b242187b3591
children ab71a09600ad
files finch/libgnt/gntwm.c
diffstat 1 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c	Mon Jun 04 02:49:22 2007 +0000
+++ b/finch/libgnt/gntwm.c	Mon Jun 04 03:00:09 2007 +0000
@@ -497,7 +497,8 @@
 }
 
 static gboolean
-free_rebind_info(){
+free_rebind_info()
+{
 	g_free(rebind_info->keys);
 	g_free(rebind_info->name);
 	g_free(rebind_info->params);
@@ -506,7 +507,8 @@
 }
 
 static gboolean
-help_for_widget_cancel_button_activate(GntBindable *bindable, gpointer data){
+help_for_widget_cancel_button_activate(GntBindable *bindable, gpointer data)
+{
 	free_rebind_info();
 
 	gnt_widget_destroy(GNT_WIDGET(data));
@@ -514,7 +516,8 @@
 }
 
 static gboolean
-help_for_widget_bind_button_activate(GntBindable *bindable, gpointer data){
+help_for_widget_bind_button_activate(GntBindable *bindable, gpointer data)
+{
 
 	/* This will be where the rebinding happens */
 /*	if(rebind_info->keys){
@@ -529,15 +532,14 @@
 }
 
 static gboolean
-help_for_widget_grab_key(GntBindable *bindable, const char *text, gpointer *data){
+help_for_widget_grab_key(GntBindable *bindable, const char *text, gpointer *data)
+{
 
 	GntLabel *label = GNT_LABEL(data);
 	char *newText;
 
 	if(text && *text){
 
-		fprintf(stderr,"%d %d\n",*text,text[1]);
-
 		if(!strcmp(text, GNT_KEY_CTRL_I) || !strcmp(text, GNT_KEY_ENTER)){
 			return FALSE;
 		}
@@ -552,8 +554,8 @@
 	return FALSE;
 } 
 static void
-help_for_widget_activate(GntBindable *bindable, gpointer widget){
-	
+help_for_widget_activate(GntBindable *bindable, gpointer widget)
+{
 				
 	GntTree * tree = GNT_TREE(bindable);