]> Pileus Git - ~andy/gtk/blobdiff - gdk/x11/gdkproperty-x11.c
wayland: Synthesize fullscreen window state change
[~andy/gtk] / gdk / x11 / gdkproperty-x11.c
index ebeb39e1387499d481791bcdf4f622f91d5811b7..3d843d2b499090916e1d3097e38dd4dcfe9429db 100644 (file)
@@ -12,9 +12,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
@@ -278,16 +276,8 @@ _gdk_x11_precache_atoms (GdkDisplay          *display,
     }
 
   if (n_xatoms)
-    {
-#ifdef HAVE_XINTERNATOMS
-      XInternAtoms (GDK_DISPLAY_XDISPLAY (display),
-                   (char **)xatom_names, n_xatoms, False, xatoms);
-#else
-      for (i = 0; i < n_xatoms; i++)
-       xatoms[i] = XInternAtom (GDK_DISPLAY_XDISPLAY (display),
-                                xatom_names[i], False);
-#endif
-    }
+    XInternAtoms (GDK_DISPLAY_XDISPLAY (display),
+                  (char **)xatom_names, n_xatoms, False, xatoms);
 
   for (i = 0; i < n_xatoms; i++)
     insert_atom_pair (display, atoms[i], xatoms[i]);