forked from AuroraMiddleware/gtk
Fix some signed/unsigned warnings. (#85863, David L. Cooper II)
Fri Sep 27 17:23:31 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkcolorsel.c: Fix some signed/unsigned warnings. (#85863, David L. Cooper II)
This commit is contained in:
parent
f3f02c0e1e
commit
afecb32dbc
@ -1,3 +1,8 @@
|
||||
Fri Sep 27 17:23:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
|
||||
(#85863, David L. Cooper II)
|
||||
|
||||
Fri Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c : Replaced instances where strlen (label->label) is
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 27 17:23:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
|
||||
(#85863, David L. Cooper II)
|
||||
|
||||
Fri Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c : Replaced instances where strlen (label->label) is
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 27 17:23:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
|
||||
(#85863, David L. Cooper II)
|
||||
|
||||
Fri Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c : Replaced instances where strlen (label->label) is
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 27 17:23:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
|
||||
(#85863, David L. Cooper II)
|
||||
|
||||
Fri Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c : Replaced instances where strlen (label->label) is
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 27 17:23:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
|
||||
(#85863, David L. Cooper II)
|
||||
|
||||
Fri Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c : Replaced instances where strlen (label->label) is
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Sep 27 17:23:31 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkcolorsel.c: Fix some signed/unsigned warnings.
|
||||
(#85863, David L. Cooper II)
|
||||
|
||||
Fri Sep 27 16:23:49 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c : Replaced instances where strlen (label->label) is
|
||||
|
@ -190,14 +190,14 @@ static GtkColorSelectionChangePaletteWithScreenFunc change_palette_hook = defaul
|
||||
#define DROPPER_Y_HOT 16
|
||||
|
||||
|
||||
static char dropper_bits[] = {
|
||||
static guchar dropper_bits[] = {
|
||||
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, 0xd4, 0x01, 0x3f, 0xee, 0x01, 0x1f, 0xff, 0x01, 0x8f, 0xff, 0x01,
|
||||
0xc7, 0xff, 0x01, 0xe3, 0xff, 0x01, 0xf3, 0xff, 0x01, 0xfd, 0xff, 0x01,
|
||||
0xff, 0xff, 0x01, };
|
||||
|
||||
static char dropper_mask[] = {
|
||||
static guchar dropper_mask[] = {
|
||||
0x00, 0x70, 0x00, 0x00, 0xf8, 0x00, 0x00, 0xfc, 0x01, 0x00, 0xff, 0x01,
|
||||
0x80, 0xff, 0x01, 0x00, 0xff, 0x00, 0x00, 0x7f, 0x00, 0x80, 0x3f, 0x00,
|
||||
0xc0, 0x3f, 0x00, 0xe0, 0x13, 0x00, 0xf0, 0x01, 0x00, 0xf8, 0x00, 0x00,
|
||||
@ -638,7 +638,7 @@ get_focus_gc (GtkWidget *drawing_area,
|
||||
GDK_CAP_BUTT, GDK_JOIN_MITER);
|
||||
|
||||
if (dash_list[0])
|
||||
gdk_gc_set_dashes (gc, 0, dash_list, strlen (dash_list));
|
||||
gdk_gc_set_dashes (gc, 0, dash_list, strlen ((char *)dash_list));
|
||||
|
||||
g_free (dash_list);
|
||||
|
||||
@ -1121,11 +1121,11 @@ make_picker_cursor (GdkScreen *screen)
|
||||
|
||||
GdkPixmap *pixmap =
|
||||
gdk_bitmap_create_from_data (gdk_screen_get_root_window (screen),
|
||||
dropper_bits, DROPPER_WIDTH, DROPPER_HEIGHT);
|
||||
(gchar *)dropper_bits, DROPPER_WIDTH, DROPPER_HEIGHT);
|
||||
|
||||
GdkPixmap *mask =
|
||||
gdk_bitmap_create_from_data (gdk_screen_get_root_window (screen),
|
||||
dropper_mask, DROPPER_WIDTH, DROPPER_HEIGHT);
|
||||
(gchar *)dropper_mask, DROPPER_WIDTH, DROPPER_HEIGHT);
|
||||
|
||||
|
||||
gdk_color_white (gdk_screen_get_system_colormap (screen), &bg);
|
||||
|
Loading…
Reference in New Issue
Block a user