Benjamin Otte
3166588033
tests: #ifdef out unused functions
...
... that are only used in that ifdef.
2013-02-19 14:44:49 +01:00
Benjamin Otte
588513fc9a
x11: Get rid of XSettingsClient object
...
Instead, store its variables in the GdkX11Screen.
2013-02-19 14:33:39 +01:00
Benjamin Otte
609723b3c1
tests: Add a test for loading images from file
...
Strictly, this belongs in gdk-pixbuf, but GtkImage should have this
working, too.
https://bugzilla.gnome.org/show_bug.cgi?id=694148
2013-02-19 14:33:39 +01:00
Benjamin Otte
3eef3290ad
x11: Use _gdk_x11_get_xatom_for_display_printf()
...
instead of keeping the atom around all the time
2013-02-19 14:33:39 +01:00
Benjamin Otte
13eeb6ca33
x11: Introduce _gdk_x11_get_xatom_for_display_printf()
...
and use it instead of caching the atom in the GdkScreenX11.
2013-02-19 14:33:39 +01:00
Benjamin Otte
b2043511ee
x11: Don't keep an "in_init" variable
...
Instead, track the init state with a boolean argument.
2013-02-19 14:33:39 +01:00
Benjamin Otte
200d6fe664
x11: Clean up xsettings header
...
- Don't use defines for renames
- Move enum into only source file using it
2013-02-19 14:33:38 +01:00
Benjamin Otte
e1efe3269c
x11: Get rid of XSettingsSetting
...
Use GValue throughout instead.
2013-02-19 14:33:38 +01:00
Benjamin Otte
84679ba78b
x11: Remove extra variable
...
Use a getter instead.
2013-02-19 14:33:38 +01:00
Benjamin Otte
78ce2563be
x11: Split xsettings event filter into 2 functions
...
One for each type of window we watch.
2013-02-19 14:33:38 +01:00
Benjamin Otte
f6d6e932de
x11: Make stored xsettings window a GdkWindow
2013-02-19 14:33:38 +01:00
Benjamin Otte
5507954e04
x11: Split function into two
...
Instead of a boolean is_start, have a start and an end function.
2013-02-19 14:33:38 +01:00
Benjamin Otte
8028a5b24a
x11: Use gdk_display_flush()
2013-02-19 14:33:38 +01:00
Benjamin Otte
c91843edea
x11: Get selection atom useing GDK functions
...
Don't call XInternAtoms ourselves.
2013-02-19 14:33:38 +01:00
Benjamin Otte
8596142336
x11: Warning improvements to xsettings code
...
... and using g_warning() instead of fprintf()
2013-02-19 14:33:37 +01:00
Benjamin Otte
01be4ce166
x11: Use usual Atom handling in xsettings code
2013-02-19 14:33:37 +01:00
Benjamin Otte
ed38dbe28f
x11: Consolidate root window event setting in one place
...
No need to duplicate things in xsettings code.
2013-02-19 14:33:37 +01:00
Benjamin Otte
9ed7e883f2
x11: Remove unused argument
2013-02-19 14:33:37 +01:00
Benjamin Otte
edf19ab7b4
x11: Store GDK name in xsettings hash table
...
The X name is only used while reading the property, so no need to keep
it.
2013-02-19 14:33:37 +01:00
Benjamin Otte
afa3d611d6
x11: Remove XSettingsAction type
...
Use GdkSettingAction instead.
2013-02-19 14:33:37 +01:00
Benjamin Otte
a4f11fa4f5
x11: Make xsettings callbacks code go away
...
It's the same callbacks every time, so just move them into the source
file.
2013-02-19 14:33:37 +01:00
Benjamin Otte
c3607fd551
x11: Don't store name in XSettingsSetting anymore
...
This is in preparation to switching XSettingsSetting to GValue
2013-02-19 14:33:36 +01:00
Benjamin Otte
30a4150c8e
x11: Use boolean instead of enum for errors in xsettings code
2013-02-19 14:33:36 +01:00
Benjamin Otte
23b039c8cd
x11: Move error reporting to where the error happens
...
Also, use g_warning() instead of fprintf().
2013-02-19 14:33:36 +01:00
Benjamin Otte
b36b89151e
x11: Move length checking into return_if_fail() macro
2013-02-19 14:33:36 +01:00
Benjamin Otte
e3206b9de4
x11: Use GDK error trapping code
2013-02-19 14:33:36 +01:00
Benjamin Otte
c84e303fb5
x11: Split out xsettings string reading code
2013-02-19 14:33:36 +01:00
Benjamin Otte
2b83062fc6
x11: Clean up xsettings header
...
Move private struct definitions into source file, remove unneeded C++
guards.
2013-02-19 14:33:36 +01:00
Benjamin Otte
0c58cb744c
x11: Add debugging output for xsettings code
2013-02-19 14:33:36 +01:00
Benjamin Otte
8857766b5a
gdk: Add a debug category for settings
2013-02-19 14:33:36 +01:00
Benjamin Otte
08a6f554c3
x11: Use glib malloc funcs for XSettings
2013-02-19 14:32:41 +01:00
Benjamin Otte
7800e68b73
x11: Call grab functions directly
...
... instead of going via vfuncs.
2013-02-19 14:32:41 +01:00
Benjamin Otte
eb4792128f
x11: Pass the GdkScreen to the XSettingsClient
2013-02-19 14:32:41 +01:00
Benjamin Otte
bb4953f3e8
x11: Fold xsettings-common.[ch] into xsettings-client.[ch]
2013-02-19 14:32:41 +01:00
Benjamin Otte
63f0797e70
x11: Return XSetting without copying
2013-02-19 14:32:41 +01:00
Benjamin Otte
1f95eddbda
x11: Don't store last change serial
...
It's unused anyway
2013-02-19 14:32:41 +01:00
Benjamin Otte
8fa1b2bb9d
xsettings: Remove XSettingsList type
...
Use GHashTable throughout
2013-02-19 14:32:41 +01:00
Benjamin Otte
d7ea5b5266
xsettings: Use glib byte order functions
2013-02-19 14:32:40 +01:00
Benjamin Otte
c1a4a1da10
xsettings: Remove unused function
...
Remove xsettings_client_new() and rename
xsettings_client_new_with_grab_funcs() to xsettings_client_new()
2013-02-19 14:32:40 +01:00
Rob Bradford
fe5146d8f2
window: Fix compiler warning when not building for X11
...
The callback function gtk_window_on_theme_variant_changed is only used on the
X11 backend (where GtkSettings is used for the settings information.)
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=674207
2013-02-19 13:11:30 +00:00
Rob Bradford
2145907cfe
wayland: Synthesize fullscreen window state change
2013-02-19 13:11:12 +00:00
Cosimo Cecchi
2516574832
release: post-release version bump
2013-02-18 20:50:32 -05:00
Cosimo Cecchi
aca17b6028
3.7.10
2013-02-18 20:12:01 -05:00
Cosimo Cecchi
8e192f86cb
release: update NEWS for 3.7.10
2013-02-18 20:11:45 -05:00
Cosimo Cecchi
4abbb698a7
docs: add some missing methods
2013-02-18 20:10:01 -05:00
Cosimo Cecchi
7d4976b46e
docs: add some missing gtk-doc blocks and Since tags for new API
2013-02-18 20:10:01 -05:00
Cosimo Cecchi
4c130ac904
tests: workarounds to keep treeview scrolling tests running
...
We can't safely examine allocations synchronously using
gtk_main_iteration(), as there might be not enough time for a new paint
clock tick to have expired and the allocation set on the widget.
Work this around adding g_usleep() calls before processing pending
mainloop events.
2013-02-18 19:39:12 -05:00
Torsten Schönfeld
afc57cabf0
GtkViewport: annotate the adjustment args of the constructor
...
NULL is accepted here, so add (allow-none).
https://bugzilla.gnome.org/show_bug.cgi?id=694022
2013-02-18 19:39:12 -05:00
jjacky
e916568781
Fix #673243 : accelerators not visible on GtkRadioMenu
...
Also fixes a bug in set_property handler, where setting group to NULL would
cause a warning.
Signed-off-by: jjacky <i.am.jack.mail@gmail.com>
2013-02-18 19:38:48 -05:00
Thomas Wood
fbc0572068
wayland: attempt to determine the possible parent surface for popups
...
Use the surface beneath the device that created the grab as the transient
parent for the popup surfaces.
https://bugzilla.gnome.org/show_bug.cgi?id=693913
2013-02-18 19:38:21 -05:00