[evolution/webkit] Avoid using deprecated GTK_SELECTION_EXTENDED



commit 6673dedd109f1dbcd64219137735510be18bfafd
Author: Vibha Yadav <yvibha novell com>
Date:   Thu Dec 2 16:56:25 2010 +0530

    Avoid using deprecated GTK_SELECTION_EXTENDED
    
    Using GTK_SELECTION_MULTIPLE.
    As Deprecated, GTK_SELECTION_EXTENDED behaves identical to
    GTK_SELECTION_MULTIPLE.

 widgets/table/e-table-specification.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/widgets/table/e-table-specification.c b/widgets/table/e-table-specification.c
index 99213ad..dfa7da9 100644
--- a/widgets/table/e-table-specification.c
+++ b/widgets/table/e-table-specification.c
@@ -209,7 +209,7 @@ e_table_specification_load_from_node (ETableSpecification *specification,
 	} else if (temp && !g_ascii_strcasecmp (temp, "browse")) {
 		specification->selection_mode = GTK_SELECTION_BROWSE;
 	} else if (temp && !g_ascii_strcasecmp (temp, "extended")) {
-		specification->selection_mode = GTK_SELECTION_EXTENDED;
+		specification->selection_mode = GTK_SELECTION_MULTIPLE;
 	}
 	g_free (temp);
 
@@ -377,7 +377,7 @@ e_table_specification_save_to_node (ETableSpecification *specification,
 		s = "browse";
 		break;
 	default:
-	case GTK_SELECTION_EXTENDED:
+	case GTK_SELECTION_MULTIPLE:
 		s = "extended";
 	}
 	xmlSetProp (node, (const guchar *)"selection-mode", (guchar *)s);



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