[gnome-panel] [panel] Fix crash when using the main menu
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel] [panel] Fix crash when using the main menu
- Date: Tue, 9 Mar 2010 22:53:18 +0000 (UTC)
commit f5680f766a78f35f9e7ac41b0c23769a9ceabe2c
Author: Vincent Untz <vuntz gnome org>
Date: Tue Mar 9 23:45:22 2010 +0100
[panel] Fix crash when using the main menu
Replacing gtk_button_released() with a button-release-event in commit
13b2f9cd causes crashes, because we probably need to pass an event as
argument to the signal. But we don't have this.
However, it turns out that we don't need that call at all: this was
probably needed for the released signal in ButtonWidget, but on
2004-01-19, it got removed (commit 50855ce2). So the fix is to just
remove this line.
gnome-panel/panel-menu-button.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/panel-menu-button.c b/gnome-panel/panel-menu-button.c
index 13fe265..5cb920d 100644
--- a/gnome-panel/panel-menu-button.c
+++ b/gnome-panel/panel-menu-button.c
@@ -349,7 +349,6 @@ panel_menu_button_menu_deactivated (PanelMenuButton *button)
GTK_BUTTON (button)->in_button = FALSE;
button_widget_set_ignore_leave (BUTTON_WIDGET (button), FALSE);
- g_signal_emit_by_name (GTK_BUTTON (button), "button-release-event");
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]