]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkselection.h
Get the position correctly for the root window. Fixes bug #347976, patch
[~andy/gtk] / gdk / gdkselection.h
index 109e3cd6822b2532612f224dc2a5a243ec9f57ef..1787c8e50f684f00ddcd239ead3b32ded32af678 100644 (file)
@@ -1,11 +1,35 @@
+/* GDK - The GIMP Drawing Kit
+ * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * 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.
+ */
+
+/*
+ * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
+ * file for a list of people on the GTK+ Team.  See the ChangeLog
+ * files for a list of changes.  These files are distributed with
+ * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
+ */
+
 #ifndef __GDK_SELECTION_H__
 #define __GDK_SELECTION_H__
 
 #include <gdk/gdktypes.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
 
 /* Predefined atoms relating to selections. In general, one will need to use
  * gdk_intern_atom
@@ -41,7 +65,7 @@ typedef GdkAtom GdkSelectionType;
 #ifndef GDK_MULTIHEAD_SAFE
 gboolean   gdk_selection_owner_set (GdkWindow   *owner,
                                    GdkAtom       selection,
-                                   guint32       time,
+                                   guint32       time_,
                                    gboolean      send_event);
 GdkWindow* gdk_selection_owner_get (GdkAtom      selection);
 #endif/* GDK_MULTIHEAD_SAFE */
@@ -49,7 +73,7 @@ GdkWindow* gdk_selection_owner_get (GdkAtom     selection);
 gboolean   gdk_selection_owner_set_for_display (GdkDisplay *display,
                                                GdkWindow  *owner,
                                                GdkAtom     selection,
-                                               guint32     time,
+                                               guint32     time_,
                                                gboolean    send_event);
 GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display,
                                                GdkAtom     selection);
@@ -57,7 +81,7 @@ GdkWindow *gdk_selection_owner_get_for_display (GdkDisplay *display,
 void      gdk_selection_convert   (GdkWindow    *requestor,
                                    GdkAtom       selection,
                                    GdkAtom       target,
-                                   guint32       time);
+                                   guint32       time_);
 gboolean   gdk_selection_property_get (GdkWindow  *requestor,
                                       guchar    **data,
                                       GdkAtom    *prop_type,
@@ -68,7 +92,7 @@ void     gdk_selection_send_notify (guint32       requestor,
                                      GdkAtom       selection,
                                      GdkAtom       target,
                                      GdkAtom       property,
-                                     guint32       time);
+                                     guint32       time_);
 #endif /* GDK_MULTIHEAD_SAFE */
 
 void       gdk_selection_send_notify_for_display (GdkDisplay *display,
@@ -76,10 +100,8 @@ void       gdk_selection_send_notify_for_display (GdkDisplay *display,
                                                  GdkAtom     selection,
                                                  GdkAtom     target,
                                                  GdkAtom     property,
-                                                 guint32     time);
+                                                 guint32     time_);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
 
 #endif /* __GDK_SELECTION_H__ */