Benjamin Otte
88399c041c
x11: Remove GdkDrawableImplX11
...
It's not use anymore, the whole functionality has been moved to
GdkWindowImplX11.
2010-12-02 20:17:27 +01:00
Benjamin Otte
3e6a4af6d3
x11: _gdk_x11_drawable_update_size() => _gdk_x11_window_update_size()
2010-12-02 20:17:27 +01:00
Benjamin Otte
bb79506665
x11: Move cairo_surface and wrapper members to GdkWindowImplX11 struct
2010-12-02 20:17:27 +01:00
Benjamin Otte
1c7f58fdb6
x11: Move xid member from GdkDrawableImplX11 to GdkWindowImplX11
2010-12-02 20:17:27 +01:00
Benjamin Otte
a3c5005eef
x11: Use GDK_WINDOW_XID() instead of writing it out
2010-12-02 20:17:27 +01:00
Benjamin Otte
094b0eeb98
x11: Remove screen member from GdkDrawableImplX11
2010-12-02 20:17:27 +01:00
Benjamin Otte
5f12730599
x11: Get display from window, not from impl-drawable's screen
2010-12-02 20:17:27 +01:00
Benjamin Otte
cfa67127a1
x11: Get display from window, not from impl-drawable's screen
2010-12-02 20:17:27 +01:00
Benjamin Otte
dc7d8dae67
x11: Change GDK_WINDOW_SCREEN macro
...
on't look at GdkDrawableImplX11->screen, but call
gdk_window_get_screen() instead.
2010-12-02 20:17:27 +01:00
Benjamin Otte
5139eecc75
API: x11: Remove GDK_DRAWABLE_XID and GDK_DRAWABLE_XDISPLAY
...
Window equivalents exist and drawables are on their way out.
2010-12-02 20:17:27 +01:00
Benjamin Otte
3b8aea389d
x11: Use window macros instead of drawable macros
...
GDK_WINDOW_XID() instead of GDK_DRAWABLE_XID()
GDK_WINDOW_XDISPLAY() instead of GDK_DRAWABLE_XDISPLAY()
2010-12-02 20:17:27 +01:00
Benjamin Otte
91679c384a
API: Remove gdk_x11_drawable_get_xdisplay()
...
No need for the function. Macros exist to do the same thing.
2010-12-02 20:17:27 +01:00
Benjamin Otte
0841281b55
x11: Use window macros in test code
2010-12-02 20:17:27 +01:00
Benjamin Otte
3af4432c6f
API: x11: Remove gdk_x11_window_get_drawable_impl()
...
It's not used anymore
2010-12-02 20:17:27 +01:00
Benjamin Otte
deffc9e39f
API: x11: Change GDK_WINDOW_XDISPLAY() macro
...
Instead of lots of magic, we can go the usual way of requesting the
XDisplay of the window's display. So we do that.
2010-12-02 20:17:27 +01:00
Benjamin Otte
cf51750bf4
API: x11: gdk_drawable_get_xid => gdk_window_get_xid
...
Also moves the function implementations to gtkwindow-x11.c.
2010-12-02 20:17:27 +01:00
Matthias Clasen
670dfdb7cc
Re-add some conditionals to symbols files
...
We need to keep the ifdefs for platform abi differences.
2010-11-29 12:47:44 -05:00
Matthias Clasen
a562646678
Add gdk_device_get_n_keys to symbol list
2010-11-29 11:49:11 -05:00
Emmanuele Bassi
1779ae79a1
rgba: Invert the arguments and improve bindability
...
Since parse() is a method of the Gdk.RGBA class, the GdkRGBA pointer
should be the first argument, and the string the second one, to allow a
more natural binding.
https://bugzilla.gnome.org/show_bug.cgi?id=635879
2010-11-28 19:01:51 +00:00
Matthias Clasen
b0bf2b5202
Avoid delays in starting applications
...
Only query file info once, and don't do it for non-native files, since
that may cause sync network IO.
Bug http://bugzilla.gnome.org/show_bug.cgi?id=635588
2010-11-27 23:12:09 -05:00
Milan Bouchet-Valat
2e3935ba9d
Fix missing (transfer) annotations in GDK
...
Mostly missing (transfer none).
2010-11-24 21:37:20 +01:00
Michael Natterer
aaf8530177
gdk: remove GdkDeviceKey and GdkDeviceAxis from the public API
...
move GdkDeviceKey to gdkdevice.c because it's still used there, remove
GdkDeviceAxis entirely.
2010-11-24 20:28:19 +01:00
Michael Natterer
bdf18500ec
gdk: gdk_device_get_n_keys() is now Since: 2.24
2010-11-24 20:16:25 +01:00
Benjamin Otte
fd96b16c15
gdk: Remove unused macros from build
...
Both ALL_FILES and INCLUDE_VARIABLES don't exist anymore
2010-11-24 16:18:46 +01:00
Benjamin Otte
cca530070e
gdk: Clean up gdk.symbols file
...
Remove all the macro madness and sort it alphabetically.
2010-11-24 16:15:47 +01:00
Tor Lillqvist
290ecb0aba
Fix compilation breakage in gdk/win32
2010-11-24 14:26:53 +02:00
John Ralls
c0aae6644a
Replace references to sealed GdkDevice private variables with accessor calls in quartz.
2010-11-23 16:53:45 -08:00
Michael Natterer
fb5dd9f72f
Move all GdkDevice members to private and add one missing accessor
2010-11-23 20:25:13 +01:00
William Jon McCann
323df2b280
Make gdk_event_apply_filters safe against changes in filter list
...
An event filter may add or remove filters itself. This patch does
two things to address this case. The first is to take a temporary
reference to the filter while it is being used. The second is
to wait until after the filter function is run before determining
the next node in the list to process. This guards against
changes to the next node. It also does not run functions
that have been marked as removed. Though I'm not sure if this
case can arise.
https://bugzilla.gnome.org/show_bug.cgi?id=635380
2010-11-22 13:16:24 -05:00
Owen W. Taylor
a4d59f7415
Create the icon pixmap with the system visual
...
Since what we are doing is turning an icon with alpha into a
no-alpha icon + mask for legacy window managers, it makes more sense
to use the system visual than the window's visual, which might
be ARGB.
https://bugzilla.gnome.org/show_bug.cgi?id=634821
2010-11-19 09:29:43 -05:00
Javier Jardón
b204995c6d
docs: Move documentation to inline comments: event_structs
...
All the GDK documentation is now moved to inline comments
2010-11-15 21:08:11 +01:00
Javier Jardón
e2cfecf813
docs: Move documentation to inline comments: x_interaction
2010-11-15 21:06:35 +01:00
Javier Jardón
a384b35bb5
docs: Move documentation to inline comments: drawing
2010-11-15 21:06:35 +01:00
Javier Jardón
b63800bd33
docs: Move documentation to inline comments: gdkthreads
2010-11-15 21:06:35 +01:00
Javier Jardón
4400f997a8
docs: Move documentation to inline comments: gdkevents
2010-11-15 21:06:35 +01:00
Javier Jardón
d2915ed9d1
docs: Move documentation to inline comments: properties
2010-11-15 21:06:34 +01:00
Javier Jardón
2f06ec02be
docs: Move documentation to inline comments: gdkselection
2010-11-15 18:24:31 +01:00
Javier Jardón
6bfdecef7a
docs: Move documentation to inline comments: gdkvisual
2010-11-15 18:24:31 +01:00
Javier Jardón
9a8fcfa65a
docs: Move documentation to inline comments: gdkpango
2010-11-15 18:24:31 +01:00
Javier Jardón
cc13047315
docs: Move documentation to inline comments: gdkcursor
2010-11-15 18:24:31 +01:00
Bastien Nocera
157ec27a9a
gdk: Add big fat warning about updating XSettings
...
There's a tool to see if we forgot to update the gdk_settings_map
array, or got the offsets wrong. Mention those above the XSettings
list.
2010-11-15 17:15:19 +00:00
Bastien Nocera
6b23787d5a
gdk: Update gdk_settings_map for blink timeout to work
...
gdk_settings_map needs to be updated when gdk_settings_names is changed,
and it's easier to add the setting at the end, so we don't need to
recalculate everything.
Really fixing:
https://bugzilla.gnome.org/show_bug.cgi?id=634697
2010-11-15 17:15:19 +00:00
Javier Jardón
9677dc0b60
docs: gdkrgba: Add "Since: 3.0" tags
2010-11-15 06:04:06 +01:00
Javier Jardón
1268c17983
docs: Move documentation to inline comments: general
2010-11-15 05:35:40 +01:00
Javier Jardón
2cd0302e64
docs: Move documentation to inline comments: gdkkeys
2010-11-15 05:19:33 +01:00
Javier Jardón
44ff1d86b4
docs: move documentation to inline comments: gdktesting
2010-11-15 04:12:57 +01:00
Javier Jardón
5f89dea7f1
docs: Move documentation to inline comments: gdkscreen
2010-11-15 04:12:57 +01:00
Javier Jardón
133dfe55f3
docs: Move documentation to inline comments: gdkdisplaymanager
2010-11-15 04:12:57 +01:00
Javier Jardón
ca480f3771
docs: Move documentation to inline comments: gdkdisplay
2010-11-15 03:37:21 +01:00
Javier Jardón
8ca6882e88
docs: Move documentation to inline comments: gdkapplaunchcontext
2010-11-15 03:18:45 +01:00