Kristian Rietveld
88cae1769b
Rework color translation to support gray scale and bitmaps
...
(cherry picked from commit 49f72c1fb4
)
2010-06-27 10:59:46 +02:00
Kristian Rietveld
18b233fe2a
Add gray visual, implement "get_best" functions
...
(cherry picked from commit 42d07ad6ce
)
2010-06-27 10:59:11 +02:00
Matthias Clasen
8a590711da
Remove stray references to gtk-2.0
2010-06-26 21:40:55 -04:00
Matthias Clasen
53796b7f1f
Add an accessor for GdkImage->mem
...
See bug # 522756
2010-06-26 16:48:06 -04:00
Matthias Clasen
16ecf55832
Make GTK+ use an external gdk-pixbuf
2010-06-26 01:09:05 -04:00
John Ralls
d722adb76a
[quartz] Delete the typedef of GdkDevicePrivate
...
It's in gdkdevice.h now.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622765
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-26 00:23:32 +02:00
Colin Walters
d986066cb5
Add --add-include-path to find just-built .gir files
2010-06-25 12:14:12 -04:00
Javier Jardón
947cde30d9
Remove gdk_draw_bitmap() and gdk_draw_pixmap() functions
2010-06-25 02:32:44 +02:00
Javier Jardón
d35e4848a2
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
2010-06-24 18:10:03 +02:00
Carlos Garnacho
6cde835acd
GdkDeviceManager: Add gdk_device_manager_get_client_pointer().
...
This function makes a better replacement for
gdk_display_get_core_pointer(), wherever it might yet be needed, for
XI2 resorts to XIGetClientPointer(), for the others return the only
core pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=621685
2010-06-24 02:30:53 +02:00
Javier Jardón
c6650bfa01
[gdkim] Remove unused function
2010-06-24 01:37:29 +02:00
Tor Lillqvist
adf1bbe28a
Generate correct grab broken event for WM_KILLFOCUS
...
WM_KILLFOCUS means that a keyboard grab (not a pointer grab), if any,
has been broken. I don't think this bug has matterd much as gtk
generates a grab-broken-event signal for both keybord and pointer
grabs being broken anyway.
2010-06-22 21:33:49 +03:00
Javier Jardón
d47e63856b
Do not distribute GIRs
2010-06-20 08:20:42 +02:00
Javier Jardón
f96be1ab10
[gdkpango] Fix typo
2010-06-20 01:14:17 +02:00
Javier Jardón
349f8c561d
Remove gdk_input_* callbacks on file descriptors deprecated functions
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619687
2010-06-20 00:46:38 +02:00
Javier Jardón
3c8a54b2f7
Remove GdkWChar deprecated code
2010-06-20 00:22:26 +02:00
Javier Jardón
ca046f0cfb
Remove deprecated gdk_text_* and gdk_string_* functions
...
Remove gdk_string_extents(), gdk_text_extents(),
gdk_text_extents_wc(), gdk_string_width(), gdk_text_width(),
gdk_text_width_wc(), gdk_string_measure(), gdk_text_measure(),
gdk_string_height(), gdk_text_height()
2010-06-20 00:22:26 +02:00
Javier Jardón
0de0914021
Remove gdk_char_* deprecated functions
...
Remove gdk_char_width(), gdk_char_width_wc(), gdk_char_measure()
and gdk_char_height()
2010-06-20 00:21:51 +02:00
Javier Jardón
4cf4470fcd
Remove deprecated GdkDrawable functions
...
Remove gdk_drawable_get_data(), gdk_drawable_set_data(),
gdk_drawable_ref(), gdk_drawable_unref(),
gdk_draw_string(), gdk_draw_text(), gdk_draw_text_wc()
2010-06-19 21:39:22 +02:00
Carlos Garnacho
cd76d995eb
gdk_event_get_device(): Fallback to core pointer/keyboard.
...
Events could be injected by third party code, which could not have a
GdkDevice set for newer GdkEvent types holding a GdkDevice. This
function will now fallback to core pointer/keyboard, plus issuing
a warning about the problem.
2010-06-15 21:06:11 +02:00
Carlos Garnacho
ed3198146c
GdkDeviceManagerXI2: Make focus events contain a GdkDevice.
2010-06-15 21:06:10 +02:00
Carlos Garnacho
07b1a2e081
GdkDeviceManagerCore: protect against xevent->xany.window not being a GdkWindow.
...
Conceivably this GdkEventTranslator may still be asked for events such as
NoExpose or GraphicsExpose for pixmaps. It is not meant to translate such events,
but should at least behave with them.
2010-06-15 21:06:10 +02:00
Javier Jardón
f62e000be4
Use a GPid on gdk_spawn_on_screen[_with_pipes]. Take 2
...
Really fixes
https://bugzilla.gnome.org/show_bug.cgi?id=602289
2010-06-15 17:16:43 +02:00
Martin Schlemmer
213994b565
win32: Avoid type warning for offscreen windows in xp theme
...
See bug #598299
2010-06-14 20:57:22 +02:00
Paolo Borelli
230f47224b
Fix the build broken in previous commit
2010-06-12 12:54:04 +02:00
Martin Schlemmer
4696e94138
win32: Fix the xp there to correctly clip when drawing
...
This makes the xp theme work again, and also enables it.
2010-06-11 20:20:07 +02:00
Cosimo Cecchi
4467145e43
Add a missing accessor for GdkDragContext->source_window.
2010-06-10 16:04:28 +02:00
Michael Natterer
61aa2af23d
gdk: fix typo in the docs for gdk_drag_context_get_selected_action()
...
(cherry picked from commit e494ec1d61
)
2010-06-10 13:16:25 +02:00
Javier Jardón
71c501d895
Use a GPid on gdk_spawn_on_screen[_with_pipes] instead a gint
...
Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=602289
2010-06-10 03:52:35 +02:00
Tor Lillqvist
f772f3a1bb
Use correct libgdkincludedir in gdk/win32 too
...
Thanks to Hib Eris.
2010-06-09 12:34:01 +03:00
Javier Jardón
b618ca8923
[docs] Added some missing documentation to GdkDnd
...
The docs was removed by error in commit
9399114802
2010-06-09 06:39:02 +02:00
Matthias Clasen
59108b5d98
Move docs inline
2010-06-08 15:37:52 -04:00
Matthias Clasen
4bf5a171e2
Distcheck fixes
2010-06-08 15:37:52 -04:00
Richard Hughes
b32ef72ea5
Get one step closer to fixing the gobject-introspection compile failure
2010-06-08 14:07:46 +01:00
Steve Frécinaux
586d60dbee
[gdkevents] Add annotations for GdkEvent getters.
2010-06-08 00:00:28 +02:00
Tomeu Vizoso
42deb581f9
Split gdk x11 funcs to their own typelib
...
https://bugzilla.gnome.org/show_bug.cgi?id=617863
2010-06-07 14:06:21 +02:00
Matthias Clasen
7644ac519a
Fix up abi checking
...
The abicheck script was hardcoding assumptions about XI2 being used,
making it fail on e.g. RHEL5.
2010-06-07 06:16:21 -04:00
Javier Jardón
47f8beb0a6
Remove gdkx_colormap_get() deprecated function
2010-06-07 04:37:06 +02:00
Matthias Clasen
25864cf0ce
Make gdk build against old X headers
...
The XI.h in RHEL5 is missing some defines that are used
in the new device code.
2010-06-06 19:40:20 -04:00
Javier Jardón
2ace397eb5
Remove deprecatedd code from GdkColor
...
https://bugzilla.gnome.org/show_bug.cgi?id=619649
2010-06-07 00:35:40 +02:00
Matthias Clasen
db21688908
Remove remaining single-include guards
2010-06-04 19:40:43 -04:00
Matthias Clasen
9f873fa7bc
Don't install private headers
2010-06-04 19:28:01 -04:00
Colin Walters
95bc0f5405
Use g_source_set_name for all custom GSources in GTK+
...
Naming the sources allows easier debugging with e.g. SystemTap
probes.
https://bugzilla.gnome.org/show_bug.cgi?id=620511
2010-06-03 21:49:22 -04:00
Matthias Clasen
b96a05b81f
Silence a few warnings in !HAVE_RANDR builds
2010-06-03 20:24:54 -04:00
Michael Natterer
2b89d46a9a
app: forgot to update API docs in the last commit
...
(cherry picked from commit 22c61e0c8f
)
2010-06-02 21:12:40 +02:00
Michael Natterer
19236d68d9
gdk: rename gdk_drag_context_get_action() to gdk_drag_context_get_selected_action()
...
so its purpose is clear.
(cherry picked from commit d393cb377c
)
2010-06-02 20:45:31 +02:00
Cody Russell
8e142788a5
Bug 608218 - GtkOffscreenWindow causes bad window with GtkEntry
...
We now exit early from gdk_window_register_dnd() to avoid crashing if the
window type is GDK_WINDOW_OFFSCREEN and does not support dnd operations.
This makes it possible to use any dnd-enabled widgets, such as GtkEntry,
within a GtkOffscreenWindow.
2010-06-01 10:32:18 -05:00
Javier Jardón
d6bacafc52
[docs] Use the correct gtk-doc notation
...
Use 'Deprecated: 3.0:' intead 'Deprecated: 3.0.'
2010-05-27 15:37:19 +02:00
Christian Beier
95c824c553
gdk/gdkwindow.c: fix a typo in gdk_window_set_device_cursor().
...
Signed-off-by: Christian Beier <dontmind@freeshell.org>
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-05-26 15:42:10 +02:00
Javier Jardón
019563c322
Remove gdk_*et_use_xshm() deprecated functions
2010-05-26 05:18:05 +02:00