]> Pileus Git - ~andy/gtk/blobdiff - gdk/gdkcursorprivate.h
Fix up for newer draft of wm-spec
[~andy/gtk] / gdk / gdkcursorprivate.h
index 51501d1906a58c5087358d82eb31ae35cbf15591..e637d3d72f49815045fce6a1c293b8c45c3a5a7a 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/>.
  */
 
 /*
 
 G_BEGIN_DECLS
 
+#define GDK_CURSOR_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_CURSOR, GdkCursorClass))
+#define GDK_IS_CURSOR_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_CURSOR))
+#define GDK_CURSOR_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_CURSOR, GdkCursorClass))
+
 typedef struct _GdkCursorClass GdkCursorClass;
 
 struct _GdkCursor
 {
   GObject parent_instance;
 
-  /*< private >*/
-  GdkCursorType type;
   GdkDisplay *display;
+  GdkCursorType type;
 };
 
 struct _GdkCursorClass
 {
   GObjectClass parent_class;
+
+  GdkPixbuf *   (* get_image)   (GdkCursor *    cursor);
 };
 
 G_END_DECLS