Copy from GNOME:Apps/genius based on submit request 46673 from user vuntz OBS-URL: https://build.opensuse.org/request/show/46673 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/genius?expand=0&rev=4
25 lines
907 B
Diff
25 lines
907 B
Diff
Index: genius-1.0.9/src/gnome-genius.c
|
|
===================================================================
|
|
--- genius-1.0.9.orig/src/gnome-genius.c
|
|
+++ genius-1.0.9/src/gnome-genius.c
|
|
@@ -3828,7 +3828,7 @@ really_save_console_cb (GtkFileChooser *
|
|
MAX(row-genius_setup.scrollback+1, 0),
|
|
0,
|
|
row,
|
|
- VTE_TERMINAL (term)->column_count - 1,
|
|
+ vte_terminal_get_column_count (VTE_TERMINAL (term)) - 1,
|
|
always_selected,
|
|
NULL,
|
|
NULL);
|
|
@@ -4763,8 +4763,8 @@ update_term_geometry (void)
|
|
int char_height;
|
|
int xpad, ypad;
|
|
|
|
- char_width = VTE_TERMINAL (term)->char_width;
|
|
- char_height = VTE_TERMINAL (term)->char_height;
|
|
+ char_width = vte_terminal_get_char_width (VTE_TERMINAL (term));
|
|
+ char_height = vte_terminal_get_char_height (VTE_TERMINAL (term));
|
|
|
|
vte_terminal_get_padding (VTE_TERMINAL (term), &xpad, &ypad);
|
|
|