Commit f5680f76 authored by Vincent Untz's avatar Vincent Untz

[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.
parent 549cd638
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment