Commit 82f9e73a authored by Matthias Clasen's avatar Matthias Clasen

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.
parent 69a848e0
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)
......
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)
......
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)
......
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)
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment