[dia] Remove unused DEFAULT*COLOR defines



commit 49eb6ce86142a8b8e683773f0eca601c87d96431
Author: Hans Breuer <hans breuer org>
Date:   Sun Oct 25 21:51:37 2009 +0100

    Remove unused DEFAULT*COLOR defines
    
    DEFAULT_FG_COLOR, DEFAULT_BG_COLOR and DEFAULT_COLOR should not be used for widgets, rather widget drawing shall respect theme colors.

 lib/widgets.h |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/lib/widgets.h b/lib/widgets.h
index 0934ba8..6af033a 100644
--- a/lib/widgets.h
+++ b/lib/widgets.h
@@ -85,11 +85,6 @@ void       dia_line_style_selector_set_linestyle (DiaLineStyleSelector *as,
 #define DIACOLORSELECTOR_CLASS(klass)  G_TYPE_CHECK_CLASS_CAST (klass, dia_color_selector_get_type (), DiaColorSelectorClass)
 #define IS_DIACOLORSELECTOR(obj)       G_TYPE_CHECK_INSTANCE_TYPE (obj, dia_color_selector_get_type ())
 
-#define DEFAULT_FG_COLOR color_black
-#define DEFAULT_BG_COLOR color_white
-#define DEFAULT_COLOR color_white
-
-
 /* FIXME: _get_type is not implemented */
 GType      dia_color_selector_get_type  (void);
 GtkWidget* dia_color_selector_new       (void);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]