summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-11-24 15:32:41 +0100
committerBenjamin Otte <otte@redhat.com>2010-12-02 20:21:04 +0100
commit218eea43785809ce43e894ed1bd94e18757f4efa (patch)
tree8674c9b1250380448c33a090d1a2666650b2a314 /gdk
parentb9fc6a0c0387f42854409be8db826cf1d536079f (diff)
downloadgtk+-218eea43785809ce43e894ed1bd94e18757f4efa.tar.gz
gdk: Remove GdkDrawable
It's unused.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/Makefile.am2
-rw-r--r--gdk/gdk.symbols2
-rw-r--r--gdk/gdkdraw.c52
-rw-r--r--gdk/gdkdrawable.h77
4 files changed, 0 insertions, 133 deletions
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index 2b2ae6be27..987379bc9c 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -71,7 +71,6 @@ gdk_public_h_sources = \
gdkdisplay.h \
gdkdisplaymanager.h \
gdkdnd.h \
- gdkdrawable.h \
gdkevents.h \
gdkinput.h \
gdkkeys.h \
@@ -113,7 +112,6 @@ gdk_c_sources = \
gdkdisplay.c \
gdkdisplaymanager.c \
gdkdnd.c \
- gdkdraw.c \
gdkevents.c \
gdkglobals.c \
gdkkeys.c \
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index d6dacd0384..11501857fa 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -154,8 +154,6 @@ gdk_drag_get_selection
gdk_drag_motion
gdk_drag_protocol_get_type G_GNUC_CONST
gdk_drag_status
-gdk_drawable_get_type G_GNUC_CONST
-gdk_drawable_get_visible_region
gdk_drop_finish
gdk_drop_reply
gdk_enable_multidevice
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
deleted file mode 100644
index 56a4215047..0000000000
--- a/gdk/gdkdraw.c
+++ /dev/null
@@ -1,52 +0,0 @@
-/* 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/.
- */
-
-#include "config.h"
-
-#include "gdkdrawable.h"
-
-#include "gdkcairo.h"
-#include "gdkinternals.h"
-#include "gdkwindow.h"
-#include "gdkscreen.h"
-#include "gdkpixbuf.h"
-
-#include <pango/pangocairo.h>
-#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <math.h>
-
-G_DEFINE_ABSTRACT_TYPE (GdkDrawable, gdk_drawable, G_TYPE_OBJECT)
-
-static void
-gdk_drawable_class_init (GdkDrawableClass *klass)
-{
-}
-
-static void
-gdk_drawable_init (GdkDrawable *drawable)
-{
-}
-
diff --git a/gdk/gdkdrawable.h b/gdk/gdkdrawable.h
deleted file mode 100644
index c8d8146968..0000000000
--- a/gdk/gdkdrawable.h
+++ /dev/null
@@ -1,77 +0,0 @@
-/* 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_DRAWABLE_H__
-#define __GDK_DRAWABLE_H__
-
-#include <gdk/gdktypes.h>
-#include <gdk-pixbuf/gdk-pixbuf.h>
-
-#include <cairo.h>
-
-G_BEGIN_DECLS
-
-typedef struct _GdkDrawable GdkDrawable;
-typedef struct _GdkDrawableClass GdkDrawableClass;
-
-#define GDK_TYPE_DRAWABLE (gdk_drawable_get_type ())
-#define GDK_DRAWABLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DRAWABLE, GdkDrawable))
-#define GDK_DRAWABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DRAWABLE, GdkDrawableClass))
-#define GDK_IS_DRAWABLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DRAWABLE))
-#define GDK_IS_DRAWABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DRAWABLE))
-#define GDK_DRAWABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DRAWABLE, GdkDrawableClass))
-
-/**
- * GdkDrawable:
- *
- * An opaque structure representing an object that can be
- * drawn onto.
- */
-struct _GdkDrawable
-{
- GObject parent_instance;
-};
-
-struct _GdkDrawableClass
-{
- GObjectClass parent_class;
-
- /* Padding for future expansion */
- void (*_gdk_reserved7) (void);
- void (*_gdk_reserved9) (void);
- void (*_gdk_reserved10) (void);
- void (*_gdk_reserved11) (void);
- void (*_gdk_reserved12) (void);
- void (*_gdk_reserved13) (void);
- void (*_gdk_reserved14) (void);
- void (*_gdk_reserved15) (void);
-};
-
-GType gdk_drawable_get_type (void) G_GNUC_CONST;
-
-G_END_DECLS
-
-#endif /* __GDK_DRAWABLE_H__ */