Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 00fe03b652efcacb2288af68b5901ba3 > files > 3

anjuta2-2.26.1.0-1mdv2009.1.src.rpm

diff -p -up anjuta-2.26.0.1/plugins/cvs-plugin/cvs-callbacks.c.format-strings anjuta-2.26.0.1/plugins/cvs-plugin/cvs-callbacks.c
--- anjuta-2.26.0.1/plugins/cvs-plugin/cvs-callbacks.c.format-strings	2009-03-18 09:24:05.000000000 +0100
+++ anjuta-2.26.0.1/plugins/cvs-plugin/cvs-callbacks.c	2009-03-31 07:34:30.000000000 +0200
@@ -60,7 +60,7 @@ static gboolean check_entry(GtkDialog* d
 		gchar* message = g_strdup_printf(_("Please fill field: %s"), stringname);
 		GtkWidget* dlg = gtk_message_dialog_new(GTK_WINDOW(dialog), 
 			GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO,
-			GTK_BUTTONS_CLOSE, message);
+							GTK_BUTTONS_CLOSE, "%s", message);
 		gtk_dialog_run(GTK_DIALOG(dlg));
 		gtk_widget_destroy(dlg);
 		return FALSE;
diff -p -up anjuta-2.26.0.1/plugins/debug-manager/info.c.format-strings anjuta-2.26.0.1/plugins/debug-manager/info.c
--- anjuta-2.26.0.1/plugins/debug-manager/info.c.format-strings	2009-03-18 09:24:05.000000000 +0100
+++ anjuta-2.26.0.1/plugins/debug-manager/info.c	2009-03-31 07:34:30.000000000 +0200
@@ -179,7 +179,7 @@ gdb_info_show_command (GtkWindow *parent
 	if (!g_spawn_command_line_sync (command_line, &std_output,
 									NULL, NULL, &err))
 	{
-		g_warning (err->message);
+		g_warning ("%s", err->message);
 		g_error_free (err);
 
 		return FALSE;
diff -p -up anjuta-2.26.0.1/plugins/file-loader/plugin.c.format-strings anjuta-2.26.0.1/plugins/file-loader/plugin.c
--- anjuta-2.26.0.1/plugins/file-loader/plugin.c.format-strings	2009-03-18 09:24:05.000000000 +0100
+++ anjuta-2.26.0.1/plugins/file-loader/plugin.c	2009-03-31 07:34:30.000000000 +0200
@@ -224,7 +224,7 @@ open_with_dialog (AnjutaFileLoaderPlugin
 	dialog = gtk_message_dialog_new_with_markup (GTK_WINDOW (parent),
 									 GTK_DIALOG_DESTROY_WITH_PARENT,
 									 GTK_MESSAGE_INFO,
-									 GTK_BUTTONS_OK_CANCEL, message);
+												 GTK_BUTTONS_OK_CANCEL, "%s", message);
 	g_free (message);
 	
 	hbox = gtk_hbox_new (FALSE, 5);
diff -p -up anjuta-2.26.0.1/plugins/git/git-ui-utils.c.format-strings anjuta-2.26.0.1/plugins/git/git-ui-utils.c
--- anjuta-2.26.0.1/plugins/git/git-ui-utils.c.format-strings	2009-03-18 09:24:06.000000000 +0100
+++ anjuta-2.26.0.1/plugins/git/git-ui-utils.c	2009-03-31 07:34:30.000000000 +0200
@@ -130,7 +130,7 @@ git_check_input (GtkWidget *parent, GtkW
 										 GTK_DIALOG_DESTROY_WITH_PARENT,
 										 GTK_MESSAGE_WARNING,
 										 GTK_BUTTONS_OK,
-										 error_message);
+										 "%s", error_message);
 		
 		gtk_dialog_run (GTK_DIALOG (dialog));
 		gtk_widget_destroy (dialog);
diff -p -up anjuta-2.26.0.1/plugins/macro/macro-util.c.format-strings anjuta-2.26.0.1/plugins/macro/macro-util.c
--- anjuta-2.26.0.1/plugins/macro/macro-util.c.format-strings	2009-03-18 09:24:08.000000000 +0100
+++ anjuta-2.26.0.1/plugins/macro/macro-util.c	2009-03-31 07:34:30.000000000 +0200
@@ -41,7 +41,7 @@ get_date_time(void)
 	gchar *buffer;
 
 	DateTime = g_new(gchar, 100);
-	sprintf(DateTime,ctime(&cur_time));
+	sprintf(DateTime,"%s", ctime(&cur_time));
 	buffer = g_strndup(DateTime, strlen(DateTime) - 1);
 	g_free(DateTime);
 	return buffer;
diff -p -up anjuta-2.26.0.1/plugins/project-import/project-import.c.format-strings anjuta-2.26.0.1/plugins/project-import/project-import.c
--- anjuta-2.26.0.1/plugins/project-import/project-import.c.format-strings	2009-03-18 09:24:06.000000000 +0100
+++ anjuta-2.26.0.1/plugins/project-import/project-import.c	2009-03-31 07:34:30.000000000 +0200
@@ -116,7 +116,7 @@ on_import_next(GtkAssistant *assistant, 
 										  GTK_DIALOG_DESTROY_WITH_PARENT,
 										  GTK_MESSAGE_ERROR,
 										  GTK_BUTTONS_CLOSE,
-										  message_text));
+										  "%s", message_text));
 		
 		g_free(message_text);
 	
