Merge pull request #9 from City-busz/fix-line-numbers
Fix line numbers visibility
This commit is contained in:
commit
5b9da26c58
@ -299,7 +299,7 @@ void show_line_numbers(GtkWidget *text_view, gboolean visible)
|
|||||||
void linenum_init(GtkWidget *text_view)
|
void linenum_init(GtkWidget *text_view)
|
||||||
{
|
{
|
||||||
min_number_window_width = calculate_min_number_window_width(text_view);
|
min_number_window_width = calculate_min_number_window_width(text_view);
|
||||||
g_signal_connect(
|
g_signal_connect_after(
|
||||||
G_OBJECT(text_view),
|
G_OBJECT(text_view),
|
||||||
"draw",
|
"draw",
|
||||||
G_CALLBACK(line_numbers_expose),
|
G_CALLBACK(line_numbers_expose),
|
||||||
|
Loading…
Reference in New Issue
Block a user