summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gdk: Deprecate gdk_display_get_n_screens()Benjamin Otte2013-04-062-0/+3
|
* x11: Simplify code for single-screen caseBenjamin Otte2013-04-063-102/+85
|
* gtk: Simplify code for reduced screen countBenjamin Otte2013-04-061-24/+13
|
* icontheme: Remove unused functionBenjamin Otte2013-04-062-26/+0
|
* gtk-demo: Remove multiscreen supportBenjamin Otte2013-04-061-103/+11
| | | | | There's only one screen per display, so no need to let users select from a list of that 1 screen.
* GdkOffscreenWindow: Implement gdk_window_get_frame_extents()Tristan Van Berkom2013-04-061-1/+11
| | | | | This avoids crashes in gtk_window_get_position() whenever the GdkWindow is offscreen.
* reftests/Makefile.am: remove whitespace following trailing backslashThomas Hindoe Paaboel Andersen2013-04-051-2/+2
|
* Updated kn translationsShankar Prasad2013-04-061-796/+847
|
* broadway: Unsure we clear the grab on window hideAlexander Larsson2013-04-053-0/+29
|
* broadway: Fix warningAlexander Larsson2013-04-051-1/+1
| | | | Don't pass NULL source_device in grab/ungrab events
* Updated kn translationsShankar Prasad2013-04-051-8272/+5283
|
* objects-finalize test: Blacklist gdk_pixbuf_simple_anim_iter_get_type()Tristan Van Berkom2013-04-051-1/+2
|
* wayland: Implement more keymap functionsMatthias Clasen2013-04-051-16/+53
| | | | | This commit implements gdk_keymap_get_entries_for_keyval and gdk_keymap_lookup_key.
* wayland: Implement gdk_keymap_get_entries_for_keycodeMatthias Clasen2013-04-051-3/+38
|
* Added test case to assert all object types finalize properly.Tristan Van Berkom2013-04-052-0/+118
| | | | | | | The test case uses a weak ref to assert objects can finalize, and then spins the main loop shortly after finalizing to assert that the finalized object did not leak GSources into the main context causing latent crashes.
* wayland: Always initialize directionsMatthias Clasen2013-04-041-23/+25
| | | | | I forgot to initialize directionm in gdk_wayland_keymap_new, leading to crash.
* build: bump required GLib version to 2.37.0Cosimo Cecchi2013-04-041-1/+1
|
* Updated Hungarian translationBalázs Úr2013-04-041-848/+1049
|
* bloatpad: add a test for GApplication's busy stateCosimo Cecchi2013-04-041-0/+28
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672018
* Fix gtk_window_set_opacity()Alexander Larsson2013-04-041-1/+2
| | | | | | | We *do* want to call gdk_window_set_opacity() on toplevels, because this particular case does work. https://bugzilla.gnome.org/show_bug.cgi?id=697263
* wayland: Emit ::direction-changed when appropriateMatthias Clasen2013-04-031-0/+5
| | | | | | We always emit direction-changed when we get a new keymap, but for state changes, we compare old and new direction and only emit the signal when the direction actually changes.
* wayland: Implement keymap directionMatthias Clasen2013-04-031-2/+88
| | | | This is very similar to the X11 implementation.
* wayland: display: Fix memory leakPavel Vasin2013-04-031-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=696767
* GtkHeaderBar: Fix memory leakPavel Vasin2013-04-031-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=696767
* GtkWindow: fix notify of :attached-toSébastien Wilmet2013-04-031-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=697200
* broadway: Ensure we allocate shm surface space earlyAlexander Larsson2013-04-031-0/+7
| | | | This is nicer then getting random sigbus later
* Broadway: Fix shm namesAlexander Larsson2013-04-031-1/+1
| | | | | We were sometimes getting zero chars in the name, making them shorter, due to an off-by-zero in the size.
* broadway: destroy old surface before creating new oneAlexander Larsson2013-04-031-4/+1
| | | | | | We were not using the old one anyway, and this may in some cases use less memory (although in most cases the server has a ref to the surface anyway).
* window: don't schedule a display of mnemonics if window has no modifierCosimo Cecchi2013-04-021-0/+3
| | | | | | | | | | | | | | When the window has no mnemonics modifier set, as in the case of a GtkMenu, never schedule a display of mnemonics on focus-in. Previously, for those windows, the GdkModifierType mask fetched from the device would typically have been zero, leading to the mnemonic_modifier == (mask & gtk_accelerator_get_default_mod_mask ()) check to succeed, so we would always trigger a display for popup menus. https://bugzilla.gnome.org/show_bug.cgi?id=697144
* window: refactor a functionCosimo Cecchi2013-04-021-5/+8
| | | | | | | Instead of having maybe_set_mnemonics_visible(), separate the checks from the actual scheduling of mnemonics display. https://bugzilla.gnome.org/show_bug.cgi?id=697144
* window: rename functions dealing with mnemonic delayed displayCosimo Cecchi2013-04-023-16/+16
| | | | | | | | Don't mention "auto mnemonics", since those methods are purely about scheduling a delayed display, and that makes understanding the code a bit harder. https://bugzilla.gnome.org/show_bug.cgi?id=697144
* window: reset timeout source id before setting propertyCosimo Cecchi2013-04-021-2/+2
| | | | | | | gtk_window_set_mnemonics_visible() will try to g_source_remove() it otherwise, which seems harmless, but conceptually wrong. https://bugzilla.gnome.org/show_bug.cgi?id=697144
* Updated Polish translationWojciech Szczęsny2013-04-021-102/+103
|
* gdkdisplay: Warn if asked for a non-zero screen not a zero screenRob Bradford2013-04-021-1/+1
| | | | | Following on from a6b29d73 this commit correctly warn if you try and use deprecated multiple screen behaviour.
* style: Add missing deprecation markersBenjamin Otte2013-04-024-1/+34
| | | | | | | | Some functions in gtkstyle.h were overlooked when we added the GDK_DEPRECATED macros. Also add IGNORE_DEPRECATIONS to the few remaining callers of those functions.
* window: Remove call to gtk_widget_reset_rc_styles()Benjamin Otte2013-04-021-1/+0
| | | | | | | | | First of all, that call is deprecated. Second, we don't have RC styles anymore. Third, what that function does today is invalidate style contexts, but that happens automatically when setting the screen on the style context later. So this function is completely unnecessary.
* broadway: Mark deprecated function callBenjamin Otte2013-04-021-0/+2
| | | | | ... to avoid gcc warning us. Ideally, we'd not call a deprecated function here, but I'm lazy.
* broadway: Don't use deprecated APIBenjamin Otte2013-04-021-1/+1
|
* celrendererspinner: Don't use deprecated APIBenjamin Otte2013-04-021-1/+1
|
* widget: Get rid of deprecation warningsBenjamin Otte2013-04-021-0/+4
|
* testsensitive: Remove deprecated partBenjamin Otte2013-04-021-24/+0
|
* gdkdisplay: Remove get_screen() and get_n_screens() vfuncsBenjamin Otte2013-04-026-80/+3
|
* Mention display:screen change in release notesMatthias Clasen2013-04-011-1/+11
|
* tests: improve gtkmenu testcaseRyan Lortie2013-04-011-2/+184
| | | | | | | | | | Don't just create a menushell and populate it with random data -- verify that the resulting menu layout is actually correct. This is introduced in a separate commit because the old code was failing this part of the test. https://bugzilla.gnome.org/show_bug.cgi?id=696468
* Introduce GtkMenuTrackerRyan Lortie2013-04-018-328/+598
| | | | | | | | | | | | | | | | | GtkMenuTracker folds a nested structure of sections in a GMenuModel into a single linear menu, which it expresses to its user by means of 'insert item at position' and 'remove item at position' callbacks. The logic for where to insert separators and how to handle action namespaces is contained within the tracker, removing the need to have this logic duplicated in the 3 or 4 places that consume GMenuModel. In comparison with the previous code, the tracker no longer completely destroys and rebuilds menus every time a single change occurs. As a result, the new gtkmenu testcase now runs in approximately 3 seconds instead of ~60 before. https://bugzilla.gnome.org/show_bug.cgi?id=696468
* tests: add a test for gtk_menu_shell_bind()Ryan Lortie2013-04-012-0/+255
| | | | | | | Borrow the RandomMenu code from the GLib testsuite and hook it up to gtk_menu_shell_bind(). https://bugzilla.gnome.org/show_bug.cgi?id=696468
* gtktextattributes: move comment above relevant structSébastien Wilmet2013-04-011-8/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=697048
* GtkTextTagTable: simplify a bit the codeSébastien Wilmet2013-04-011-68/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=697048
* GtkTextView: remove some dead codeSébastien Wilmet2013-04-012-6/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=697048
* gtktextattributes: explain what is "pg_bg"Sébastien Wilmet2013-04-011-0/+2
| | | | | | I didn't know what "pg" stands for. https://bugzilla.gnome.org/show_bug.cgi?id=697048