Miscellaneous portability fixes.

-Yosh
This commit is contained in:
Manish Singh
1998-01-02 03:36:27 +00:00
parent 26c35927f7
commit 92610dafdb
13 changed files with 46 additions and 17 deletions

View File

@ -1,3 +1,7 @@
Thu Jan 1 19:43:45 PST 1998 Manish Singh <yosh@gimp.org>
* Miscellaneous portability fixes.
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx> Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values

View File

@ -1,3 +1,7 @@
Thu Jan 1 19:43:45 PST 1998 Manish Singh <yosh@gimp.org>
* Miscellaneous portability fixes.
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx> Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values

View File

@ -1,3 +1,7 @@
Thu Jan 1 19:43:45 PST 1998 Manish Singh <yosh@gimp.org>
* Miscellaneous portability fixes.
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx> Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values

View File

@ -1,3 +1,7 @@
Thu Jan 1 19:43:45 PST 1998 Manish Singh <yosh@gimp.org>
* Miscellaneous portability fixes.
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx> Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values

View File

@ -1,3 +1,7 @@
Thu Jan 1 19:43:45 PST 1998 Manish Singh <yosh@gimp.org>
* Miscellaneous portability fixes.
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx> Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values

View File

@ -1,3 +1,7 @@
Thu Jan 1 19:43:45 PST 1998 Manish Singh <yosh@gimp.org>
* Miscellaneous portability fixes.
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx> Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values

View File

@ -1,3 +1,7 @@
Thu Jan 1 19:43:45 PST 1998 Manish Singh <yosh@gimp.org>
* Miscellaneous portability fixes.
Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx> Mon Dec 29 22:05:45 1997 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values * gdk/gdkgc.c (gdk_gc_copy): New function, used to copy the values

View File

@ -218,10 +218,10 @@ gdk_pixmap_seek_char (FILE *infile,
gint gint
gdk_pixmap_read_string (FILE *infile, gdk_pixmap_read_string (FILE *infile,
gchar **buffer, gchar **buffer,
int *buffer_size) guint *buffer_size)
{ {
gchar c; gchar c;
gint cnt = 0; guint cnt = 0;
if ((*buffer) == NULL) if ((*buffer) == NULL)
{ {

View File

@ -60,8 +60,8 @@ struct _GdkWindowPrivate
guint8 resize_count; guint8 resize_count;
guint8 ref_count; guint8 ref_count;
guint8 window_type; guint8 window_type;
guint8 destroyed : 2; guint destroyed : 2;
guint8 dnd_drag_enabled : 1, guint dnd_drag_enabled : 1,
dnd_drag_datashow : 1, dnd_drag_datashow : 1,
dnd_drag_destructive_op : 1, dnd_drag_destructive_op : 1,
dnd_drag_accepted : 1, dnd_drag_accepted : 1,

View File

@ -218,10 +218,10 @@ gdk_pixmap_seek_char (FILE *infile,
gint gint
gdk_pixmap_read_string (FILE *infile, gdk_pixmap_read_string (FILE *infile,
gchar **buffer, gchar **buffer,
int *buffer_size) guint *buffer_size)
{ {
gchar c; gchar c;
gint cnt = 0; guint cnt = 0;
if ((*buffer) == NULL) if ((*buffer) == NULL)
{ {

View File

@ -42,7 +42,7 @@ static GMemChunk *array_mem_chunk = NULL;
GArray* GArray*
g_array_new (zero_terminated) g_array_new (gint zero_terminated)
{ {
GRealArray *array; GRealArray *array;

View File

@ -18,6 +18,7 @@
#include <signal.h> #include <signal.h>
#include <stdarg.h> #include <stdarg.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/times.h> #include <sys/times.h>
#include <sys/types.h> #include <sys/types.h>

View File

@ -43,16 +43,16 @@ struct _GtkEntry
GdkWindow *text_area; GdkWindow *text_area;
gchar *text; gchar *text;
guint16 text_size; guint16 text_size;
guint16 text_length; guint16 text_length;
gint16 current_pos; gint16 current_pos;
gint16 selection_start_pos; gint16 selection_start_pos;
gint16 selection_end_pos; gint16 selection_end_pos;
gint16 scroll_offset; gint16 scroll_offset;
gboolean have_selection : 1; guint have_selection : 1;
gboolean visible : 1; guint visible : 1;
guint32 timer; guint32 timer;
GdkIC ic; GdkIC ic;
gchar *clipboard_text; gchar *clipboard_text;
}; };