[gtk+/wip/otte/gtk4: 122/127] gdk: Remove unused structs from ColorMap days
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otte/gtk4: 122/127] gdk: Remove unused structs from ColorMap days
- Date: Sat, 8 Oct 2016 03:43:00 +0000 (UTC)
commit 2435bca63033ecc557a825d2ae9a5392d225eabb
Author: Benjamin Otte <otte redhat com>
Date: Sat Oct 8 00:18:36 2016 +0200
gdk: Remove unused structs from ColorMap days
gdk/gdkinternals.h | 11 -----------
gdk/win32/gdkprivate-win32.h | 14 --------------
2 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 123323a..ba7a700 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -40,21 +40,10 @@ G_BEGIN_DECLS
/* Debugging support */
-typedef struct _GdkColorInfo GdkColorInfo;
typedef struct _GdkEventFilter GdkEventFilter;
typedef struct _GdkClientFilter GdkClientFilter;
typedef enum {
- GDK_COLOR_WRITEABLE = 1 << 0
-} GdkColorInfoFlags;
-
-struct _GdkColorInfo
-{
- GdkColorInfoFlags flags;
- guint ref_count;
-};
-
-typedef enum {
GDK_EVENT_FILTER_REMOVED = 1 << 0
} GdkEventFilterFlags;
diff --git a/gdk/win32/gdkprivate-win32.h b/gdk/win32/gdkprivate-win32.h
index c8491cb..2966074 100644
--- a/gdk/win32/gdkprivate-win32.h
+++ b/gdk/win32/gdkprivate-win32.h
@@ -123,7 +123,6 @@ GdkScreen *GDK_WINDOW_SCREEN(GObject *win);
#define GDK_WINDOW_IS_WIN32(win) (GDK_IS_WINDOW_IMPL_WIN32 (win->impl))
-typedef struct _GdkColormapPrivateWin32 GdkColormapPrivateWin32;
typedef struct _GdkWin32SingleFont GdkWin32SingleFont;
struct _GdkWin32Cursor
@@ -148,17 +147,6 @@ typedef enum {
GDK_WIN32_PE_INUSE
} GdkWin32PalEntryState;
-struct _GdkColormapPrivateWin32
-{
- HPALETTE hpal;
- gint current_size; /* Current size of hpal */
- GdkWin32PalEntryState *use;
- gint private_val;
-
- GHashTable *hash;
- GdkColorInfo *info;
-};
-
GType _gdk_gc_win32_get_type (void);
gulong _gdk_win32_get_next_tick (gulong suggested_tick);
@@ -347,8 +335,6 @@ void _gdk_win32_end_modal_call (void);
extern gboolean _gdk_input_ignore_wintab;
extern gint _gdk_max_colors;
-#define GDK_WIN32_COLORMAP_DATA(cmap) ((GdkColormapPrivateWin32 *) GDK_COLORMAP (cmap)->windowing_data)
-
/* TRUE while a modal sizing, moving, or dnd operation is in progress */
extern gboolean _modal_operation_in_progress;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]