]> Pileus Git - ~andy/gtk/commitdiff
Add missing CLIPBOARD atom.
authorRichard Hult <richard@imendio.com>
Wed, 29 Mar 2006 20:34:33 +0000 (20:34 +0000)
committerRichard Hult <rhult@src.gnome.org>
Wed, 29 Mar 2006 20:34:33 +0000 (20:34 +0000)
2006-03-29  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.

ChangeLog
ChangeLog.pre-2-10
gdk/quartz/gdkproperty-quartz.c

index 2cc37170e42b161382e4e12f5f2e4cf9af30d30e..7e755e27a32564a77a5e055d435554e9bbb1210b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-29  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.
+
 2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>
 
        * docs/reference/gtk/migrating-GtkRecentChooser.sgml: Add a migration
index 2cc37170e42b161382e4e12f5f2e4cf9af30d30e..7e755e27a32564a77a5e055d435554e9bbb1210b 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-29  Richard Hult  <richard@imendio.com>
+
+       * gdk/quartz/gdkproperty-quartz.c: Add missing CLIPBOARD atom.
+
 2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>
 
        * docs/reference/gtk/migrating-GtkRecentChooser.sgml: Add a migration
index db1548d4c0ef375298a5aeec5704f7610280f272..d24ea7d5fb3cc01a16e1dee3bd78a43301bf0649 100644 (file)
@@ -96,7 +96,10 @@ static const gchar xatoms_string[] =
   "CAP_HEIGHT\0"
   "WM_CLASS\0"
   "WM_TRANSIENT_FOR\0"
-;
+ /* Below here, these are our additions. Increment N_CUSTOM_PREDEFINED
+   * if you add any.
+   */
+  "CLIPBOARD\0"                        /* = 69 */;
 
 static const gint xatoms_offset[] = {
     0,   5,  13,  23,  27,  32,  39,  48,  57,  64,  76,  88, 
@@ -104,7 +107,7 @@ static const gint xatoms_offset[] = {
   222, 236, 249, 262, 278, 291, 305, 317, 324, 333, 340, 351, 
   360, 378, 391, 404, 412, 428, 442, 456, 466, 477, 487, 497, 
   511, 525, 537, 549, 568, 588, 605, 623, 636, 645, 656, 663, 
-  674, 685, 695, 702, 712, 724, 734, 745, 754
+  674, 685, 695, 702, 712, 724, 734, 745, 754, 771
 };
 
 #define N_CUSTOM_PREDEFINED 1
@@ -165,8 +168,6 @@ gchar *
 gdk_atom_name (GdkAtom atom)
 {
   ensure_atom_tables ();
-  //if (!atoms_to_names)
-  //  return NULL;
     
   if (GPOINTER_TO_INT (atom) >= atoms_to_names->len)
     return NULL;