Commit 39c11f95 authored by Monty Montgomery's avatar Monty Montgomery

Fix bug in the subpanel delete event handler (delete should be
redirected to hide; I broke it when abstracting out subpanels)

git-svn-id: 0101bb08-14d6-0310-b084-bc0e0c8e3800
parent b4103204
......@@ -33,7 +33,7 @@ static int clippanel_hide(GtkWidget *widget,
gpointer in){
subpanel_generic *p=in;
return FALSE;
return TRUE;
static int windowbutton_action(GtkWidget *widget,
gpointer in){
......@@ -157,7 +157,7 @@ subpanel_generic *subpanel_create(postfish_mainpanel *mp,
/* delete should == hide */
g_signal_connect (G_OBJECT (panel->mainpanel->toplevel), "delete-event",
g_signal_connect (G_OBJECT (panel->subpanel_toplevel), "delete-event",
G_CALLBACK (clippanel_hide),
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