[gnome-db] [PATCH] - libgnomedb/utils.c



Reply-To: 
X-Operating-System: Linux laptop 2.4.23 

* add a 'break' keyword in the 'default' section of the switch in
client_notification_cb of libgnomedb/utils.c.
* add a cast (GList *)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/libgnomedb/ChangeLog,v
retrieving revision 1.269
diff -u -r1.269 ChangeLog
--- ChangeLog	11 Dec 2003 15:34:01 -0000	1.269
+++ ChangeLog	17 Dec 2003 19:07:19 -0000
@@ -1,3 +1,9 @@
+2003-12-17  Stephane Wirtel <stephane wirtel brutele be>
+
+	* libgnomedb/utils.c (client_notification_cb): 
+	add a cast ( GList * ), and add a 'break' in the 'default' section 
+	of the switch.
+
 2003-12-11  Rodrigo Moya <rodrigo gnome-db org>
 
 	* libgnomedb/gnome-db-grid.[ch] (gnome_db_grid_hide_column,
Index: libgnomedb/utils.c
===================================================================
RCS file: /cvs/gnome/libgnomedb/libgnomedb/utils.c,v
retrieving revision 1.3
diff -u -r1.3 utils.c
--- libgnomedb/utils.c	14 Nov 2003 13:25:28 -0000	1.3
+++ libgnomedb/utils.c	17 Dec 2003 19:07:21 -0000
@@ -44,8 +44,9 @@
 	case GDA_CLIENT_EVENT_ERROR :
 		dialog = gnome_db_error_dialog_new (_("Error"));
 		gnome_db_error_dialog_show_errors (GNOME_DB_ERROR_DIALOG (dialog),
-						   gda_connection_get_errors (cnc));
+						   (GList *) gda_connection_get_errors (cnc));
 	default :
+		break;
 	}
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]