Sophie

Sophie

distrib > Mageia > 2 > i586 > media > core-release-src > by-pkgid > c925e7c9dd6bd998ba813ea59974e0c6 > files > 2

fprint_demo-0.4-7.mga2.src.rpm

Index: dsd-fprint_demo-f576f8c/src/identify.c
===================================================================
--- dsd-fprint_demo-f576f8c/src/identify.c
+++ dsd-fprint_demo-f576f8c/src/identify.c	2012-01-29 19:43:42.000000000 +0000
@@ -321,7 +321,7 @@
 				GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL,
 				GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
 				"Could not load print for %s, error %d",
-				fingerstr(i), r, NULL);
+				fingerstr(i), r);
 	gtk_dialog_run(GTK_DIALOG(dialog));
 	gtk_widget_destroy(dialog);
 
Index: dsd-fprint_demo-f576f8c/src/verify.c
===================================================================
--- dsd-fprint_demo-f576f8c/src/verify.c
+++ dsd-fprint_demo-f576f8c/src/verify.c	2012-01-29 19:43:11.000000000 +0000
@@ -377,7 +377,7 @@
 	if (!gdk_pixbuf_save(pixbuf, filename, "png", &error, NULL)) {
 		dialog = gtk_message_dialog_new(GTK_WINDOW(mwin_window),
 			GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR,
-			GTK_BUTTONS_CLOSE, error->message);
+			GTK_BUTTONS_CLOSE, "%s", error->message);
 		gtk_dialog_run(GTK_DIALOG(dialog));
 		gtk_widget_destroy(dialog);
 		g_error_free(error);