forked from AuroraMiddleware/gtk
Ugh, broken pipe.
2001-10-27 Anders Carlsson <andersca@gnu.org> * gdk/x11/gdkmain-x11.c: Replace int and guint with long and gulong in some places to make the code 64-bit clean. (_gdk_windowing_init_check): Replace gint with gulong. This patch was made by George Lebl and fixes bug #62113.
This commit is contained in:
parent
dcb9a6e16e
commit
2a8aab4f18
@ -115,7 +115,7 @@ _gdk_windowing_init_check (int argc, char **argv)
|
|||||||
{
|
{
|
||||||
XKeyboardState keyboard_state;
|
XKeyboardState keyboard_state;
|
||||||
XClassHint *class_hint;
|
XClassHint *class_hint;
|
||||||
guint pid;
|
gulong pid;
|
||||||
|
|
||||||
_gdk_x11_initialize_locale ();
|
_gdk_x11_initialize_locale ();
|
||||||
|
|
||||||
|
@ -337,7 +337,7 @@ gdk_window_new (GdkWindow *parent,
|
|||||||
unsigned int class;
|
unsigned int class;
|
||||||
char *title;
|
char *title;
|
||||||
int i;
|
int i;
|
||||||
int pid;
|
long pid;
|
||||||
|
|
||||||
g_return_val_if_fail (attributes != NULL, NULL);
|
g_return_val_if_fail (attributes != NULL, NULL);
|
||||||
|
|
||||||
@ -2763,9 +2763,9 @@ void
|
|||||||
gdk_window_set_icon_list (GdkWindow *window,
|
gdk_window_set_icon_list (GdkWindow *window,
|
||||||
GList *pixbufs)
|
GList *pixbufs)
|
||||||
{
|
{
|
||||||
guint *data;
|
gulong *data;
|
||||||
guchar *pixels;
|
guchar *pixels;
|
||||||
guint *p;
|
gulong *p;
|
||||||
gint size;
|
gint size;
|
||||||
GList *l;
|
GList *l;
|
||||||
GdkPixbuf *pixbuf;
|
GdkPixbuf *pixbuf;
|
||||||
@ -2794,7 +2794,7 @@ gdk_window_set_icon_list (GdkWindow *window,
|
|||||||
l = g_list_next (l);
|
l = g_list_next (l);
|
||||||
}
|
}
|
||||||
|
|
||||||
data = g_malloc (size*4);
|
data = g_malloc (size * sizeof (gulong));
|
||||||
|
|
||||||
l = pixbufs;
|
l = pixbufs;
|
||||||
p = data;
|
p = data;
|
||||||
|
Loading…
Reference in New Issue
Block a user