[monkey-bubble: 680/753] GTK_SELECTION_EXTENDED is deprecated and means the same thing as



commit 6f96ff8aa029d2466036f9139cb734ecaed31ade
Author: Seth Nickell <snickell stanford edu>
Date:   Tue Aug 28 07:45:44 2001 +0000

    GTK_SELECTION_EXTENDED is deprecated and means the same thing as
    
    2001-08-28  Seth Nickell  <snickell stanford edu>
    
    	* gnome-icon-list.c:
    
    	GTK_SELECTION_EXTENDED is deprecated and means the same
    	thing as GTK_SELECTION_MULTIPLE. GCC really doesn't like
    	having two cases that evaluate to the same thing, so we
    	nix GTK_SELECTION_EXTENDED.

 libgnomeui/ChangeLog         |    9 +++++++++
 libgnomeui/gnome-icon-list.c |    4 ----
 2 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/libgnomeui/ChangeLog b/libgnomeui/ChangeLog
index 0ca3554..c6a1d16 100644
--- a/libgnomeui/ChangeLog
+++ b/libgnomeui/ChangeLog
@@ -1,3 +1,12 @@
+2001-08-28  Seth Nickell  <snickell stanford edu>
+
+	* gnome-icon-list.c:
+
+	GTK_SELECTION_EXTENDED is deprecated and means the same
+	thing as GTK_SELECTION_MULTIPLE. GCC really doesn't like
+	having two cases that evaluate to the same thing, so we
+	nix GTK_SELECTION_EXTENDED.
+
 Mon Aug 27 01:32:00 2001  George Lebl <jirka 5z com>
 
 	* gnome-icon-entry.[ch], gnome-icon-sel.[ch]: bring back pre-selector
diff --git a/libgnomeui/gnome-icon-list.c b/libgnomeui/gnome-icon-list.c
index 044b8c1..e93020a 100644
--- a/libgnomeui/gnome-icon-list.c
+++ b/libgnomeui/gnome-icon-list.c
@@ -842,7 +842,6 @@ icon_event (GnomeCanvasItem *item, GdkEvent *event, gpointer data)
 		return selection_one_icon_event (gil, icon, idx, on_text, event);
 
 	case GTK_SELECTION_MULTIPLE:
-	case GTK_SELECTION_EXTENDED:
 		return selection_many_icon_event (gil, icon, idx, on_text, event);
 
 	default:
@@ -1232,7 +1231,6 @@ gnome_icon_list_remove (GnomeIconList *gil, int pos)
 		case GTK_SELECTION_SINGLE:
 		case GTK_SELECTION_BROWSE:
 		case GTK_SELECTION_MULTIPLE:
-		case GTK_SELECTION_EXTENDED:
 			gnome_icon_list_unselect_icon (gil, pos);
 			break;
 
@@ -1384,7 +1382,6 @@ select_icon (Gil *gil, int pos, GdkEvent *event)
 		break;
 
 	case GTK_SELECTION_MULTIPLE:
-	case GTK_SELECTION_EXTENDED:
 		emit_select (gil, TRUE, pos, event);
 		break;
 
@@ -1421,7 +1418,6 @@ unselect_icon (Gil *gil, int pos, GdkEvent *event)
 	case GTK_SELECTION_SINGLE:
 	case GTK_SELECTION_BROWSE:
 	case GTK_SELECTION_MULTIPLE:
-	case GTK_SELECTION_EXTENDED:
 		emit_select (gil, FALSE, pos, event);
 		break;
 



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