[gtkhtml] Remove bogus drag destination targets.



commit 685aa181d33602854cbccb30134194b893d6e7bf
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Jun 23 08:53:40 2010 -0400

    Remove bogus drag destination targets.
    
    Following up on the previous commit message, Evolution's email composer
    now appends GtkHTML's drag destination target list, so the bogus drag
    destination targets can be removed from GtkHtml.
    
    This was done in Evolution commit c37352e.

 gtkhtml/gtkhtml.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gtkhtml/gtkhtml.c b/gtkhtml/gtkhtml.c
index b99a3e7..128df96 100644
--- a/gtkhtml/gtkhtml.c
+++ b/gtkhtml/gtkhtml.c
@@ -70,12 +70,8 @@
 #include "math.h"
 
 enum DndTargetType {
-	DND_TARGET_TYPE_MESSAGE_RFC822,
-	DND_TARGET_TYPE_X_UID_LIST,
 	DND_TARGET_TYPE_TEXT_URI_LIST,
 	DND_TARGET_TYPE_MOZILLA_URL,
-	DND_TARGET_TYPE_TEXT_VCARD,
-	DND_TARGET_TYPE_TEXT_CALENDAR,
 	DND_TARGET_TYPE_TEXT_HTML,
 	DND_TARGET_TYPE_UTF8_STRING,
 	DND_TARGET_TYPE_TEXT_PLAIN,
@@ -83,12 +79,8 @@ enum DndTargetType {
 };
 
 static GtkTargetEntry drag_dest_targets[] = {
-	{ (gchar *) "message/rfc822", 0, DND_TARGET_TYPE_MESSAGE_RFC822 },
-	{ (gchar *) "x-uid-list", 0, DND_TARGET_TYPE_X_UID_LIST },
 	{ (gchar *) "text/uri-list", 0, DND_TARGET_TYPE_TEXT_URI_LIST },
 	{ (gchar *) "_NETSCAPE_URL", 0, DND_TARGET_TYPE_MOZILLA_URL },
-	{ (gchar *) "text/x-vcard", 0, DND_TARGET_TYPE_TEXT_VCARD },
-	{ (gchar *) "text/calendar", 0, DND_TARGET_TYPE_TEXT_CALENDAR },
 	{ (gchar *) "text/html", 0, DND_TARGET_TYPE_TEXT_HTML },
 	{ (gchar *) "UTF8_STRING", 0, DND_TARGET_TYPE_UTF8_STRING },
 	{ (gchar *) "text/plain", 0, DND_TARGET_TYPE_TEXT_PLAIN },



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