Hi!

I am the maintainer of manedit on Fedora. I received the same bug report
on Fedora. The following patch seems to fix this problem. This is to revert
the related part from 0.8.1 to 0.7.1. I would appreciate it if you try this.

Regards.

https://bugzilla.redhat.com/show_bug.cgi?id=356171

--- manedit-0.8.1/manedit/editorcb.c.segv       2007-12-17 13:51:25.000000000 
+0900
+++ manedit-0.8.1/manedit/editorcb.c    2007-12-17 14:37:59.000000000 +0900
@@ -4597,11 +4597,16 @@
  */
 void EditorButtonMenuMapCB(GtkButton *button, gpointer data)
 {
+       static gboolean reenterant = FALSE;
        GtkWidget *w;
        editor_struct *editor = EDITOR(data);
        if((button == NULL) || (editor == NULL))
            return;
 
+       if(reenterant)
+               return;
+       else
+               reenterant = TRUE;
 #define DO_BUTTON_PRESSED      \
 { \
  if(button != NULL) \
@@ -4666,6 +4671,8 @@
        }
 
 #undef DO_BUTTON_PRESSED
+
+       reenterant = FALSE;
 }
 
 /*



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to