[genius] Mon Aug 30 10:23:49 2010 Jiri (George) Lebl <jirka 5z com>



commit ead2b7fc80760c2185f64fa69e009e4d63f5e833
Author: Jiri (George) Lebl <jirka 5z com>
Date:   Mon Aug 30 10:23:55 2010 -0700

    Mon Aug 30 10:23:49 2010  Jiri (George) Lebl <jirka 5z com>
    
    	* src/gnome-genius.c: Patch from Vincent Untz to fix access to sealed
    	  vte structure members

 ChangeLog          |    5 +++++
 src/gnome-genius.c |    6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 9da2ac6..51b6906 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Aug 30 10:23:49 2010  Jiri (George) Lebl <jirka 5z com>
+
+	* src/gnome-genius.c: Patch from Vincent Untz to fix access to sealed
+	  vte structure members
+
 Tue Jun 29 11:38:38 2010  Jiri (George) Lebl <jirka 5z com>
 
 	* src/graphing.c: Add SurfacePlotVariableNames and some fixes
diff --git a/src/gnome-genius.c b/src/gnome-genius.c
index 3fc950d..1345812 100644
--- a/src/gnome-genius.c
+++ b/src/gnome-genius.c
@@ -3875,7 +3875,7 @@ really_save_console_cb (GtkFileChooser *fs, int response, gpointer data)
 					      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);
@@ -4813,8 +4813,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);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]