[gtk+] Drop the :dnd syntax altogether



commit b3dbf3f41c37659f430d36b8a1bfbb8aa92f6607
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 25 22:24:58 2015 -0500

    Drop the :dnd syntax altogether
    
    This was only introduced a few weeks ago. We don't need to keep
    this around, now that we support the proper CSS syntax.

 gtk/gtkcssselector.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcssselector.c b/gtk/gtkcssselector.c
index d5517e8..924637b 100644
--- a/gtk/gtkcssselector.c
+++ b/gtk/gtkcssselector.c
@@ -745,7 +745,7 @@ print_pseudoclass_state (const GtkCssSelector *selector,
     "link",
     "visited",
     "checked",
-    "dnd"
+    "drop(active)"
   };
   guint i;
 
@@ -1192,8 +1192,7 @@ parse_selector_pseudo_class (GtkCssParser   *parser,
     { "link",         GTK_STATE_FLAG_LINK, },
     { "visited",      GTK_STATE_FLAG_VISITED, },
     { "checked",      GTK_STATE_FLAG_CHECKED, },
-    { "drop(active)", GTK_STATE_FLAG_DROP_ACTIVE, },
-    { "dnd",          GTK_STATE_FLAG_DROP_ACTIVE, }
+    { "drop(active)", GTK_STATE_FLAG_DROP_ACTIVE, }
 
   };
   guint i;


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