aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/gnome-commander/files/patch-src_gnome-cmd-data.c
blob: 624ee5491131397986dc3b2bb7668b4e3921ddef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- src/gnome-cmd-data.c.orig	2007-12-07 01:52:03.000000000 +0100
+++ src/gnome-cmd-data.c	2007-12-07 01:55:02.000000000 +0100
@@ -557,10 +557,10 @@
 			 data->priv->advrename_defaults->height);
 
 	write_int_array ("/gnome-commander/advrename/pat_col_widths%d",
-					 advrename_dialog_default_pat_column_width,
+					 (gint *) &advrename_dialog_default_pat_column_width,
 					 ADVRENAME_DIALOG_PAT_NUM_COLUMNS);
 	write_int_array ("/gnome-commander/advrename/res_col_widths%d",
-					 advrename_dialog_default_res_column_width,
+					 (gint *)&advrename_dialog_default_res_column_width,
 					 ADVRENAME_DIALOG_RES_NUM_COLUMNS);
 	
 	set_int ("/gnome-commander/advrename/sep_value",
@@ -688,10 +688,10 @@
 		"/gnome-commander/advrename/height", 400);
 
 	load_int_array ("/gnome-commander/advrename/pat_col_widths%d",
-					advrename_dialog_default_pat_column_width,
+					(gint *)&advrename_dialog_default_pat_column_width,
 					ADVRENAME_DIALOG_PAT_NUM_COLUMNS);
 	load_int_array ("/gnome-commander/advrename/res_col_widths%d",
-					advrename_dialog_default_res_column_width,
+					(gint *)&advrename_dialog_default_res_column_width,
 					ADVRENAME_DIALOG_RES_NUM_COLUMNS);
 	
 	data->priv->advrename_defaults->sep_value = get_int (