summaryrefslogtreecommitdiff
path: root/src/nautilus-window.h
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2015-07-29 18:07:24 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2015-07-31 13:38:13 -0300
commit9c4f013e99dbfcafbfbce790e4e425a3f92928ca (patch)
tree4af621e74e3f45c90984e9e52a2b9604bf240315 /src/nautilus-window.h
parentba2da7b800e14f22e509161c5c038642c30f9b60 (diff)
downloadnautilus-9c4f013e99dbfcafbfbce790e4e425a3f92928ca.tar.gz
project: simplify focus chain
Nautilus classes add custom methods to grab the focus differently according to the class. The problem with this approach, however, is that we end up with more code coupling, since it's necessary to include more headers to use the custom grab methods. To fix that, make classes override GtkWidget::grab_focus method and remove the custom methods, so widgets can simply call gtk_widget_grab_focus.
Diffstat (limited to 'src/nautilus-window.h')
-rw-r--r--src/nautilus-window.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nautilus-window.h b/src/nautilus-window.h
index 4b16bf752..ed102d89f 100644
--- a/src/nautilus-window.h
+++ b/src/nautilus-window.h
@@ -122,7 +122,6 @@ void nautilus_window_slot_close (NautilusWindow *wind
NautilusWindowSlot *slot);
void nautilus_window_sync_location_widgets (NautilusWindow *window);
-void nautilus_window_grab_focus (NautilusWindow *window);
void nautilus_window_hide_sidebar (NautilusWindow *window);
void nautilus_window_show_sidebar (NautilusWindow *window);