summary refs log tree commit diff
path: root/pkgs/tools/security/pinentry/duplicate-glib-defs.patch
blob: 78796ee2f53a568726e095f6fc9f9ebae56a1d67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Comment out definitions of functions that are part of Glib.

--- pinentry-0.7.5/gtk+-2/gtksecentry.c	2007-11-19 12:20:50.000000000 +0100
+++ pinentry-0.7.5/gtk+-2/gtksecentry.c	2008-12-08 22:08:22.000000000 +0100
@@ -269,6 +269,7 @@ gboolean g_use_secure_mem = FALSE;
 				} while(0)
 
 
+#if 0
 gpointer
 g_malloc(gulong size)
 {
@@ -347,6 +348,7 @@ g_free(gpointer mem)
 	    free(mem);
     }
 }
+#endif
 
 GType
 gtk_secure_entry_get_type(void)