Skip to content
Snippets Groups Projects
Commit bfed64f5 authored by edgrif's avatar edgrif
Browse files

remove gtk_widget_grab_focus() calls, not correct.

parent 86fc1a6b
No related branches found
No related tags found
No related merge requests found
/* Last edited: Dec 20 09:51 2004 (edgrif) */
/* Last edited: Jan 7 12:14 2005 (edgrif) */
/* file: zmapsplit.c
* Author: Rob Clack (rnc@sanger.ac.uk)
* Copyright (c) Sanger Institute, 2004
......@@ -196,9 +196,6 @@ void addPane(ZMap zmap, char orientation)
/* focus on the new pane */
zmapRecordFocus(pane);
gtk_widget_grab_focus(pane->frame);
/* if we do this first time, a little blank box appears before the main display */
if (!zmap->firstTime)
......@@ -381,9 +378,8 @@ void closePane(GtkWidget *widget, gpointer data)
* a canvas and scroll bars) after closing multiply-split windows, but life
* is short! */
zmapRecordFocus(next->data);
gtk_widget_grab_focus(((ZMapPane)next->data)->frame);
resizePanes(zmap);
}
......
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