From b2767f1a5b12e2513b25e7217db3bba4daf696dc Mon Sep 17 00:00:00 2001 From: Laurent Monin Date: Thu, 30 Aug 2012 15:53:29 +0200 Subject: [PATCH] Remove commented out code. --- src/ui_help.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/ui_help.c b/src/ui_help.c index e67ffd71..a21f7f6f 100644 --- a/src/ui_help.c +++ b/src/ui_help.c @@ -65,10 +65,6 @@ static void help_window_scroll(GtkWidget *text, const gchar *key) gtk_text_buffer_get_iter_at_line_offset(buffer, &iter, line, 0); gtk_text_buffer_place_cursor(buffer, &iter); -#if 0 - gtk_text_view_scroll_to_iter(GTK_TEXT_VIEW(text), &iter, 0.0, TRUE, 0, 0); -#endif - /* apparently only scroll_to_mark works when the textview is not visible yet */ /* if mark exists, move it instead of creating one for every scroll */ @@ -203,9 +199,6 @@ GtkWidget *help_window_new(const gchar *title, window = window_new(GTK_WINDOW_TOPLEVEL, subclass, NULL, NULL, title); gtk_window_set_resizable(GTK_WINDOW(window), TRUE); -#if 0 - gtk_container_set_border_width(GTK_CONTAINER(window), PREF_PAD_BORDER); -#endif gtk_window_set_default_size(GTK_WINDOW(window), HELP_WINDOW_WIDTH, HELP_WINDOW_HEIGHT); g_signal_connect(G_OBJECT(window), "delete_event", -- 2.20.1