diff -p -up anjuta-2.26.0.1/plugins/project-wizard/parser.c.format-strings anjuta-2.26.0.1/plugins/project-wizard/parser.c
--- anjuta-2.26.0.1/plugins/project-wizard/parser.c.format-strings	2009-03-18 09:24:06.000000000 +0100
+++ anjuta-2.26.0.1/plugins/project-wizard/parser.c	2009-03-31 07:34:30.000000000 +0200
@@ -619,7 +619,7 @@ npw_header_list_read (GList** list, cons
 
 	if (!g_file_get_contents (filename, &content, &len, &err))
 	{
- 		g_warning (err->message);
+ 		g_warning ("%s", err->message);
 		g_error_free (err);
 
 		return FALSE;
@@ -646,7 +646,7 @@ npw_header_list_read (GList** list, cons
 	if (g_error_matches (err, parser_error_quark (), NPW_STOP_PARSING) == FALSE)
 	{
 		/* Parsing error */
-		g_warning (err->message);
+		g_warning ("%s", err->message);
 		g_error_free (err);
 		npw_header_free (header);
 
@@ -990,7 +990,7 @@ npw_page_read (NPWPage* page, const gcha
 
 	if (!g_file_get_contents (filename, &content, &len, &err))
 	{
-		g_warning (err->message);
+		g_warning ("%s", err->message);
 		g_error_free (err);
 
 		return FALSE;
@@ -1007,7 +1007,7 @@ npw_page_read (NPWPage* page, const gcha
 	if (err != NULL)
 	{
 		/* Parsing error */
-		g_warning (err->message);
+		g_warning ("%s", err->message);
 		g_error_free (err);
 
 		return FALSE;
@@ -1690,7 +1690,7 @@ npw_action_list_parser_parse (NPWActionL
 	g_markup_parse_context_parse (parser->ctx, text, len, &err);
 	if (err != NULL)
 	{
-		g_warning (err->message);
+		g_warning ("%s", err->message);
 	}
 
 	return TRUE;
diff -p -up anjuta-2.26.0.1/plugins/scratchbox/plugin.c.format-strings anjuta-2.26.0.1/plugins/scratchbox/plugin.c
diff -p -up anjuta-2.26.0.1/plugins/subversion/subversion-ui-utils.c.format-strings anjuta-2.26.0.1/plugins/subversion/subversion-ui-utils.c
--- anjuta-2.26.0.1/plugins/subversion/subversion-ui-utils.c.format-strings	2009-03-18 09:24:05.000000000 +0100
+++ anjuta-2.26.0.1/plugins/subversion/subversion-ui-utils.c	2009-03-31 07:34:30.000000000 +0200
@@ -93,7 +93,7 @@ check_input (GtkWidget *parent, GtkWidge
 										 GTK_DIALOG_DESTROY_WITH_PARENT,
 										 GTK_MESSAGE_WARNING,
 										 GTK_BUTTONS_OK,
-										 error_message);
+										 "%s", error_message);
 		
 		gtk_dialog_run (GTK_DIALOG (dialog));
 		gtk_widget_destroy (dialog);
diff -p -up anjuta-2.26.0.1/plugins/tools/fileop.c.format-strings anjuta-2.26.0.1/plugins/tools/fileop.c
--- anjuta-2.26.0.1/plugins/tools/fileop.c.format-strings	2009-03-18 09:24:05.000000000 +0100
+++ anjuta-2.26.0.1/plugins/tools/fileop.c	2009-03-31 07:34:30.000000000 +0200
@@ -507,7 +507,7 @@ atp_tool_list_load_from_file (ATPToolLis
 	if (err != NULL)
 	{
 		/* Parsing error */
-		g_warning (err->message);
+		g_warning ("%s", err->message);
 		g_error_free (err);
 
 		return FALSE;