summaryrefslogtreecommitdiff
path: root/debian/patches/0100-gtk.patch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-29 21:18:13 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-29 21:18:13 +0200
commit378b39906881fce1bb3ac48ffd039e14f8fe1f94 (patch)
tree2a6feea261f1fc9477cb365ae2424598ac39a7ea /debian/patches/0100-gtk.patch
parentdcef13a23c06398c0c9b3145c08b28d1110bc169 (diff)
Remove/refresh patches
Diffstat (limited to 'debian/patches/0100-gtk.patch')
-rw-r--r--debian/patches/0100-gtk.patch108
1 files changed, 54 insertions, 54 deletions
diff --git a/debian/patches/0100-gtk.patch b/debian/patches/0100-gtk.patch
index d2e990f..b37e835 100644
--- a/debian/patches/0100-gtk.patch
+++ b/debian/patches/0100-gtk.patch
@@ -4,65 +4,65 @@ Forwarded: https://sourceforge.net/p/xtrkcad-fork/bugs/163/
Last-Update: 2016-12-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: trunk/app/wlib/gtklib/gtktext.c
-===================================================================
---- trunk.orig/app/wlib/gtklib/gtktext.c
-+++ trunk/app/wlib/gtklib/gtktext.c
-@@ -448,7 +448,7 @@ EXPORT wBool_t wTextPrint(
- dialog = gtk_message_dialog_new (GTK_WINDOW (gtkMainW->gtkwin),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
-- error->message);
-+ "%s", error->message);
-
- g_error_free (error);
- gtk_dialog_run (GTK_DIALOG (dialog));
Index: trunk/app/wlib/gtklib/print.c
===================================================================
--- trunk.orig/app/wlib/gtklib/print.c
+++ trunk/app/wlib/gtklib/print.c
-@@ -120,7 +120,7 @@ WlibApplySettings( GtkPrintOperation *op
- dialog = gtk_message_dialog_new (GTK_WINDOW (gtkMainW->gtkwin),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
-- err->message);
-+ "%s", err->message);
- gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
- } else {
-@@ -142,7 +142,7 @@ WlibApplySettings( GtkPrintOperation *op
- dialog = gtk_message_dialog_new (GTK_WINDOW (gtkMainW->gtkwin),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
-- err->message);
-+ "%s", err->message);
- gtk_dialog_run (GTK_DIALOG (dialog));
- gtk_widget_destroy (dialog);
- } else {
-@@ -184,7 +184,7 @@ WlibSaveSettings( GtkPrintOperation *op
- dialog = gtk_message_dialog_new (GTK_WINDOW (gtkMainW->gtkwin),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
-- err->message);
-+ "%s", err->message);
+@@ -118,7 +118,7 @@ WlibApplySettings(GtkPrintOperation *op)
+ dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
+- err->message);
++ "%s", err->message);
+ gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(dialog);
+ } else {
+@@ -144,7 +144,7 @@ WlibApplySettings(GtkPrintOperation *op)
+ dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
+- err->message);
++ "%s", err->message);
+ gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(dialog);
+ } else {
+@@ -193,7 +193,7 @@ WlibSaveSettings(GtkPrintOperation *op)
+ dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
+- err->message);
++ "%s", err->message);
- g_error_free (err);
- gtk_dialog_run (GTK_DIALOG (dialog));
-@@ -202,7 +202,7 @@ WlibSaveSettings( GtkPrintOperation *op
- dialog = gtk_message_dialog_new (GTK_WINDOW (gtkMainW->gtkwin),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
-- err->message);
-+ "%s", err->message);
+ g_error_free(err);
+ gtk_dialog_run(GTK_DIALOG(dialog));
+@@ -216,7 +216,7 @@ WlibSaveSettings(GtkPrintOperation *op)
+ dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
+- err->message);
++ "%s", err->message);
- g_error_free (err);
- gtk_dialog_run (GTK_DIALOG (dialog));
-@@ -824,7 +824,7 @@ doPrintJobFinished( GtkPrintJob *job, vo
- dialog = gtk_message_dialog_new (GTK_WINDOW (gtkMainW->gtkwin),
- GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
-- err->message);
-+ "%s", err->message);
- }
+ g_error_free(err);
+ gtk_dialog_run(GTK_DIALOG(dialog));
+@@ -900,7 +900,7 @@ doPrintJobFinished(GtkPrintJob *job, voi
+ dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
+- err->message);
++ "%s", err->message);
+ }
}
+Index: trunk/app/wlib/gtklib/text.c
+===================================================================
+--- trunk.orig/app/wlib/gtklib/text.c
++++ trunk/app/wlib/gtklib/text.c
+@@ -360,7 +360,7 @@ wBool_t wTextPrint(
+ dialog = gtk_message_dialog_new(GTK_WINDOW(gtkMainW->gtkwin),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
+- error->message);
++ "%s", error->message);
+ g_error_free(error);
+ gtk_dialog_run(GTK_DIALOG(dialog));
+ gtk_widget_destroy(dialog);