mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
69a848e018
commit
82f9e73aba
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user