summaryrefslogtreecommitdiff
path: root/src/gui/menus/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/menus/view.c')
-rw-r--r--src/gui/menus/view.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/menus/view.c b/src/gui/menus/view.c
index def1859..d3bebc3 100644
--- a/src/gui/menus/view.c
+++ b/src/gui/menus/view.c
@@ -397,14 +397,12 @@ static void mcb_view_change_support(GtkRadioMenuItem *menuitem, GMenuBar *bar)
*
* - GtkBlockView / GtkGraphView / GtkSourceView (avec GtkViewport intégré)
* - GtkScrolledWindow
- * - GtkNotebook
* - GtkDockStation
*
*/
vpanel = g_editor_item_get_current_view(G_EDITOR_ITEM(bar));
station = gtk_widget_get_parent(GTK_WIDGET(vpanel)); /* ScrollWindow */
- station = gtk_widget_get_parent(station); /* NoteBook */
station = gtk_widget_get_parent(station); /* DockStation */
binary = g_editor_item_get_current_binary(G_EDITOR_ITEM(bar));