Skip to content

Commit

Permalink
Remove commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
zas committed Aug 30, 2012
1 parent d183c70 commit b2767f1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/ui_help.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit b2767f1

Please sign in to comment.