* Data for default check and radio buttons
*/
-static GtkRequisition default_option_indicator_size = { 7, 13 };
-static GtkBorder default_option_indicator_spacing = { 7, 5, 2, 2 };
+static const GtkRequisition default_option_indicator_size = { 7, 13 };
+static const GtkBorder default_option_indicator_spacing = { 7, 5, 2, 2 };
#define INDICATOR_PART_SIZE 13
};
/* --- variables --- */
-static GdkColor gtk_default_normal_fg = { 0, 0, 0, 0 };
-static GdkColor gtk_default_active_fg = { 0, 0, 0, 0 };
-static GdkColor gtk_default_prelight_fg = { 0, 0, 0, 0 };
-static GdkColor gtk_default_selected_fg = { 0, 0xffff, 0xffff, 0xffff };
-static GdkColor gtk_default_insensitive_fg = { 0, 0x7530, 0x7530, 0x7530 };
-
-static GdkColor gtk_default_normal_bg = { 0, 0xdcdc, 0xdada, 0xd5d5 };
-static GdkColor gtk_default_active_bg = { 0, 0xbaba, 0xb5b5, 0xabab };
-static GdkColor gtk_default_prelight_bg = { 0, 0xeeee, 0xebeb, 0xe7e7 };
-static GdkColor gtk_default_selected_bg = { 0, 0x4b4b, 0x6969, 0x8383 };
-static GdkColor gtk_default_insensitive_bg = { 0, 0xdcdc, 0xdada, 0xd5d5 };
-static GdkColor gtk_default_selected_base = { 0, 0x4b4b, 0x6969, 0x8383 };
-static GdkColor gtk_default_active_base = { 0, 0x8080, 0x7d7d, 0x7474 };
+static const GdkColor gtk_default_normal_fg = { 0, 0, 0, 0 };
+static const GdkColor gtk_default_active_fg = { 0, 0, 0, 0 };
+static const GdkColor gtk_default_prelight_fg = { 0, 0, 0, 0 };
+static const GdkColor gtk_default_selected_fg = { 0, 0xffff, 0xffff, 0xffff };
+static const GdkColor gtk_default_insensitive_fg = { 0, 0x7530, 0x7530, 0x7530 };
+
+static const GdkColor gtk_default_normal_bg = { 0, 0xdcdc, 0xdada, 0xd5d5 };
+static const GdkColor gtk_default_active_bg = { 0, 0xbaba, 0xb5b5, 0xabab };
+static const GdkColor gtk_default_prelight_bg = { 0, 0xeeee, 0xebeb, 0xe7e7 };
+static const GdkColor gtk_default_selected_bg = { 0, 0x4b4b, 0x6969, 0x8383 };
+static const GdkColor gtk_default_insensitive_bg = { 0, 0xdcdc, 0xdada, 0xd5d5 };
+static const GdkColor gtk_default_selected_base = { 0, 0x4b4b, 0x6969, 0x8383 };
+static const GdkColor gtk_default_active_base = { 0, 0x8080, 0x7d7d, 0x7474 };
static gpointer parent_class = NULL;
{
#define gray50_width 2
#define gray50_height 2
- static char gray50_bits[] = {
+ static const char gray50_bits[] = {
0x02, 0x01
};
}
else
{
- static GdkColor gray = { 0, 0x8888, 0x8888, 0x8888 };
+ static const GdkColor gray = { 0, 0x8888, 0x8888, 0x8888 };
if (!cursor_info->secondary_gc)
cursor_info->secondary_gc = make_cursor_gc (widget,