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:
@@ -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
|
||||
|
||||
@@ -185,14 +185,14 @@ static GdkColor current_colors[GTK_CUSTOM_PALETTE_WIDTH * GTK_CUSTOM_PALETTE_HEI
|
||||
#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,
|
||||
@@ -674,7 +674,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);
|
||||
|
||||
@@ -1095,11 +1095,11 @@ initialize_cursor (void)
|
||||
|
||||
GdkPixmap *pixmap =
|
||||
gdk_bitmap_create_from_data (NULL,
|
||||
dropper_bits,
|
||||
(gchar *)dropper_bits,
|
||||
DROPPER_WIDTH, DROPPER_HEIGHT);
|
||||
GdkPixmap *mask =
|
||||
gdk_bitmap_create_from_data (NULL,
|
||||
dropper_mask,
|
||||
(gchar *)dropper_mask,
|
||||
DROPPER_WIDTH, DROPPER_HEIGHT);
|
||||
|
||||
gdk_color_white (gdk_colormap_get_system (), &bg);
|
||||
|
||||
Reference in New Issue
Block a user