[Pkg-xfce-commits] r9007 - in /goodies/trunk/xfce4-notes-plugin/debian: changelog patches/ patches/01_fix_format-string.patch patches/series

Yves-Alexis Perez corsac at moszumanska.debian.org
Mon May 4 14:29:05 UTC 2015


Author: corsac
Date: Mon May  4 14:29:04 2015
New Revision: 9007

URL: http://svn.debian.org/wsvn/pkg-xfce/?sc=1&rev=9007
Log:
* debian/patches:
  - 01_fix_format-string added, fix format string errors.

Added:
    goodies/trunk/xfce4-notes-plugin/debian/patches/
    goodies/trunk/xfce4-notes-plugin/debian/patches/01_fix_format-string.patch
    goodies/trunk/xfce4-notes-plugin/debian/patches/series
Modified:
    goodies/trunk/xfce4-notes-plugin/debian/changelog

Modified: goodies/trunk/xfce4-notes-plugin/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-notes-plugin/debian/changelog?rev=9007&op=diff
==============================================================================
--- goodies/trunk/xfce4-notes-plugin/debian/changelog	(original)
+++ goodies/trunk/xfce4-notes-plugin/debian/changelog	Mon May  4 14:29:04 2015
@@ -3,6 +3,8 @@
   * New upstream release.
   * debian/control:
     - replace libxfcegui4 build-dep by libxfce4ui.
+  * debian/patches:
+    - 01_fix_format-string added, fix format string errors.
 
  -- Yves-Alexis Perez <corsac at debian.org>  Mon, 04 May 2015 16:10:35 +0200
 

Added: goodies/trunk/xfce4-notes-plugin/debian/patches/01_fix_format-string.patch
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-notes-plugin/debian/patches/01_fix_format-string.patch?rev=9007&op=file
==============================================================================
--- goodies/trunk/xfce4-notes-plugin/debian/patches/01_fix_format-string.patch	(added)
+++ goodies/trunk/xfce4-notes-plugin/debian/patches/01_fix_format-string.patch	Mon May  4 14:29:04 2015
@@ -0,0 +1,49 @@
+--- a/lib/application.c
++++ b/lib/application.c
+@@ -352,7 +352,7 @@ static void xnp_application_update_notes
+ 			XfconfChannel* _tmp16_;
+ 			const gchar* _tmp17_;
+ 			_tmp9_ = _ ("Select notes path");
+-			_tmp10_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _tmp9_);
++			_tmp10_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", _tmp9_);
+ 			g_object_ref_sink (_tmp10_);
+ 			error_dialog = _tmp10_;
+ 			_tmp11_ = error_dialog;
+@@ -419,7 +419,7 @@ static void xnp_application_update_notes
+ 		XfconfChannel* _tmp35_;
+ 		const gchar* _tmp36_;
+ 		_tmp27_ = _ ("Select notes path");
+-		_tmp28_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _tmp27_);
++		_tmp28_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", _tmp27_);
+ 		g_object_ref_sink (_tmp28_);
+ 		error_dialog = _tmp28_;
+ 		_tmp29_ = error_dialog;
+@@ -2082,7 +2082,7 @@ static void xnp_application_delete_windo
+ 		gint _tmp9_;
+ 		_tmp3_ = window;
+ 		_tmp4_ = _ ("Are you sure you want to delete this group?");
+-		_tmp5_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) _tmp3_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, _tmp4_);
++		_tmp5_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) _tmp3_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s", _tmp4_);
+ 		g_object_ref_sink (_tmp5_);
+ 		dialog = _tmp5_;
+ 		_tmp6_ = dialog;
+@@ -2721,7 +2721,7 @@ void xnp_application_open_settings_dialo
+ 		e = _inner_error_;
+ 		_inner_error_ = NULL;
+ 		_tmp0_ = _ ("Unable to open the settings dialog");
+-		_tmp1_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _tmp0_);
++		_tmp1_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", _tmp0_);
+ 		g_object_ref_sink (_tmp1_);
+ 		error_dialog = _tmp1_;
+ 		_tmp2_ = error_dialog;
+--- a/lib/window.c
++++ b/lib/window.c
+@@ -3542,7 +3542,7 @@ void xnp_window_delete_note (XnpWindow*
+ 		GtkMessageDialog* _tmp13_;
+ 		gint _tmp14_;
+ 		_tmp9_ = _ ("Are you sure you want to delete this note?");
+-		_tmp10_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) self, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, _tmp9_);
++		_tmp10_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) self, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s", _tmp9_);
+ 		g_object_ref_sink (_tmp10_);
+ 		dialog = _tmp10_;
+ 		_tmp11_ = dialog;

Added: goodies/trunk/xfce4-notes-plugin/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-xfce/goodies/trunk/xfce4-notes-plugin/debian/patches/series?rev=9007&op=file
==============================================================================
--- goodies/trunk/xfce4-notes-plugin/debian/patches/series	(added)
+++ goodies/trunk/xfce4-notes-plugin/debian/patches/series	Mon May  4 14:29:04 2015
@@ -0,0 +1 @@
+01_fix_format-string.patch




More information about the Pkg-xfce-commits mailing list