Benjamin Otte
e98f760e9c
x11: Make fallback pixbuf-cursor code not use old constructors
...
These bitmap constructors are about to die. The replacement is painting
with Cairo image surfaces and that's what we do here.
2010-08-10 21:02:30 +02:00
Benjamin Otte
8868e77fa0
x11: Remove display_x11->have_render
...
Also remove setters and getters for the variable and the GdkTristate
enum, as it's the only place where it was used.
2010-08-10 21:02:30 +02:00
Benjamin Otte
7182a2dc19
gdk-xft: Don't call render about the subpixel order
...
Instead assume that the root window property is working properly. This
removes the last real Xrender call from GTK.
2010-08-10 21:02:30 +02:00
Kristian Høgsberg
c7bd2ad1c9
gdk: Remove picture pointer from X11 drawable
...
It's not used anymore
2010-08-10 21:02:30 +02:00
Benjamin Otte
c4f280651a
gdk: Don't infinite loop when flushing moves
...
Spotted by Kristian Rietvield. Fixes testoffscreen test.
2010-08-10 21:02:30 +02:00
Matthias Clasen
075661d376
generic damage generation for offscreen windows
...
Generating damage from gdk drawing api doesn't help for cairo rendering
...and the gdk drawing api is gone anyway. Bug 621571
2010-08-10 21:02:30 +02:00
Matthias Clasen
7fd148fc59
Cleanup gdk_pixbuf_render_pixmap_and_mask_for_colormap()
2010-08-10 21:02:30 +02:00
Benjamin Otte
d0d2a6f12c
API: remove gdk_colormap_query_color
2010-08-10 21:02:30 +02:00
Benjamin Otte
1308731580
gdk: Don't require allocating window background colors anymore
...
X!! allocates the colors itself now.
2010-08-10 21:02:30 +02:00
Kristian Rietveld
c3a59fbfcc
Fix compile warnings
2010-08-10 21:02:30 +02:00
Kristian Rietveld
f7a8bac5e6
quartz: Make backend compile again
2010-08-10 21:02:29 +02:00
Kristian Rietveld
23c9cee274
quartz: Fix up _gdk_quartz_window_translate
2010-08-10 21:02:29 +02:00
Benjamin Otte
6a48a042c7
API: remove GdkGC
...
XXX: Some traces in the win32 code are left. I suppose they'd best be
replaced using Cairo.
2010-08-10 21:02:29 +02:00
Benjamin Otte
ef2d37cdaf
API: remove begin/end_direct_draw functions
...
They're not needed without GdkGCs.
FIXME: This breaks the win32 XP theme. Someone gotta fix it.
2010-08-10 21:02:29 +02:00
Benjamin Otte
f7608c33ac
gdk: Move scratch GC handling to X11
...
... and implement it directly instead of using GdkGC, as GdkGC is about
to be deleted, but we need this code.
2010-08-10 21:02:29 +02:00
Benjamin Otte
9c026fb32e
x11: Remove unused code
...
These are function definitions and leftover variabl;es that weren't in
use for a while.
2010-08-10 21:02:29 +02:00
Benjamin Otte
1ac8d80e34
API: remove GdkPangoRenderer
...
Also removes the pango attributes for stipple, emboss and emboss color
2010-08-10 21:02:29 +02:00
Benjamin Otte
4c16995868
gdk: remove get_composite_drawable vfunc
...
The vfunc is not used anymore.
2010-08-10 21:02:29 +02:00
Benjamin Otte
61d4a019f8
API: remove gdk_draw_drawable()
2010-08-10 21:02:29 +02:00
Benjamin Otte
0cef9c2bbe
quartz: Do repeated fill with Cairo
...
Some things are so easy with Cairo...
XXX: I did not compile this, this is just proof of concept.
2010-08-10 21:02:28 +02:00
Benjamin Otte
65ac54bb23
gdk: Make window moves a custom vfunc
...
The window move code needs special attention for multiple reasons:
- invalid areas for expose events need to be modified
- self-copy is not supported by Cairo
- in X11, copying from an overlapped Window might cause unexposed areas
to be copied in, spo expose events for those need to be generated.
This was all special cased in various parts of the code. By making it an
explicit vfunc, we can work around it.
2010-08-10 21:02:28 +02:00
Benjamin Otte
a581401920
API: remove gdk_draw_layout_*()
2010-08-10 21:02:28 +02:00
Benjamin Otte
3fc31e88b0
gdk: Remove _gdk_drawable_get_scratch_gc()
...
The function is unused now.
2010-08-10 21:02:28 +02:00
Benjamin Otte
db5fc43759
gdk: Draw redirected windows using Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
56e7abb8a4
gdk: Refactor redirection code
...
This will make future patches easier
2010-08-10 21:02:28 +02:00
Benjamin Otte
755bd51757
gdk: Simplify code
...
Use new Cairo APIs to make the code simpler.
2010-08-10 21:02:28 +02:00
Benjamin Otte
a6fcc75774
gdk: Remove excess variables
2010-08-10 21:02:28 +02:00
Benjamin Otte
3df6726656
gdk: Do end_implicit_paint copy with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
f1620b5ce1
gdk: Implement gdk_window_get_source_drawable() using Cairo
...
Do we have a test case for this?
2010-08-10 21:02:28 +02:00
Benjamin Otte
46206f8bb8
gdk: Implement end_implicit_paint() with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
600fbd3e74
API: remove gdk_draw_rectangle()
2010-08-10 21:02:28 +02:00
Benjamin Otte
9ee5176492
API: remove gdk_draw_point(s)
2010-08-10 21:02:27 +02:00
Benjamin Otte
a9e99e7f5b
API: remove gdk_draw_{line,lines,segments}
...
Those were the 3 intermixed line drawing calls.
2010-08-10 21:02:27 +02:00
Benjamin Otte
e85dfc7cc4
API: remove gdk_draw_polygon()
2010-08-10 21:02:27 +02:00
Benjamin Otte
89d28eb09d
API: remove gdk_draw_glyphs() and gdk_draw_glyphs_transformed()
2010-08-10 21:02:27 +02:00
Benjamin Otte
92f4882497
API: remove gdk_draw_trapezoids() and GdkTrapezoid struct
2010-08-10 21:02:27 +02:00
Benjamin Otte
559ae63f01
API: remove gdk_draw_arc()
2010-08-10 21:02:27 +02:00
Benjamin Otte
9b713fa4fd
gdk: Remove testgdk code
...
The file wasn't build anyway and it's using all the APIs that are
getting removed.
2010-08-10 21:02:27 +02:00
Benjamin Otte
14fe04ec89
API: remove GdkImage
...
It was unused and buggy.
2010-08-10 21:02:26 +02:00
Benjamin Otte
6f5084551a
API: remove gdk_drawable_copy_to_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
2a72ffd4de
API: remove gdk_drawable_get_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
a1a1b135ac
API: remove gdk_pixbuf_get_from_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
84015d4d3f
Implement gdk_pixbuf_get_from_drawable() with Cairo
...
Use gdk_pixbuf_get_from_surface() instead of
gdk_pixbuf_get_from_image().
2010-08-10 21:02:26 +02:00
Benjamin Otte
39b47eaf25
API: Add gdk_pixbuf_get_from_surface()
...
New API to copy any cairo surface into a pixbuf.
2010-08-10 21:02:26 +02:00
Benjamin Otte
b926ce719b
API: remove gdk_draw_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
d18abf42b7
API: Get rid of GdkRGB
2010-08-10 21:02:26 +02:00
Benjamin Otte
8f19db7565
Replace gdk_rgb_find_color()
...
Use gdk_colormap_alloc_color() instead.
2010-08-10 21:02:26 +02:00
Benjamin Otte
548ebc29e5
debug: remove GdkRGB debuggability
...
GdkRGB is on its way out, so there's no need to have a debugging
category for it.
2010-08-10 21:02:26 +02:00
Benjamin Otte
119d48c89b
gdk: Remove unused gdkrgb.h includes
2010-08-10 21:02:26 +02:00
Benjamin Otte
d54c2cfeee
API: remove gdk_screen_get_rgb_colormap/visual()
...
People want to use gdk_screen_get_default_colormap/visual().
Also, GdkRGB is about to die.
2010-08-10 21:02:26 +02:00
Benjamin Otte
4f8dbd4a8d
API: Remove gdk_draw_pixbuf()
2010-08-10 21:02:25 +02:00
John Stowers
4198dd8519
Add gdk_display_is_closed
...
https://bugzilla.gnome.org/show_bug.cgi?id=624224
2010-08-07 23:21:31 +12:00
John (J5) Palmieri
5f1827983b
add the transfer and element-type annotation to gdk_device_manager_list_devices
2010-07-29 04:53:54 -04:00
Tomeu Vizoso
1fa7f1085e
Annotate gdk_rectangle_intersect
2010-07-28 17:02:18 +02:00
Benjamin Otte
a37ec87ed7
gdk: Flush implicit paints with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
cfa3a71c7b
gdk: Do DEBUG_UPDATES drawing with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
2db020890e
offscreenwindow: Copy old to new pixmap using Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
b13480702b
gdk: Create solid mask with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
b478081b7d
gdk: Always clear backing store with Cairo
...
The code to use Cairo existed but wasn't used on Unix due to a bug in
XAA (that was fixed). Fwiw, we use EXA these days...
2010-07-26 16:42:49 +02:00
Benjamin Otte
331d77f3d7
gdkgc: Draw clip mask with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
37c502eae3
gdkpixbuf: Implement gdk_pixbuf_render_threshold_alpha() with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
ccc26207fe
gdk: Use the system colormap, not the rgb colormap
...
RGB colormaps are on their way out.
2010-07-26 16:42:49 +02:00
Benjamin Otte
b68801f168
gdk: Get rid of GdkRGB usage
...
Unfortunately, there's no code for getting rid of the alpha channel,
so we opacify the image ourselves.
2010-07-26 16:42:49 +02:00
Benjamin Otte
7b213d5604
gdk: Get rid of gdk_draw_pixbuf() call
...
Use Cairo code instead.
2010-07-26 16:42:49 +02:00
Benjamin Otte
2883a274cc
gdk: Revert making get_size optional
...
49a0ec6e95
added this hunk without
explanations and it's obviously wrong because failing to have a get_size
vfunc will now not set width and height and they'll end up with invalid
values.
In fact, the GdkDrawableImpl{X11,Win32,Quartz} functions do not have
get_size implemented, so the patch was most likely an attempt to work
around calling this function erroneously on the impl objects.
The correct fix is to call impl->wrapper instead.
2010-07-26 16:42:46 +02:00
Benjamin Otte
8adfc326f8
x11: Query size on real drawable
...
The X11 drawable does not have a clue about the real size of the
surface.
This might also be the cause for:
https://bugzilla.gnome.org/show_bug.cgi?id=599574
2010-07-26 16:42:46 +02:00
John Stowers
fe603cccf2
Add gdk_cursor_get_cursor_type
...
https://bugzilla.gnome.org/show_bug.cgi?id=624087
2010-07-25 22:12:34 +12:00
Matthias Clasen
9a812edff8
Fix distcheck
2010-07-12 11:53:36 -04:00
Matthias Clasen
4f3d5e3655
Include cairo-1.0.gir when building Gdk-3.0.gir
...
Seems necessary with the cairo_region_t changes.
2010-07-12 10:30:06 -04:00
Paolo Borelli
0df65779bb
The hash owns a ref to the cursor
2010-07-10 18:49:21 +02:00
Matthias Clasen
813bee6f0a
Try to fix !srcdir build wrt to introspection
...
This requires a recent gobject-introspection, so bump the
dependency to 0.9.0. Should fix bug 623520
2010-07-09 21:01:40 -04:00
Javier Jardón
404e7d0e00
gdk/: fully remove gdkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
Javier Jardón
7cabad6b77
Use -Bsymbolic-functions, drop g*alias PLT hackery
...
This is a minimal patch-out of the galias functionality.
Based on a Glib pach by Ryan Lortie
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
Tor Lillqvist
34e8bd9dba
Fix build breakage on Windows caused by the region changes
...
Patches by Sam Thursfield, from bug #623476 .
2010-07-05 12:57:13 +03:00
Tomeu Vizoso
eae60c34d2
Annotate gdk_display_manager_list_displays return value
...
https://bugzilla.gnome.org/show_bug.cgi?id=623307
2010-07-02 10:51:45 +02:00
William Jon McCann
0cfb94cdd4
[gdk] Add gdk_keymap_get_num_lock_state
...
https://bugzilla.gnome.org/show_bug.cgi?id=623239
2010-07-01 21:44:09 -04:00
Javier Jardón
319d2bb4f1
[gdk] Remove GdkWindowObject public structure
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Javier Jardón
df106318f8
[gdk] Add gdk_window_has_native() function
...
https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Kristian Rietveld
be27fba3f3
Remove dummy for gdk_event_get_graphics_expose()
...
This was a deprecated function that has been removed.
2010-06-30 21:43:25 +02:00
Kristian Rietveld
43f4398dbd
Remove mention of gdk_event_get_graphics_expose()
2010-06-30 21:43:25 +02:00
Kristian Rietveld
1564d8922a
Fix typos in Cairo region conversion so that Quartz actually compiles
2010-06-30 11:10:29 +02:00
Kristian Rietveld
53fbf2a30a
Update Quartz DnD code to set device on DnD events
2010-06-30 10:56:44 +02:00
Kristian Rietveld
03a313d2a9
Implement gdk_drag_context_{get,set}_device in Quartz backend
2010-06-30 10:56:44 +02:00
Benjamin Otte
5a02283fbf
API: Remove all GdkRegion API
...
Remove the deprecated region APIs completely from GTK.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:58 +02:00
Benjamin Otte
300e6b84cd
s/GdkRegion/cairo_region_t/ in all of gtk
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
3e96cfe8fc
Deprecate the GdkRegion API
...
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
52200eee01
Remove _gdk_region_new_from_yxbanded_rects()
...
It was an internal function and we can use
cairo_region_create_rectangles() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
78018767ba
Implement GdkRegion in terms of cairo_region_t
...
Only changes in headers: GdkRegion and GdkRectangle are typedeffed to
cairo_region_t and cairo_rectangle_int_t respectively. The region type
was opaque anyway so it doesn't matter and the rectangle types are
identical.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Javier Jardón
b4ed51fd93
Remove XID_FONT_BIT
2010-06-28 23:38:03 +02:00
Javier Jardón
06e48c50a1
Remove GDK_GC_FONT
2010-06-28 23:38:03 +02:00
Christian Dywan
655dcff096
Remove deprecated GdkFont
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604196
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-06-28 23:38:03 +02:00
Javier Jardón
c1affa4f3c
Remove deprecated code from X interaction
2010-06-28 23:38:03 +02:00
Javier Jardón
c3987f9ee2
[GdkGC] Remove deprecated GdkFont from GdkGCValues structure
2010-06-28 23:38:03 +02:00
Colin Walters
17f8b5e581
GdkX11.gir depends on Gdk.gir
2010-06-28 13:50:57 -04:00
Philip Withnall
d78cee6791
Add allow-none to gdk_window_set_cursor()
2010-06-27 19:19:39 +01:00
Emmanuele Bassi
5789ea35cc
Do not return values from a function returning void
2010-06-27 11:28:44 +01:00
Kristian Rietveld
7f2e4c38a9
Move Leopard-specific type definitions to gdkquartz.h
...
Update includes subsequently where it matters. Fixes build on Mac OS
X 10.4.
(cherry picked from commit e634f3fbe0
)
2010-06-27 11:00:42 +02:00
Kristian Rietveld
64f11c366a
Refactor to use API that's available in OS X 10.4 as well
...
(cherry picked from commit 3770d914ec
)
2010-06-27 11:00:31 +02:00
John Ralls
98d47b57bf
Bug 622333 - Crash in gdk_window_impl_quartz_begin_paint_region
...
(cherry picked from commit 093a867e51
)
2010-06-27 11:00:20 +02:00
Kristian Rietveld
019ccc686d
Flip clip mask image when setting clip mask on GC
...
(cherry picked from commit 9f5f47f8be
)
2010-06-27 11:00:09 +02:00
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
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
Johan Dahlin
f0ce4dcaa5
[build] Include all target source files
...
Include all target source files when buildin the gir
https://bugzilla.gnome.org/show_bug.cgi?id=610701
2010-02-22 17:26:24 -03:00
Matthias Clasen
c85e7ec6d8
Add a missing introspection annotation for gdk_screen_get_default_colormap
2010-02-22 14:15:45 -05:00
Johan Dahlin
fe85272112
[annotations] Add allow-none
...
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
2010-02-19 17:57:51 -02:00
Javier Jardón
41ef40bec0
[gdk/x11] Change the name of the functions in the header file
...
_gdk_keymap_add_virtual_modifiers() changed to
_gdk_keymap_add_virtual_modifiers_compat() in
commit 13d69e552d
This patch change the header name too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610063
2010-02-16 20:59:22 +01:00
Matthias Clasen
13d69e552d
Fix a compatibility problem
...
It turns out that my attempt at handling Super, Hyper and Meta better
is causing problems, mostly because Alt and Meta are commonly colocated
in the modmap, and apps do a check for the Alt modifier regularly.
See e.g bug 607697.
2010-02-12 18:55:42 -05:00
Alejandro Piñeiro
bc39d88b44
Solve a wrong reference on gdk_keymap_translate_keyboard_state
...
Solves https://bugzilla.gnome.org/show_bug.cgi?id=608345
2010-02-09 11:52:49 +01:00
André Draszik
12edc32d95
gdk/directfb: cursor size is artificially limited
...
Cursor sizes in DirectFB can be large (4095x4095), limit to 128x128
though, because the x11 backend has this limit, too - for max.
compatibility.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609201
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-02-07 20:12:43 +01:00
André Draszik
7f8b96d9bc
gdk/directfb: convert gdkgc-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609199
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-02-07 20:10:53 +01:00
André Draszik
e1a83243e4
gdk/directfb: gdkdnd-directfb's private data is used uninitialized
...
Use G_TYPE_INSTANCE_GET_PRIVATE() instead
In the process, convert to using G_DEFINE_TYPE, too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609195
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-02-07 20:08:52 +01:00
André Draszik
bc36a15446
gdk/directfb: convert gdkcolor-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609191
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-02-07 20:06:52 +01:00
André Draszik
e71d3c459a
gdk/directfb: fix _gdk_windowing_pointer_grab()
...
Fix for bgo #609188
Signed-off-by: Javier Jardón <jjardon@gnome.org>
2010-02-07 20:01:05 +01:00
Matthias Clasen
69aa7a6392
Make DND work better with shaped windows
...
If mouse clicks go through, drag-and-drop should too...
Fixes bug 608615.
2010-02-04 19:18:22 -05:00
Kristian Rietveld
66207cf13e
Improve enter/motion notify semantics
...
On X11 we receive enter notify and motion notify events for a window
regardless of its focus state. On Mac OS X this is not the case. This
commit improves the semantics to overcome this difference. It improves
on my earlier patch that sent a motion notify event when a window became
main.
Instead of sending a motion notify when a window becomes main, we now
send one when a window becomes key, which comes closest to a window
getting focus in X11. This motion notify is needed because Mac OS X does
not send motion events when an application is inactive (none of its
windows have focus), these events are sent in X11. This dummy motion
notify event (with current coordinates of the mouse cursor) allows an
application to get its prelight and other state right when it gets focus
and thus user attention.
Another change is to send an enter notify event when updating the
tracking rectangle of a GdkQuartView and the mouse cursor is currently in
this rectangle. This rectangle is at least updated on window creation.
This enter notify event is important for the case where a new window
appears right below the mouse cursor. The window has to receive an enter
notify event for the subsequent events to be processed correctly. Mac
OS X does not send one in this case, so we generate it ourselves.
Both of these synthesized events have to go through
_gdk_windowing_got_event() for updating statekeeping, etc.
append_event() has a boolean flag now to make this convenient.
2010-01-30 20:36:28 +01:00
Matthias Clasen
f286c6281a
Minor doc fix
2010-01-25 22:32:00 -05:00
Alexander Larsson
3c618f2f1f
Avoid integer overflow in gdk_rectangle_intersect
...
If e.g. the right edge of the leftmost rectangle is near MIN_INT, and
the left edge of the rightmost rectangle is large then subtracting these
can lead to an integer overflow, making the resultant "width" falsely
positive, thus returning a very wide result instead of the expected
no-intersection result.
We avoid the overflow by not doing the subtraction unless we know the
result will be positive. There are still risks for overflow if x + width
or y + width is larger than MAXINT, but we won't ever overflow for valid
rects now.
This may fix #607687
2010-01-22 09:41:17 +01:00
Alexander Larsson
3d9d002bed
When native window requests button presses request other button related events
...
We need to do this because otherwise the implicit button grab for this
(native) window will not deliver the button events not selected for
by this window. This is a problem because non-native child windows may
select using a wider event mask, and we can't emulate these events if we
don't get the native events.
Fixes bug #607508
2010-01-20 15:37:16 +01:00
Alexander Larsson
e31a6d1fea
Drop outstanding cairo surfaces when window is made native
...
Any old cairo_surface referencing the old impl window will be wrong
when we make a window native, so drop it.
This fixes bug #599511
2010-01-19 16:40:59 +01:00
Alexander Larsson
46d25437a1
Move common gdkwindow.c code into function gdk_window_drop_cairo_surface
...
This code is duplicated in several places, and more to come, so put
it all in one place.
2010-01-19 16:40:55 +01:00
Alexander Larsson
841fa47715
Track direct window cairo access and avoid tricks when used
...
When a cairo surface is requested for direct window access (i.e. not
when double-buffering) we can't really track when the actual drawing happens
as cairo drawing is not virtualized. This means we can't properly flush
any outstanding window moves or implicit paints.
This actually causes problems with e.g. abiword (bug #606009 ) where they
draw without double-buffering. If you press down it scrolls the window
and then draws the caret, but the caret drawing does not flush the
outstanding move from the scroll, so the caret gets drawn on the wrong
screen.
We fix this by never allowing either implicit paints or outstanding window
moves on impl-windows where any windows related to it has an outstanding
direct cairo surface. Luckily this is not very common so in practice this
doesn't matter much.
2010-01-19 15:01:03 +01:00
Alexander Larsson
f96e51db46
Avoid drawing implicit paints to destroyed windows
...
It may happen that a window gets destroyed during painting, if so
we should not draw the implicit paint double-buffered pixmap to it
as that will cause a BadDrawable X error.
This fixes bug 600865
2010-01-15 16:08:18 +01:00
Matthias Clasen
d32b061895
Plug a pixmap leak
...
We were getting our refcounts tangled up when setting drawable clips on
GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.
2010-01-11 10:23:57 -05:00
Javier Jardón
ccf17a828b
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-01-11 06:25:59 +01:00
Javier Jardón
bef70bc5bf
[docs] Add documentation for GdkWindow 'cursor' property
...
Reported by Rafal Luzynski here:
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2010-01-03 21:14:06 +01:00
Hiroyuki Ikezoe
23042427f5
Use CAIRO_VERSION instead of CAIRO_VERSION_CODE
...
Cairo does not have CAIRO_VERSION_CODE macro.
Fix for bug #605472 .
2010-01-03 18:22:55 +09:00
Johan Dahlin
cdb13d233e
Make sure Gdk-2.0.gir is installed
...
Fixes a variable name typo
2009-12-31 01:48:50 +01:00
Johan Dahlin
c212f680a4
Avoid warnings when introspetion is not available
...
-include is the same as include but will never warn if the
file is not available
2009-12-31 01:47:24 +01:00
Johan Dahlin
5955cfe37f
Fix build with system install of introspection
...
Or redo it properly and remove previous hack by Matthias.
2009-12-31 01:19:38 +01:00
Kristian Rietveld
0912a113dd
Release view after setting it as contentView
...
Fixes GdkQuartzView being leaked.
2009-12-30 14:14:21 +01:00
Kristian Rietveld
255c2739e2
Fix memleak in get_nsscreen_for_point()
...
One codepath did not go through GDK_QUARTZ_RELEASE_POOL, refactored
the code to fix this.
2009-12-30 14:12:42 +01:00
Kristian Rietveld
3887838244
Fix memory leak in GdkQuartzView
...
Should remove the tracking rect in dealloc.
2009-12-30 14:11:14 +01:00
Kristian Rietveld
ee62948b83
Use CGFLOAT_DEFINED, don't rely on NSINTEGER_DEFINED for this
2009-12-28 23:01:42 +01:00
Kristian Rietveld
e22de4a88e
Add gdk_keymap_map_virtual_modifiers() to Quartz backend
2009-12-28 21:18:57 +01:00
Kristian Rietveld
c8fef502e2
Start using CGFloat
...
Fixes a bunch of compiler warnings. Since CGFloat does not exist on
Tiger and earlier, we have added a typedef likewise as was done for
NSInteger.
2009-12-28 21:18:57 +01:00