| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
gcc has optimizations for include guards that only work
if they are outermost in the the header.
https://bugzilla.gnome.org/show_bug.cgi?id=689810
|
|
|
|
| |
gdk_window_set_background_rgba() should take a const RGBA.
|
| |
|
|
|
|
|
|
|
| |
This patch changes all uses of GDK_DEPRECATED(_FOR) in gdk headers
by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same
time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions
in 3.2 and 3.4.
|
| |
|
|
|
|
| |
These functions were never actually implemented
|
| |
|
|
|
|
|
|
| |
As pointed out in bug 665999, these were just not right.
Before this commit, the nicks were 'output' and 'only'.
After this commit, they are 'input-output' and 'input-only'.
|
| |
|
|
|
|
|
| |
This was one of the last places where display->core_pointer was
used in non-deprecated code paths.
|
|
|
|
|
|
| |
We define our own GDK_DEPRECATED[_FOR] macros for this
and allow it to be turned off by defining the
GDK_DISABLE_DEPRECATION_WARNINGS macro.
|
| |
|
|
|
|
|
|
|
|
| |
The previous function gdk_drag_get_protocol_for_display() took native
window handles, so it had to be changed. Because it didn't do what it
was named to do (it didn't return a protocol even though it was named
get_protocol) and because it doesn't operate on the display anymore but
on the actual window, it's now called gdk_window_get_drag_protocol().
|
|
|
|
|
|
|
| |
Its usecase was GERD - http://testbit.eu/~timj/historic/gerd/ - and that
project is long since dead.
It has been superseded in GTK 2.2 by GdkDisplayPointerHooks anyway.
|
|
|
|
|
| |
At the same time, make GDK_IS_DISPLAY_X11 available in gdkx.h, and
add some exemplaric ifdefs to GTK+ code.
|
| |
|
|
|
|
|
|
| |
This function will enable events for all devices of a given
GdkInputSource, either these available at the time of the call,
or these that are connected in the future.
|
|
|
|
| |
It's unused by now.
|
|
|
|
| |
We don't want to expose depth anymore. If you need it, query the visual.
|
|
|
|
| |
Be consistent in the naming of objects.
|
|
|
|
|
| |
We argued replacing GdkWindowClass with a input_only boolean, but this
is not doable in an API-stable way, so I decided against it.
|
| |
|
|
|
|
| |
Also, name the get_type function properly.
|
|
|
|
| |
Also get rid of the GdkDrawable vfunc.
|
|
|
|
| |
Also remove the vfunc from GdkDrawableClass.
|
|
|
|
|
|
| |
This new function takes a GdkRGBA in order to set the background to
an alpha color. Keep in mind that RGBA visuals and a composited environment
are still necessary to have an alpha background displayed.
|
|
|
|
| |
Also add padding for future extension.
|
|
|
|
|
|
|
| |
Add signal GdkWindow::create-surface which allows to use any
surface type as storage for offscreen windows.
Test the new signal in tests/gdkoffscreenbox.c
|
| |
|
|
|
|
|
|
| |
The feature can and should be implemented manually using
gdk_window_get_background() and Cairo drawing. A non-cairo drawing API
does not make sense in GDK anymore.
|
|
|
|
|
| |
gdk_window_get_width() and gdk_window_get_height() will replace
gdk_drawable_get_size().
|
|
|
|
|
| |
Also remove all code that cares about differing colormaps for child
windows.
|
| |
|
|
|
|
|
| |
Now that we store the visual in the GdkWindow, these are rather trivial
accessors.
|
|
|
|
|
| |
The same effect can be achieved with
gdk_window_set_background_pattern().
|
|
|
|
|
| |
This requires changes to all the offscreen surface getters that used to
return a GdkPixmap before.
|
|
|
|
|
| |
This function should not exist in public API, it exposes too many
internals.
|
|
|
|
|
|
|
| |
Also remove the reverse gdk_window_remove_redirection().
The code was only used by the snapshotting code, and that code is dead
now.
|
|
|
|
|
|
|
|
|
|
| |
Now the window background is a cairo_pattern_t. The backends will try to
set this as good as they can on the windowing system, but no guarantees
are made on wether the windowing system supports the pattern.
Also gets rid of GDK_NO_BG as undefined behavior is not a good idea to
support, and GDK_NO_BG effectively made the window's contents undefined.
It wasn't effectively used in GTK anyway.
|
|
|
|
|
| |
Awesome name for a function. Plus, it's unused and its functionality can
easily be replicated.
|
|
|
|
|
|
|
| |
This removes gdk_window_shape_combine_mask() and
gdk_window_input_shape_combine_mask(). GdkBitmap is going away and a
replacement exists via the combine_region() functions and
gdk_cairo_region_create_from_surface().
|
|
|
|
|
| |
gdk_window_set_icon_list() now does everything gdk_window_set_icon()
used to do.
|
| |
|
|
|
|
|
| |
This has been deprecated forever, and was just left in for
compatibility reasons.
|
|
|
|
|
| |
This is the suggested way for GTK3 to store a Window's background so it
makes sense to use the same function today already.
|
|
|
|
|
|
| |
They were added as accessors for 2.22 even though querying the
background wasn't possible previously. As GTK 3.0 will change background
handling, it doesn't make sense at all to expose these getters.
|
| |
|
|
|
|
| |
That is all of the gdk_pixmap/bitmap_create_from_* constructors.
|
|
|
|
| |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=622677
|