diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-01-25 22:22:02 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-01-25 22:22:02 +0000 |
commit | b71ec9fc70b9b64af1a70c73f4b9b9c70f389b54 (patch) | |
tree | 335f3a8cca7feac83337f19a15cb7eab6f28edc6 /src/gui_gtk_x11.c | |
parent | 7df2d6629f7cfb05e33a1e27cd7fda943afbbba9 (diff) | |
download | vim-git-b71ec9fc70b9b64af1a70c73f4b9b9c70f389b54.tar.gz |
updated for version 7.0044
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r-- | src/gui_gtk_x11.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c index 518a4b1f8..20ad58700 100644 --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -2969,7 +2969,9 @@ gui_mch_init(void) gui.border_width = 2; gui.scrollbar_width = SB_DEFAULT_WIDTH; gui.scrollbar_height = SB_DEFAULT_WIDTH; + /* LINTED: avoid warning: conversion to 'unsigned long' */ gui.fgcolor = g_new0(GdkColor, 1); + /* LINTED: avoid warning: conversion to 'unsigned long' */ gui.bgcolor = g_new0(GdkColor, 1); /* Initialise atoms */ @@ -4078,6 +4080,7 @@ gui_mch_adjust_charsize(void) gui.char_height = (ascent + descent + PANGO_SCALE - 1) / PANGO_SCALE + p_linespace; + /* LINTED: avoid warning: bitwise operation on signed value */ gui.char_ascent = PANGO_PIXELS(ascent + p_linespace * PANGO_SCALE / 2); #else /* !HAVE_GTK2 */ @@ -6350,9 +6353,9 @@ mch_set_mouse_shape(int shape) id = mshape_ids[shape]; # ifdef HAVE_GTK_MULTIHEAD c = gdk_cursor_new_for_display( - gtk_widget_get_display(gui.drawarea), id); + gtk_widget_get_display(gui.drawarea), (GdkCursorType)id); # else - c = gdk_cursor_new(id); + c = gdk_cursor_new((GdkCursorType)id); # endif gdk_window_set_cursor(gui.drawarea->window, c); gdk_cursor_destroy(c); /* Unref, actually. Bloody GTK+ 1. */ |