summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-02-21 17:55:25 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-02-21 17:55:25 +0800
commit04c7585cd31d4b1ccd9be175ff9f296bad41598e (patch)
tree9ad84a60f4f098ae0e47c6f6eb186c12123e999e
parentc8e0fec87d419ce68d71063365bbeef04014d64a (diff)
downloadcompiz-with-glib-mainloop-04c7585cd31d4b1ccd9be175ff9f296bad41598e.tar.gz
compiz-with-glib-mainloop-04c7585cd31d4b1ccd9be175ff9f296bad41598e.tar.bz2
Remove dead code
-rw-r--r--gtk/window-decorator/frames.c1
-rw-r--r--gtk/window-decorator/gtk-window-decorator.c2
-rw-r--r--gtk/window-decorator/gtk-window-decorator.h13
3 files changed, 0 insertions, 16 deletions
diff --git a/gtk/window-decorator/frames.c b/gtk/window-decorator/frames.c
index fe378eb..40c4e04 100644
--- a/gtk/window-decorator/frames.c
+++ b/gtk/window-decorator/frames.c
@@ -28,7 +28,6 @@ typedef struct _decor_frame_type_info
destroy_frame_proc destroy_func;
} decor_frame_type_info_t;
-decor_frame_t decor_frames[NUM_DECOR_FRAMES];
GHashTable *frame_info_table;
GHashTable *frames_table;
diff --git a/gtk/window-decorator/gtk-window-decorator.c b/gtk/window-decorator/gtk-window-decorator.c
index e5888fe..526e989 100644
--- a/gtk/window-decorator/gtk-window-decorator.c
+++ b/gtk/window-decorator/gtk-window-decorator.c
@@ -29,8 +29,6 @@ gboolean minimal = FALSE;
#define SWITCHER_SPACE 40
-decor_frame_t decor_frames[NUM_DECOR_FRAMES];
-
guint cmdline_options = 0;
GdkPixmap *decor_normal_pixmap = NULL;
diff --git a/gtk/window-decorator/gtk-window-decorator.h b/gtk/window-decorator/gtk-window-decorator.h
index 109ed03..f6b1c44 100644
--- a/gtk/window-decorator/gtk-window-decorator.h
+++ b/gtk/window-decorator/gtk-window-decorator.h
@@ -360,19 +360,6 @@ typedef struct {
event_callback callback;
} event_window;
-#define NUM_DECOR_FRAMES 8
-
-typedef enum _decor_frame_type {
- DECOR_FRAME_TYPE_NORMAL = 0,
- DECOR_FRAME_TYPE_DIALOG = 1,
- DECOR_FRAME_TYPE_MENU = 2,
- DECOR_FRAME_TYPE_UTILITY = 3,
- DECOR_FRAME_TYPE_SWITCHER = 4,
- DECOR_FRAME_TYPE_UNDECORATED = 5,
- DECOR_FRAME_TYPE_DEFAULT = 6,
- DECOR_FRAME_TYPE_BARE = 7
-} decor_frame_type;
-
typedef struct _decor_frame decor_frame_t;
typedef struct _decor_shadow_info decor_shadow_info_t;