[Commits] poppler_viewer.c 1.1.2.1 1.1.2.2

mones at claws-mail.org mones at claws-mail.org
Wed Mar 13 16:59:55 CET 2013


Update of /home/claws-mail/claws/src/plugins/pdf_viewer
In directory srv:/tmp/cvs-serv18159/src/plugins/pdf_viewer

Modified Files:
      Tag: gtk2
	poppler_viewer.c 
Log Message:
2013-03-13 [mones]	3.9.0cvs122

	* src/plugins/pdf_viewer/poppler_viewer.c
		Fix crash closing PDF information alert panel and use
		a better label than the plugin name for the dialog 

Index: poppler_viewer.c
===================================================================
RCS file: /home/claws-mail/claws/src/plugins/pdf_viewer/Attic/poppler_viewer.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- poppler_viewer.c	17 Feb 2013 21:21:59 -0000	1.1.2.1
+++ poppler_viewer.c	13 Mar 2013 15:59:52 -0000	1.1.2.2
@@ -1162,14 +1162,9 @@
 
 static void pdf_viewer_button_document_info_cb(GtkButton *button, PdfViewer *viewer)
 {
-	gchar *buf;
-	buf = g_strdup_printf(_("PDF Viewer Plugin"));
-
-	alertpanel_full(buf, NULL, GTK_STOCK_CLOSE, NULL, NULL,
-					FALSE,(GtkWidget *) pdf_viewer_fill_info_table(viewer), 
-					ALERT_NOTICE, 
-					G_ALERTDEFAULT);
-	g_free(buf);
+	alertpanel_full(_("PDF properties"), NULL, GTK_STOCK_CLOSE, NULL, NULL,
+			FALSE, (GtkWidget *) pdf_viewer_fill_info_table(viewer), 
+			ALERT_NOTICE, G_ALERTDEFAULT);
 }
 
 /*



More information about the Commits mailing list