summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/dependencies/pinentry/0002-Fix-sigabrt-on-fail-grab-r229.patch
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 12:06:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 12:06:23 +0900
commit40be1ebef7a688235d4730561908a02f10505385 (patch)
treeab182bf59496abaee2ddbf03d3e910bd37ae57e8 /mandriva/2010.2/dependencies/pinentry/0002-Fix-sigabrt-on-fail-grab-r229.patch
parentc169e89296c2d885faa5cdeba21dc35b10b2f583 (diff)
downloadtde-packaging-40be1ebef7a688235d4730561908a02f10505385.tar.gz
tde-packaging-40be1ebef7a688235d4730561908a02f10505385.zip
Removed obsolete Mandriva 2010 packaging files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'mandriva/2010.2/dependencies/pinentry/0002-Fix-sigabrt-on-fail-grab-r229.patch')
-rw-r--r--mandriva/2010.2/dependencies/pinentry/0002-Fix-sigabrt-on-fail-grab-r229.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/mandriva/2010.2/dependencies/pinentry/0002-Fix-sigabrt-on-fail-grab-r229.patch b/mandriva/2010.2/dependencies/pinentry/0002-Fix-sigabrt-on-fail-grab-r229.patch
deleted file mode 100644
index 6162ba583..000000000
--- a/mandriva/2010.2/dependencies/pinentry/0002-Fix-sigabrt-on-fail-grab-r229.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: gtk+-2/pinentry-gtk-2.c
-===================================================================
---- gtk+-2/pinentry-gtk-2.c (revision 228)
-+++ gtk+-2/pinentry-gtk-2.c (revision 229)
-@@ -52,6 +52,7 @@
- #endif
-
- static pinentry_t pinentry;
-+static int grab_failed;
- static int passphrase_ok;
- typedef enum { CONFIRM_CANCEL, CONFIRM_OK, CONFIRM_NOTOK } confirm_value_t;
- static confirm_value_t confirm_value;
-@@ -135,7 +136,11 @@
- return;
-
- if (gdk_keyboard_grab (win->window, FALSE, gdk_event_get_time (event)))
-- g_error ("could not grab keyboard");
-+ {
-+ g_critical ("could not grab keyboard");
-+ grab_failed = 1;
-+ gtk_main_quit ();
-+ }
- }
-
-
-@@ -520,7 +525,7 @@
- while (gtk_events_pending ())
- gtk_main_iteration ();
-
-- if (confirm_value == CONFIRM_CANCEL)
-+ if (confirm_value == CONFIRM_CANCEL || grab_failed)
- pe->canceled = 1;
-
- pinentry = NULL;
-