tags 376164 + patch

thanks

Attached patch to fix exactly the RC, but this package needs a HEAVY
source audit..

diff -Nru fluxconf-0.9.8.orig/src/fluxkeys.c fluxconf-0.9.8/src/fluxkeys.c
--- fluxconf-0.9.8.orig/src/fluxkeys.c	2004-12-10 11:47:14.000000000 -0300
+++ fluxconf-0.9.8/src/fluxkeys.c	2006-07-03 06:20:05.000000000 -0300
@@ -429,9 +429,9 @@
 }
 
 
-/* void addkey(GtkButton * but, GtkWidget ** boites) */
-void addkey(GtkWidget ** boites)
+void addkey(GtkButton * but, GtkWidget ** boites)
 {
+    but = NULL; /* eek, respect upstream 'style'... */
     if (nblignes > MAXKEYCOUNT - 2)
         return;
     nblignes++;
diff -Nru fluxconf-0.9.8.orig/src/include/functions.h fluxconf-0.9.8/src/include/functions.h
--- fluxconf-0.9.8.orig/src/include/functions.h	2004-12-08 15:07:14.000000000 -0300
+++ fluxconf-0.9.8/src/include/functions.h	2006-07-03 06:19:35.000000000 -0300
@@ -24,7 +24,7 @@
 char * firstword(char * word, int * offset);
 
 void savekeys(GtkButton *button, GtkBox ** boxes);
-void addkey(GtkWidget ** boxes);
+void addkey(GtkWidget * but, GtkWidget ** boxes);
 GtkWidget * newkey(int Ctrl, int Alt, int Shift, int Win, 
                     GList * liste, char *value, char *touche, char *execcmd
                     );
-- 
Niv Sardi-Altivanik <[EMAIL PROTECTED]>
Debian::GNU/Linux::Addict, Wannabe Debian Developper, 
please test my packages: http://cxhome.ath.cx/debian
> Random Fortune (To make your day better if not wiser) < 
Nunca pienses que lo sabes todo. Por mucho que te valores, ten siempre
el coraje de decirte a ti mismo 'Soy un ignorante'.
                -- Iván Pavlov. (1849-1936). 

Reply via email to