From: Martin Waitz <tali@admingilde.org>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: SEGV in git-apply
Date: Sat, 20 Jan 2007 19:36:15 +0100 [thread overview]
Message-ID: <20070120183615.GA6459@admingilde.org> (raw)
In-Reply-To: <Pine.LNX.4.63.0701200312000.22628@wbgn013.biozentrum.uni-wuerzburg.de>
[-- Attachment #1: Type: text/plain, Size: 1232 bytes --]
hoi :)
On Sat, Jan 20, 2007 at 03:14:46AM +0100, Johannes Schindelin wrote:
> But without that patch I cannot tell.
patch was this one:
------------------ 8< -------------------------------
--- src/callbacks.cc 2006-11-02 10:16:50.000000000 +0100
+++ src/callbacks.cc 2007-01-17 20:47:00.000000000 +0100
@@ -12890,12 +12890,11 @@ void on_unknown_edit_optionmenu_sign_cha
}
}
-gboolean on_key_press_event(GtkWidget*, GdkEventKey *event, gpointer) {
+gboolean on_key_press_event(GtkWidget *o, GdkEventKey *event, gpointer) {
if(!GTK_WIDGET_HAS_FOCUS(expression) && (event->keyval > GDK_Hyper_R || event->keyval < GDK_Shift_L)) {
- bool return_val = FALSE;
GtkWidget *w = gtk_window_get_focus(GTK_WINDOW(glade_xml_get_widget (main_glade, "main_window")));
- if(w) g_signal_emit_by_name((gpointer) w, "key_press_event", event, &return_val);
- if(return_val) return TRUE;
+ if(gtk_bindings_activate_event(GTK_OBJECT(o), event)) return TRUE;
+ if(w && gtk_bindings_activate_event(GTK_OBJECT(w), event)) return TRUE;
focus_keeping_selection();
}
return FALSE;
------------------ 8< -------------------------------
git-apply inside the "src" directory segfaulted.
--
Martin Waitz
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-01-20 18:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-20 1:48 SEGV in git-apply Martin Waitz
2007-01-20 2:14 ` Johannes Schindelin
2007-01-20 18:36 ` Martin Waitz [this message]
2007-01-21 1:17 ` [PATCH] apply --cached: fix crash in subdirectory Johannes Schindelin
2007-01-21 14:40 ` Martin Waitz
2007-01-21 16:47 ` Rogan Dawes
2007-01-21 18:03 ` Johannes Schindelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070120183615.GA6459@admingilde.org \
--to=tali@admingilde.org \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox