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
Matthias Clasen
473b7aa6a2
2.90.1
2010-05-25 22:57:46 -04:00
Matthias Clasen
cbab03df69
Fix up distcheck
2010-05-25 20:26:07 -04:00
Matthias Clasen
c7a48881c6
Documentation fixes
2010-05-25 19:27:42 -04:00
Matthias Clasen
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00
Matthias Clasen
50a72eda2d
Seal gdk
...
Add G_SEAL annotation for struct members, and add accessors for
the (useful) fields. Patch based on work by Garrett Regier,
see bug #592580 .
2010-05-25 12:01:04 -04:00
Tomeu Vizoso
14f7717770
Actually expose the X11 funcs through introspection
...
https://bugzilla.gnome.org/show_bug.cgi?id=617863
2010-05-24 15:27:44 +02:00
Javier Jardón
5917eba911
gdkevents-x11: Do not break strict-aliasing rules
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619385
2010-05-22 23:17:58 +02:00
Javier Jardón
7f89bf262b
gdkevents-x11.c: Remove unused function: graphics_expose_predicate()
2010-05-22 22:49:58 +02:00
Matthias Clasen
eff1fe2500
Make the !xkb build survive a little longer
...
This fixes bug 619114.
2010-05-21 12:13:05 -04:00
Didier Roche
6847407eda
Fix fail to build when building with introspection:
...
in debian/ubuntu, builddir != srcdir. This trigger an error
on introspection_files where srcdir is added to x11/*.c.
Indeed, srcdir is added again later:
$(addprefix $(srcdir)/,$(introspection_files))
making $(srcdir)/$(srcdir)/x11/*.c (not an issue on jhbuild as srcdir = .)
2010-05-21 09:00:55 +10:00
Matthias Clasen
c51f965782
Some cleanups after the module cache file change
...
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.
Patch by Tadej Borovsak.
2010-05-18 19:23:06 -04:00
Javier Jardón
618d15e991
Remove deprecated gdk_window_get_toplevels() function
2010-05-14 18:18:10 +02:00
Javier Jardón
dc83131c9b
gdkwindow: Move includes to the beginning of the file
2010-05-14 17:28:37 +02:00
Tadej Borovšak
ff61948d13
Move documentation to inline comments: GdkWindow
...
Use examples/gdk to store documentation code examples.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618498
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-05-14 17:11:51 +02:00
Paul Davis
aea9f1b6cf
Remove arbitrary limit on number of redraw rectangles
...
The aim of this limit was to not degrade performance too much, however,
it actually did degrade performance to a large extent.
2010-05-12 12:11:40 +02:00
Javier Jardón
2b64a7fd54
Remove some deprecated stuff from GdkWindow
...
Also, substitute the deprecated functions with the correct ones
2010-05-12 04:29:55 +02:00
Javier Jardón
c6a789998a
Remove deprecated gdk_exit() function
2010-05-12 03:44:07 +02:00
Sebastian Dröge
57a7079a30
Don't include __bss_start, _edata and _end symbols in the abichecks
...
They are added by the binutils gold linker.
2010-05-11 06:39:35 +02:00
Matthias Clasen
78079e04d6
Fix abicheck scripts
2010-05-10 23:22:02 -04:00
Tor Lillqvist
a709056140
Don't use g_drag_context_ref
2010-05-10 19:18:29 +03:00
Matthias Clasen
7447ef0fc2
Make 3.0 parallel-installable to 2.x
...
In particular, rename
- libraries to lib*-3.0.so
- pc files to *-3.0.pc
- include paths to /usr/include/gtk-3.0/*
- module paths to /usr/lib/gtk-3.0/*
- rc files names to gtk-3.0/gtkrc
- commandline utilities to *-3.0
- adjust documentation
Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Javier Jardón
8424256a39
[gdk] Remove gdki18n.h completely
2010-05-03 01:51:21 +02:00
Javier Jardón
b7bc5331fa
[gdk/directfb] Remove deprecated gdkdirectfb stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
341d8605b6
[gdk] Remove deprecated GdkRGB stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
81d1e2ca76
[gdk] Remove deprecated GdkVisual stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
ce340e3b62
[gdk] Remove deprecated gdktypes stuff.
2010-05-03 01:51:20 +02:00
Javier Jardón
4a70b282de
[gdk] Remove deprecated GdkSelection stuff.
2010-05-03 01:51:20 +02:00
Michael Natterer
5e29973773
Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDES
...
...and disallow inclusion of individual files unconditionally.
2010-05-03 01:51:18 +02:00
Javier Jardón
3d3fb6edc6
Remove deprecated code from GdkPango
2010-05-03 01:48:45 +02:00
Javier Jardón
906a510007
Remove deprecated code from GdkImage
2010-05-03 01:48:45 +02:00
Javier Jardón
7894951cee
Remove deprecated code from GdkEvent
2010-05-03 01:48:45 +02:00
Javier Jardón
8c46ef830b
Remove deprecated code from GdkDnd
2010-05-03 01:45:00 +02:00
Javier Jardón
e53a1ad236
Remove deprecated code from GdkCursor
2010-05-03 01:45:00 +02:00
Javier Jardón
134690ed8f
Remove deprecated code from GdkGc
2010-05-03 01:45:00 +02:00
Javier Jardón
b9b8efc528
Remove deprecated code from GdkPixmap
2010-05-03 01:45:00 +02:00
Javier Jardón
92e5d321d6
Remove deprecated code from GdkPixbuf
2010-05-03 01:45:00 +02:00
Florian Scandella
53fae3247c
Add heuristic for primary monitor
...
Use the first monitor returned by RANDR as primary, if primary
is not set and no LVDS is found.
https://bugzilla.gnome.org/show_bug.cgi?id=615128
2010-04-23 23:42:02 +02:00
Matthias Clasen
78e68d4548
Update the gdk_event_free docs
...
Bug 616118
2010-04-22 14:13:35 -04:00
Claudio Saavedra
51a1af7aa4
Use the proper screen in _gdk_windowing_get_shape_for_mask()
...
Bug 615853 - BadMatch when pressing keyboard volume keys while pointer in
secondary X screen
_gdk_windowing_get_shape_for_mask() is using the default screen, not taking
into account that its GdkBitmap could have been created for a different one,
causing BadMatch errors.
2010-04-19 18:51:27 +03:00
Javier Jardón
791962e06d
Include <X11/Xutil.h> in gdkdnd-x11.c
...
Otherwise, inclusion of shape.h triggers an unknown type error
for Region, and compile fails, at least in Solaris.
Reported by Philip Brown here:
https://bugzilla.gnome.org/show_bug.cgi?id=615028
2010-04-18 19:54:22 +02:00
Michael Natterer
9cac8f23d5
gdk: remove convert_coords_to_child()
...
and use the new public gdk_window_coords_from_parent().
2010-04-15 13:16:17 +02:00
Michael Natterer
878cde53d0
gdk: use gdk_window_is_offscreen() instead of checking manually
2010-04-15 13:08:47 +02:00
Michael Natterer
5a52d2a2f0
gdk: add API to convert coords between parent and child windows
...
which also works for offscreen windows and their embedder.
Also add gdk_window_get_effective_parent() and
gdk_window_get_effective_toplevel() which are offscreen aware.
2010-04-15 12:59:44 +02:00
Tor Lillqvist
e544602065
Add Visual Studio 2008 project files
...
Similar setup as in GLib and Pango. Also here we use a build/win32/vs9
subfolder, even if there is nothing else in build or build/win32.
2010-04-12 12:45:40 +03:00
Johan Bilien
d36b281a58
Fixed annotation of gdk_screen_get_rgb_colormap and similar
...
These return an object with no extra references, need to be transfer
none.
2010-04-09 13:53:19 -04:00
Javier Jardón
eb7121c4e6
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_add_virtual_modifiers()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=613988
2010-04-09 18:15:55 +02:00
Matthias Clasen
b4adea7477
Fix a silly mistake in primary_monitor handling
...
It doesn't make sense to determine an index into an array, if
you are going to sort the array afterwards...pointed out in
bug 615128 by Florian Scandella.
2010-04-09 09:05:38 -04:00
Matthias Clasen
0efb24f589
Yet another fix for shape handling
...
This should fix problems with awn and notify-osd.
2010-04-06 20:33:19 -04:00
Adel Gadllah
20dacce4d8
[GdkScreenX11] Fix check in gdk_screen_get_primary_monitor
...
Fix bug in last commit.
2010-04-06 02:41:55 +02:00
Adel Gadllah
5651cbc4b4
[GdkScreenX11] Add heuristic for pre XRandR 1.3 drivers
...
Currently gdk_screen_get_primary_monitor just returns the first monitor,
in this case but both the panel and now gnome-shell use an additional
heuristic to prefer LVDS as primary if present.
Move this heuristic to gdk_screen_get_primary_monitor to avoid duplicating
it all over the place.
The fallback heuristic is also used when no primary output is set.
https://bugzilla.gnome.org/show_bug.cgi?id=614894
2010-04-06 02:36:53 +02:00
Hiroyuki Ikezoe
ffbd007c50
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_map_virtual_modifiers.
2010-03-25 16:39:41 +01:00
Matthias Clasen
3ed737e5fc
Another small doc cleanup
2010-03-22 23:15:52 -04:00
Matthias Clasen
f5c6712002
Minor doc cleanup
2010-03-22 23:10:38 -04:00
Damien Lespiau
0a0e0a868a
introspection: Fix parallel builds
...
One needs to add an explicit dependency between the gir files and the
.la libtool wrapper as this dependency is not added automatically by
Makefile.introspection. Not adding these breaks parallel builds as make
does not wait for the .la to be generated before launching g-ir-scanner.
2010-03-22 12:53:18 -04:00
Matthias Clasen
996541d096
Don't crash in DND when the X server doesn't support SHAPE
...
Reported in bug 612768
2010-03-16 12:35:13 -04:00
Colin Walters
55feb804f0
[startup notification] Set APPLICATION_ID
...
http://lists.freedesktop.org/archives/xdg/2010-February/011321.html
In addition to ICON, BINARY_NAME etc., it's very helpful if launcher
programs include the name of the .desktop file they're launching.
This is APPLICATION_ID.
https://bugzilla.gnome.org/show_bug.cgi?id=611118
2010-03-14 15:13:26 -04:00
Matthias Clasen
f73f9d802c
Fix gdk_window_set_icon_name
...
A typo kept this from working on toplevel windows.
Reported in bug 612346.
2010-03-12 15:59:59 -05:00
Matthias Clasen
9c8dbc292f
Minor doc clarification for gdk_drag_begin
...
Mention that targets is a list of atoms. Bug 611317.
2010-03-08 21:01:30 -05:00
Matthias Clasen
28760d992b
Init gdk in the same order as other backends
...
Patch by Andre Draszik, bug 609172
2010-02-23 13:07:23 -05:00
Matthias Clasen
7f483dbd7b
Fix a memory leak in gdk_display_open in the directfb backend
...
Patch by Andre Draszik, bug 609172
2010-02-23 13:06:44 -05:00
Matthias Clasen
2dc9298b41
Simplify the DirectFBInit call
...
Patch by Andre Draszik, bug 609172
2010-02-23 13:06:03 -05:00
Matthias Clasen
3d66034d7d
Catch directfb errors in gdk_colormap_new
...
Patch by Andre Draszik, bug 609172.
2010-02-23 13:05:24 -05:00
Matthias Clasen
e06edf375a
Fix a crash at startup in the directfb backend
...
Patch by André Draszik, bug 600789
2010-02-23 12:54:00 -05:00
Matthias Clasen
cb184bed8c
Fix gdk_windowing_window_at_pointer in the directfb backend
...
Patch by Hiroyuki Ikezoe, see bug 604799.
2010-02-23 12:51:45 -05:00
Matthias Clasen
325cbef27e
Protect against X errors when clearing the DND cache
...
This was reported as a problem in bug 609952.
2010-02-23 12:51:44 -05:00
Matthias Clasen
42e90521a9
Only look at x11 backend for gtk-doc comments for now
...
See followup discussion in bug 610701
2010-02-23 10:24:55 -05:00
Matthias Clasen
bcee7bda64
Add some missing introspection annotations
2010-02-22 23:47:24 -05:00