Ting-Wei Lan
3e02f52031
Do not return things from a void function
...
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=724008
Author: Ting-Wei Lan <lantw44@gmail.com>
2014-02-12 22:48:19 -05:00
Matthias Clasen
3459a0a273
Revert "Introduce API to get the preferred visual"
...
This reverts commit 2b95d1a34e
.
Conflicts:
gdk/gdkscreen.c
2014-02-10 22:15:28 -05:00
Matthias Clasen
d326507978
Revert "Use gdk_screen_get_preferred_visual()"
...
This reverts commit 30fa1426cf
.
See the bugs
https://bugzilla.gnome.org/show_bug.cgi?id=724067
https://bugzilla.gnome.org/show_bug.cgi?id=723740
for the issues that are the reason for this revert.
2014-02-10 22:12:53 -05:00
Matthias Clasen
7f6a964c47
Docs: Remove all entities and turn off sgml mode
...
With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.
2014-02-09 17:58:07 -05:00
Jasper St. Pierre
bfe8a354cd
wayland: Add support for set_shadow_width
2014-02-07 19:33:17 -05:00
Jasper St. Pierre
c52e710dc8
wayland: Add support for delete event
2014-02-07 18:30:12 -05:00
Jasper St. Pierre
b14e86fad2
wayland: Remove edges from configure
2014-02-07 18:30:07 -05:00
Jasper St. Pierre
1859d7631b
gdkthreads: Update documentation
2014-02-07 18:01:16 -05:00
William Jon McCann
13998c55e7
docs: use proper quotations instead of '*'
2014-02-07 14:22:39 -05:00
William Jon McCann
a4b5929e81
docs: use apostrophe in *'re
2014-02-07 13:37:09 -05:00
William Jon McCann
285d216d3e
docs: use apostrophe in *'ll
2014-02-07 13:35:54 -05:00
William Jon McCann
e34bd4137d
docs: use apostrophes in *n't
2014-02-07 13:32:47 -05:00
William Jon McCann
f0000b2f3d
docs: use more apostrophes
2014-02-07 13:26:12 -05:00
William Jon McCann
7a208fbbf3
docs: use proper apostrophe
...
https://wiki.gnome.org/Design/OS/Typography
2014-02-07 13:06:10 -05:00
William Jon McCann
f116f0071e
docs: use links instead of <xref>
2014-02-07 11:13:11 -05:00
William Jon McCann
0ce016650b
docs: Use markup for links
2014-02-07 09:42:12 -05:00
Matthias Clasen
8e797c1195
Wayland: Set gtk-dialogs-use-header
...
Since we don't have a setting for this, hardcode the value
for now.
2014-02-06 22:51:05 -05:00
Jasper St. Pierre
e583e3ebce
gdkwindow-wayland: Make function order match listener order
2014-02-06 14:29:18 -05:00
William Jon McCann
6abe7a7094
docs: use markdown instead of <note>
2014-02-06 08:01:49 -05:00
William Jon McCann
47469eb296
Use proper quotes in gdk
2014-02-05 15:08:42 -05:00
William Jon McCann
3b3d8ca456
docs: Use "#" for refsect2 instead of ##
2014-02-04 21:00:58 -05:00
William Jon McCann
c6ef8bdc9c
docs: don't use <para id="">
2014-02-04 20:21:05 -05:00
William Jon McCann
9ecc35ec68
docs: don't use <orderedlist>
2014-02-04 19:45:36 -05:00
William Jon McCann
a22358c0c0
docs: use ` instead of <literal>
2014-02-04 18:24:29 -05:00
William Jon McCann
76447c3512
docs: use quotes instead of <firstterm>
2014-02-04 18:10:11 -05:00
William Jon McCann
2dcbe27a06
docs: don't use <option>
2014-02-04 17:48:33 -05:00
William Jon McCann
ff8864cbf3
docs: use a code block instead of <screen>
2014-02-04 17:31:17 -05:00
William Jon McCann
9ff678c37f
docs: replace another envar that sneaked in
2014-02-04 17:25:37 -05:00
William Jon McCann
bf7afa48f8
docs: replace all figures with headings and images
2014-02-04 17:20:43 -05:00
William Jon McCann
63e887e165
docs: replace all <examples> with markdown headings
2014-02-04 16:58:54 -05:00
William Jon McCann
9f99f567c8
docs: use markdown instead of inlinegraphic tags
2014-02-04 16:58:53 -05:00
William Jon McCann
8d6717097c
docs: Use markdown for ulinks
2014-02-04 16:58:53 -05:00
William Jon McCann
50e06e11ee
docs: use markdown instead of <filename> tags
2014-02-04 16:58:53 -05:00
William Jon McCann
a479ee5de5
docs: use markdown for <envar> tags
2014-02-04 16:58:53 -05:00
Matthias Clasen
30fa1426cf
Use gdk_screen_get_preferred_visual()
...
When creating windows, and when returning a widgets
visual, use the new API to get the preferred visual.
2014-02-04 13:15:47 -05:00
Matthias Clasen
2b95d1a34e
Introduce API to get the preferred visual
...
Unless GDK_RGBA=0 is set, this will be the RGBA visual.
The new function is called gdk_screen_get_preferred_visual().
https://bugzilla.gnome.org/show_bug.cgi?id=630217
2014-02-04 13:15:46 -05:00
Matthias Clasen
15060a8f24
Revert "gdk: enable rgba visuals by default"
...
This reverts commit a2ccb6601e
.
This turns out to break GtkStatusIcon, and invalidates
the documentation of gdk_screen_get_system_visual().
2014-02-04 13:15:46 -05:00
Alexander Larsson
cc5752aff4
gdkwindow: Fix gdk_window_set_child_shapes()
...
This did the reverse of what it should, making the shape be
the part where the children were *not*.
2014-02-04 12:03:03 +01:00
Adam Jackson
cc517f116a
X11: Decode extension names in the error handler
...
This commit uses the Xlib cache to obtain the name of the X extension
for the request that caused the error.
https://bugzilla.gnome.org/review?bug=723555
2014-02-03 20:14:13 -05:00
Jasper St. Pierre
8061df1544
gdkwindow-wayland: Obey Wayland buffer semantics
...
We can't destroy buffers if they're in-use by the compositor. Well,
technically we can, but that is considered undefined by Wayland and
mutter won't cope with it very well -- it simply kills the client.
To solve this, we need to delay the destroy operation until the
compositor tells us that it's released the buffer. To do this, hold
an extra ref on the cairo surface as long as the surface is in-use
by the compositor.
2014-02-03 19:08:45 -05:00
Matthias Clasen
245c385ae7
Docs: Don't use note elements
...
In most cases, the text itself makes the message clear enough.
2014-02-02 01:22:14 -05:00
Matthias Clasen
30cc1512e6
Docs: Use markdown for lists
...
This greatly reduces the amount of xml in the docs.
2014-02-02 01:07:39 -05:00
Matthias Clasen
09d1b28249
docs: Convert to markdown
...
Specifically, switch to using markdown syntax for sections.
2014-02-02 00:30:27 -05:00
Jasper St. Pierre
c08b315c32
gdkwindow-wayland: Erm, put the DESTROYED check in the right spot...
2014-01-31 16:43:49 -05:00
Jasper St. Pierre
98d1b5464d
gdkwindow-wayland: Bail out early if we get a frame callback when destroying our window
...
This prevents warnings like
(gtk3-demo:14948): Gdk-CRITICAL **: _gdk_frame_clock_thaw: assertion 'GDK_IS_FRAME_CLOCK (clock)' failed
(gtk3-demo:14948): Gdk-CRITICAL **: gdk_frame_clock_get_timings: assertion 'GDK_IS_FRAME_CLOCK (frame_clock)' failed
We need to do this, as the compositor might have already sent us a frame
event, in-flight, at the same time we destroy our window. In this case, we'll
receive the then-in-flight "done" event, and then warn as we try to look
up the frame clock on a destroyed window.
2014-01-31 16:25:27 -05:00
Jasper St. Pierre
78169aa192
gdkwindow-x11: Fix compile warning
...
It doesn't actually matter, since we don't pass any real attributes
anyway, but this should be the correct type...
2014-01-31 14:34:13 -05:00
Jasper St. Pierre
533a1306cf
gdkwindow: Use an InputOnly window for focus_window
...
For XWayland, this is somewhat important to prevent a dummy XWayland surface
being made for all clients that connect...
https://bugzilla.gnome.org/show_bug.cgi?id=723390
2014-01-31 14:23:47 -05:00
William Jon McCann
48b359ea53
docs: Work around cpp complaining about comments in docs in the standard way
...
https://bugzilla.gnome.org/show_bug.cgi?id=723119
2014-01-29 12:45:49 -05:00
William Jon McCann
4c8bd8e7cf
docs: Identify examples that are C code
...
https://bugzilla.gnome.org/show_bug.cgi?id=723119
2014-01-29 12:45:49 -05:00
William Jon McCann
768bc44081
docs: use |[ ]| instead of <programlisting></programlisting>
...
https://bugzilla.gnome.org/show_bug.cgi?id=723119
2014-01-29 12:45:49 -05:00