summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-08-05 18:52:28 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-08-05 18:52:28 +0000
commit090a1ac1cb4a6f4e1e1a578c573d2a82179461c3 (patch)
treed1e30210967e4bbf6edf8658725d5f3617475194 /gtk/gtkdnd.c
parentd1696ea84f062bd741aaf39fcddb5126ebd38201 (diff)
downloadgtk+-090a1ac1cb4a6f4e1e1a578c573d2a82179461c3.tar.gz
Add a note that yes, we do know what () means and we can't change it.
Mon Aug 5 14:50:13 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtkitemfactory.h: Add a note that yes, we do know what () means and we can't change it. Fixes for warnings reported by David L. Cooper II * tests/testtext.c: Warning fixes. Fix order of arguments to gtk_message_dialog_new(). (#85891) * gtk/gtktreeitem.c (gtk_tree_item_paint): Fix incorrect use GTK_STATE_INSENSITIVE for a shadow type. (Not clear what the drawing intent was, but it's ENABLE_BROKEN anyways.) (#85880) * gtk/gtktexttypes.c: Use character literals instead of direct constants to avoid warning. (#85878) * gtk/theme-bits/decompose-bits.c gtk/gtkstyle.c: Fix some signed/unsigned problems (#85876) * gtk/gtksignal.c (gtk_signal_newv): Add an explicit cast from GtkSignalRunType to GSignalFlags. (#85875) * gtk/gtkitemfactory.c (gtk_item_factory_add_item): Fix use of guint instead of GdkModifierType (#85871) * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): Fix signed/unsigned problem (#85870) * gtk/gtkimcontext.c (gtk_im_context_class_init): Get rid of GtkType/Signal*. (Fixes #85869 as a side effect) * gtk/gtkdnd.c (gtk_drag_get_cursor): Fix some signed/unsigned warnings (#85865)
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index e11c07960a..2dc5daddff 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -341,8 +341,8 @@ static const guchar action_none_mask_bits[] = {
static struct {
GdkDragAction action;
- const char *bits;
- const char *mask;
+ const guchar *bits;
+ const guchar *mask;
GdkCursor *cursor;
} drag_cursors[] = {
{ GDK_ACTION_DEFAULT, 0 },
@@ -577,10 +577,10 @@ gtk_drag_get_cursor (GdkDisplay *display,
GdkWindow *window = gdk_screen_get_root_window (screen);
GdkPixmap *pixmap =
- gdk_bitmap_create_from_data (window, drag_cursors[i].bits, CURSOR_WIDTH, CURSOR_HEIGHT);
+ gdk_bitmap_create_from_data (window, (gchar *)drag_cursors[i].bits, CURSOR_WIDTH, CURSOR_HEIGHT);
GdkPixmap *mask =
- gdk_bitmap_create_from_data (window, drag_cursors[i].mask, CURSOR_WIDTH, CURSOR_HEIGHT);
+ gdk_bitmap_create_from_data (window, (gchar *)drag_cursors[i].mask, CURSOR_WIDTH, CURSOR_HEIGHT);
drag_cursors[i].cursor = gdk_cursor_new_from_pixmap (pixmap, mask, &fg, &bg, 0, 0);