forked from AuroraMiddleware/gtk
Add a const here.
* gtk/theme-bits/decompose-bits.c (do_part): Add a const here. * gtk/gtkcolorsel.c: * gtk/gtkimcontextsimple.c: * gtk/gtkstyle.c: Mark constant data as const to give the compiler a chance to put it in a readonly section. (#75754)
This commit is contained in:
parent
530fda038f
commit
050c933b34
@ -1,3 +1,12 @@
|
|||||||
|
2002-11-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/theme-bits/decompose-bits.c (do_part): Add a const here.
|
||||||
|
|
||||||
|
* gtk/gtkcolorsel.c:
|
||||||
|
* gtk/gtkimcontextsimple.c:
|
||||||
|
* gtk/gtkstyle.c: Mark constant data as const to give the compiler
|
||||||
|
a chance to put it in a readonly section. (#75754)
|
||||||
|
|
||||||
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
||||||
|
|
||||||
* modules/input/gtkimcontextxim.c:
|
* modules/input/gtkimcontextxim.c:
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2002-11-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/theme-bits/decompose-bits.c (do_part): Add a const here.
|
||||||
|
|
||||||
|
* gtk/gtkcolorsel.c:
|
||||||
|
* gtk/gtkimcontextsimple.c:
|
||||||
|
* gtk/gtkstyle.c: Mark constant data as const to give the compiler
|
||||||
|
a chance to put it in a readonly section. (#75754)
|
||||||
|
|
||||||
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
||||||
|
|
||||||
* modules/input/gtkimcontextxim.c:
|
* modules/input/gtkimcontextxim.c:
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2002-11-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/theme-bits/decompose-bits.c (do_part): Add a const here.
|
||||||
|
|
||||||
|
* gtk/gtkcolorsel.c:
|
||||||
|
* gtk/gtkimcontextsimple.c:
|
||||||
|
* gtk/gtkstyle.c: Mark constant data as const to give the compiler
|
||||||
|
a chance to put it in a readonly section. (#75754)
|
||||||
|
|
||||||
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
||||||
|
|
||||||
* modules/input/gtkimcontextxim.c:
|
* modules/input/gtkimcontextxim.c:
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2002-11-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/theme-bits/decompose-bits.c (do_part): Add a const here.
|
||||||
|
|
||||||
|
* gtk/gtkcolorsel.c:
|
||||||
|
* gtk/gtkimcontextsimple.c:
|
||||||
|
* gtk/gtkstyle.c: Mark constant data as const to give the compiler
|
||||||
|
a chance to put it in a readonly section. (#75754)
|
||||||
|
|
||||||
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
||||||
|
|
||||||
* modules/input/gtkimcontextxim.c:
|
* modules/input/gtkimcontextxim.c:
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2002-11-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/theme-bits/decompose-bits.c (do_part): Add a const here.
|
||||||
|
|
||||||
|
* gtk/gtkcolorsel.c:
|
||||||
|
* gtk/gtkimcontextsimple.c:
|
||||||
|
* gtk/gtkstyle.c: Mark constant data as const to give the compiler
|
||||||
|
a chance to put it in a readonly section. (#75754)
|
||||||
|
|
||||||
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
||||||
|
|
||||||
* modules/input/gtkimcontextxim.c:
|
* modules/input/gtkimcontextxim.c:
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
2002-11-13 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gtk/theme-bits/decompose-bits.c (do_part): Add a const here.
|
||||||
|
|
||||||
|
* gtk/gtkcolorsel.c:
|
||||||
|
* gtk/gtkimcontextsimple.c:
|
||||||
|
* gtk/gtkstyle.c: Mark constant data as const to give the compiler
|
||||||
|
a chance to put it in a readonly section. (#75754)
|
||||||
|
|
||||||
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
Wed Nov 13 10:53:37 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
|
||||||
|
|
||||||
* modules/input/gtkimcontextxim.c:
|
* modules/input/gtkimcontextxim.c:
|
||||||
|
@ -185,14 +185,14 @@ static GtkColorSelectionChangePaletteWithScreenFunc change_palette_hook = defaul
|
|||||||
#define DROPPER_Y_HOT 16
|
#define DROPPER_Y_HOT 16
|
||||||
|
|
||||||
|
|
||||||
static guchar dropper_bits[] = {
|
static const guchar dropper_bits[] = {
|
||||||
0xff, 0x8f, 0x01, 0xff, 0x77, 0x01, 0xff, 0xfb, 0x00, 0xff, 0xf8, 0x00,
|
0xff, 0x8f, 0x01, 0xff, 0x77, 0x01, 0xff, 0xfb, 0x00, 0xff, 0xf8, 0x00,
|
||||||
0x7f, 0xff, 0x00, 0xff, 0x7e, 0x01, 0xff, 0x9d, 0x01, 0xff, 0xd8, 0x01,
|
0x7f, 0xff, 0x00, 0xff, 0x7e, 0x01, 0xff, 0x9d, 0x01, 0xff, 0xd8, 0x01,
|
||||||
0x7f, 0xd4, 0x01, 0x3f, 0xee, 0x01, 0x1f, 0xff, 0x01, 0x8f, 0xff, 0x01,
|
0x7f, 0xd4, 0x01, 0x3f, 0xee, 0x01, 0x1f, 0xff, 0x01, 0x8f, 0xff, 0x01,
|
||||||
0xc7, 0xff, 0x01, 0xe3, 0xff, 0x01, 0xf3, 0xff, 0x01, 0xfd, 0xff, 0x01,
|
0xc7, 0xff, 0x01, 0xe3, 0xff, 0x01, 0xf3, 0xff, 0x01, 0xfd, 0xff, 0x01,
|
||||||
0xff, 0xff, 0x01, };
|
0xff, 0xff, 0x01, };
|
||||||
|
|
||||||
static guchar dropper_mask[] = {
|
static const guchar dropper_mask[] = {
|
||||||
0x00, 0x70, 0x00, 0x00, 0xf8, 0x00, 0x00, 0xfc, 0x01, 0x00, 0xff, 0x01,
|
0x00, 0x70, 0x00, 0x00, 0xf8, 0x00, 0x00, 0xfc, 0x01, 0x00, 0xff, 0x01,
|
||||||
0x80, 0xff, 0x01, 0x00, 0xff, 0x00, 0x00, 0x7f, 0x00, 0x80, 0x3f, 0x00,
|
0x80, 0xff, 0x01, 0x00, 0xff, 0x00, 0x00, 0x7f, 0x00, 0x80, 0x3f, 0x00,
|
||||||
0xc0, 0x3f, 0x00, 0xe0, 0x13, 0x00, 0xf0, 0x01, 0x00, 0xf8, 0x00, 0x00,
|
0xc0, 0x3f, 0x00, 0xe0, 0x13, 0x00, 0xf0, 0x01, 0x00, 0xf8, 0x00, 0x00,
|
||||||
|
@ -27,7 +27,7 @@ typedef struct _GtkComposeTable GtkComposeTable;
|
|||||||
|
|
||||||
struct _GtkComposeTable
|
struct _GtkComposeTable
|
||||||
{
|
{
|
||||||
guint16 *data;
|
const guint16 *data;
|
||||||
gint max_seq_len;
|
gint max_seq_len;
|
||||||
gint n_seqs;
|
gint n_seqs;
|
||||||
};
|
};
|
||||||
@ -55,7 +55,7 @@ struct _GtkComposeTable
|
|||||||
* that depend on the locale or selected input method.
|
* that depend on the locale or selected input method.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static guint16 gtk_compose_seqs[] = {
|
static const guint16 gtk_compose_seqs[] = {
|
||||||
GDK_dead_grave, GDK_space, 0, 0, 0, 0x0060, /* GRAVE_ACCENT */
|
GDK_dead_grave, GDK_space, 0, 0, 0, 0x0060, /* GRAVE_ACCENT */
|
||||||
GDK_dead_grave, GDK_A, 0, 0, 0, 0x00C0, /* LATIN_CAPITAL_LETTER_A_WITH_GRAVE */
|
GDK_dead_grave, GDK_A, 0, 0, 0, 0x00C0, /* LATIN_CAPITAL_LETTER_A_WITH_GRAVE */
|
||||||
GDK_dead_grave, GDK_E, 0, 0, 0, 0x00C8, /* LATIN_CAPITAL_LETTER_E_WITH_GRAVE */
|
GDK_dead_grave, GDK_E, 0, 0, 0, 0x00C8, /* LATIN_CAPITAL_LETTER_E_WITH_GRAVE */
|
||||||
@ -832,7 +832,7 @@ static const GtkComposeTable gtk_compose_table = {
|
|||||||
G_N_ELEMENTS (gtk_compose_seqs) / 6
|
G_N_ELEMENTS (gtk_compose_seqs) / 6
|
||||||
};
|
};
|
||||||
|
|
||||||
guint16 gtk_compose_ignore[] = {
|
static const guint16 gtk_compose_ignore[] = {
|
||||||
GDK_Shift_L,
|
GDK_Shift_L,
|
||||||
GDK_Shift_R,
|
GDK_Shift_R,
|
||||||
GDK_Control_L,
|
GDK_Control_L,
|
||||||
|
@ -344,39 +344,39 @@ typedef enum {
|
|||||||
/*
|
/*
|
||||||
* Extracted from check-13.png, width=13, height=13
|
* Extracted from check-13.png, width=13, height=13
|
||||||
*/
|
*/
|
||||||
static guchar check_black_bits[] = {
|
static const guchar check_black_bits[] = {
|
||||||
0x00,0x00,0xfe,0x0f,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,
|
0x00,0x00,0xfe,0x0f,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,
|
||||||
0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00};
|
0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x00,0x00,0x00,0x00};
|
||||||
static guchar check_dark_bits[] = {
|
static const guchar check_dark_bits[] = {
|
||||||
0xff,0x1f,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,
|
0xff,0x1f,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,
|
||||||
0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x00,0x00};
|
0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x01,0x00,0x00,0x00};
|
||||||
static guchar check_mid_bits[] = {
|
static const guchar check_mid_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,
|
0x00,0x00,0x00,0x00,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,
|
||||||
0x08,0x00,0x08,0x00,0x08,0x00,0x08,0xfc,0x0f,0x00,0x00,0x00,0x00};
|
0x08,0x00,0x08,0x00,0x08,0x00,0x08,0xfc,0x0f,0x00,0x00,0x00,0x00};
|
||||||
static guchar check_light_bits[] = {
|
static const guchar check_light_bits[] = {
|
||||||
0x00,0x00,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,
|
0x00,0x00,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,
|
||||||
0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0xfe,0x1f,0x00,0x00};
|
0x10,0x00,0x10,0x00,0x10,0x00,0x10,0x00,0x10,0xfe,0x1f,0x00,0x00};
|
||||||
static guchar check_text_bits[] = {
|
static const guchar check_text_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x03,0x80,0x01,0x80,0x00,0x58,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x00,0x03,0x80,0x01,0x80,0x00,0x58,
|
||||||
0x00,0x60,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x00,0x60,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
static guchar check_aa_bits[] = {
|
static const guchar check_aa_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x58,0x00,0xa0,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x00,0x58,0x00,0xa0,
|
||||||
0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
static guchar check_base_bits[] = {
|
static const guchar check_base_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0xfc,0x07,0xfc,0x07,0xfc,0x07,0xfc,0x07,0xfc,0x07,0xfc,
|
0x00,0x00,0x00,0x00,0xfc,0x07,0xfc,0x07,0xfc,0x07,0xfc,0x07,0xfc,0x07,0xfc,
|
||||||
0x07,0xfc,0x07,0xfc,0x07,0xfc,0x07,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x07,0xfc,0x07,0xfc,0x07,0xfc,0x07,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extracted from check-13-inconsistent.png, width=13, height=13
|
* Extracted from check-13-inconsistent.png, width=13, height=13
|
||||||
*/
|
*/
|
||||||
static guchar check_inconsistent_text_bits[] = {
|
static const guchar check_inconsistent_text_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0x03,0xf8,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0x03,0xf8,
|
||||||
0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
#if 0
|
#if 0
|
||||||
/*
|
/*
|
||||||
* check_inconsistent_aa_bits is currently not used, since it is all zeros.
|
* check_inconsistent_aa_bits is currently not used, since it is all zeros.
|
||||||
*/
|
*/
|
||||||
static guchar check_inconsistent_aa_bits[] = {
|
static const guchar check_inconsistent_aa_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
#endif
|
#endif
|
||||||
@ -384,45 +384,45 @@ static guchar check_inconsistent_aa_bits[] = {
|
|||||||
/*
|
/*
|
||||||
* Extracted from radio-13.png, width=13, height=13
|
* Extracted from radio-13.png, width=13, height=13
|
||||||
*/
|
*/
|
||||||
static guchar radio_black_bits[] = {
|
static const guchar radio_black_bits[] = {
|
||||||
0x00,0x00,0xf0,0x01,0x0c,0x02,0x04,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,
|
0x00,0x00,0xf0,0x01,0x0c,0x02,0x04,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,
|
||||||
0x00,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x08};
|
0x00,0x02,0x00,0x04,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0d,0x08};
|
||||||
static guchar radio_dark_bits[] = {
|
static const guchar radio_dark_bits[] = {
|
||||||
0xf0,0x00,0x0c,0x02,0x02,0x04,0x02,0x04,0x01,0x08,0x01,0x08,0x01,0x08,0x01,
|
0xf0,0x00,0x0c,0x02,0x02,0x04,0x02,0x04,0x01,0x08,0x01,0x08,0x01,0x08,0x01,
|
||||||
0x08,0x00,0x08,0x02,0x04,0x0c,0x06,0xf0,0x01,0x00,0x00,0x00,0x00};
|
0x08,0x00,0x08,0x02,0x04,0x0c,0x06,0xf0,0x01,0x00,0x00,0x00,0x00};
|
||||||
static guchar radio_mid_bits[] = {
|
static const guchar radio_mid_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
static guchar radio_light_bits[] = {
|
static const guchar radio_light_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x10,0x00,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x00,0x10,0x00,
|
||||||
0x10,0x00,0x10,0x00,0x08,0x00,0x08,0x00,0x06,0xe0,0x01,0x00,0x00};
|
0x10,0x00,0x10,0x00,0x08,0x00,0x08,0x00,0x06,0xe0,0x01,0x00,0x00};
|
||||||
static guchar radio_text_bits[] = {
|
static const guchar radio_text_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x00,0xf0,0x01,0xf0,0x01,0xf0,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x00,0xf0,0x01,0xf0,0x01,0xf0,
|
||||||
0x01,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x01,0xe0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
#if 0
|
#if 0
|
||||||
/*
|
/*
|
||||||
* radio_aa_bits is currently not used, since it is all zeros.
|
* radio_aa_bits is currently not used, since it is all zeros.
|
||||||
*/
|
*/
|
||||||
static guchar radio_aa_bits[] = {
|
static const guchar radio_aa_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
#endif
|
#endif
|
||||||
static guchar radio_base_bits[] = {
|
static const guchar radio_base_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0xf0,0x01,0xf8,0x03,0xfc,0x07,0xfc,0x07,0xfc,0x07,0xfc,
|
0x00,0x00,0x00,0x00,0xf0,0x01,0xf8,0x03,0xfc,0x07,0xfc,0x07,0xfc,0x07,0xfc,
|
||||||
0x07,0xfc,0x07,0xf8,0x03,0xf0,0x01,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x07,0xfc,0x07,0xf8,0x03,0xf0,0x01,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Extracted from radio-13.png, width=13, height=13
|
* Extracted from radio-13.png, width=13, height=13
|
||||||
*/
|
*/
|
||||||
static guchar radio_inconsistent_text_bits[] = {
|
static const guchar radio_inconsistent_text_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0x03,0x00,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0x03,0x00,
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
static guchar radio_inconsistent_aa_bits[] = {
|
static const guchar radio_inconsistent_aa_bits[] = {
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0x03,0x00,0x00,0xf8,
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xf8,0x03,0x00,0x00,0xf8,
|
||||||
0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
|
||||||
|
|
||||||
static struct {
|
static struct {
|
||||||
guchar *bits;
|
const guchar *bits;
|
||||||
GList *bmap_list; /* list of GdkBitmap */
|
GList *bmap_list; /* list of GdkBitmap */
|
||||||
} indicator_parts[] = {
|
} indicator_parts[] = {
|
||||||
{ check_aa_bits, NULL },
|
{ check_aa_bits, NULL },
|
||||||
|
@ -46,7 +46,7 @@ do_part (GdkPixbuf *pixbuf,
|
|||||||
color3 = pixels + part3_index * n_channels;
|
color3 = pixels + part3_index * n_channels;
|
||||||
pixels += rowstride;
|
pixels += rowstride;
|
||||||
|
|
||||||
printf ("static guchar %s_%s_bits[] = {\n", base_name, part_name);
|
printf ("static const guchar %s_%s_bits[] = {\n", base_name, part_name);
|
||||||
printf (" ");
|
printf (" ");
|
||||||
|
|
||||||
while (height--)
|
while (height--)
|
||||||
|
Loading…
Reference in New Issue
Block a user