Make sure this gets defined for all backends, so linux-fb has a chance of

* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
	this gets defined for all backends, so linux-fb has a
	chance of compiling.
This commit is contained in:
Matthias Clasen 2004-06-22 15:34:02 +00:00
parent 69a848e018
commit 82f9e73aba
5 changed files with 20 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2004-06-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
this gets defined for all backends, so linux-fb has a
chance of compiling.
* gdk/x11/gdkgc-x11.c:
* gdk/gdkgc.c: Move function docs inline, add hints about
obtaining rgb colors from gcs. (#144688, Steve Chaplin)

View File

@ -1,5 +1,9 @@
2004-06-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
this gets defined for all backends, so linux-fb has a
chance of compiling.
* gdk/x11/gdkgc-x11.c:
* gdk/gdkgc.c: Move function docs inline, add hints about
obtaining rgb colors from gcs. (#144688, Steve Chaplin)

View File

@ -1,5 +1,9 @@
2004-06-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
this gets defined for all backends, so linux-fb has a
chance of compiling.
* gdk/x11/gdkgc-x11.c:
* gdk/gdkgc.c: Move function docs inline, add hints about
obtaining rgb colors from gcs. (#144688, Steve Chaplin)

View File

@ -1,5 +1,9 @@
2004-06-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkselection.c (GTK_SELECTION_MAX_SIZE): Make sure
this gets defined for all backends, so linux-fb has a
chance of compiling.
* gdk/x11/gdkgc-x11.c:
* gdk/gdkgc.c: Move function docs inline, add hints about
obtaining rgb colors from gcs. (#144688, Steve Chaplin)

View File

@ -67,15 +67,15 @@
/* Maximum size of a sent chunk, in bytes. Also the default size of
our buffers */
#ifdef GDK_WINDOWING_WIN32
/* No chunks on Win32 */
#define GTK_SELECTION_MAX_SIZE(display) G_MAXINT
#else
#ifdef GDK_WINDOWING_X11
#define GTK_SELECTION_MAX_SIZE(display) \
MIN(262144, \
XExtendedMaxRequestSize (GDK_DISPLAY_XDISPLAY (display)) == 0 \
? XMaxRequestSize (GDK_DISPLAY_XDISPLAY (display)) - 100 \
: XExtendedMaxRequestSize (GDK_DISPLAY_XDISPLAY (display)) - 100)
#else
/* No chunks on Win32 */
#define GTK_SELECTION_MAX_SIZE(display) G_MAXINT
#endif
#define IDLE_ABORT_TIME 300