summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Just ignore deprecations inside deprecated/Matthias Clasen2013-05-0513-0/+13
| | | | Not worth tracking uses of deprecated API individually here.
* Use _GDK_EXTERN when defining the decoratorsMatthias Clasen2013-05-051-25/+29
| | | | | | | Make all GDK_DEPRECATED and GDK_AVAILABLE macros use a new _GDK_EXTERN macro. _GDK_EXTERN defaults to just 'extern' but a subsequent commit will add visibility handling to it while building GTK+.
* Add GDK_AVAILABLE_IN_ALL annotations in gdkMatthias Clasen2013-05-0570-3/+593
| | | | | This is in preparation to modernizing our handing of exported symbols.
* Use GDK_AVAILABLE_IN_ALL for generated enum typesMatthias Clasen2013-05-051-1/+2
| | | | | | glib-mkenums is not currently clever enough to know which version an enum type was added in, so just mark all the _get_type() functions as available in all versions.
* gdkversionmacros.h: add GDK_AVAILABLE_IN_ALLMatthias Clasen2013-05-051-0/+2
| | | | | | | | Add a macro to declare that a particular symbol is available in all versions of GTK+. All newly-added symbols should have proper version macros (like GDK_AVAILABLE_IN_3_4).
* gtk-demo: Include config.h firstMatthias Clasen2013-05-051-1/+2
| | | | | If config.h is included after gdkversionmacros.h, _GDK_EXTERN gets redefined and cpp doesn't like that.
* gtk-demo: Don't include config.h needlesslyMatthias Clasen2013-05-052-2/+0
| | | | It is not needed here.
* Remove an unused private functionMatthias Clasen2013-05-052-43/+0
| | | | | _gtk_text_layout_get_line_xrange was not exported and not used inside GTK+ either.
* Updated Tajik TranslationVictor Ibragimov2013-05-051-87/+56
|
* Always use gint for border_widthMatthias Clasen2013-05-045-5/+5
| | | | | | | This avoids an evil trap when doing MAX (..., ... - 2 * border_width) and the expression on the right gets promoted to unsigned, instead of going negative as you would expect. https://bugzilla.gnome.org/show_bug.cgi?id=699633
* window: handle titlebar property for the buildable interfaceIgnacio Casal Quinteiro2013-05-041-0/+24
|
* Some window size test tweaksMatthias Clasen2013-05-041-13/+70
| | | | | | Draw a checkerboard pattern, and add an interactive mode that waits for events before moving on. This makes it easier to see when a size is wrong.
* Add some more GtkWindow testsMatthias Clasen2013-05-041-0/+41
| | | | | | These tests check that a toplevel window ends up with the expected size after setting default sizes or resizing. It currently passes on X, but fails with client-side decorations under X and Wayland.
* Prevent criticals when initializing a Wayland displayMatthias Clasen2013-05-041-2/+2
| | | | | | | | When we call _gdk_wayland_display_load_cursor_theme during the initial opening of the first display, gdk_setting_get does not work yet, since it relies on the default display/screen being set, which only happens after open returns. Instead, just use the screen of this display.
* Fix setting child propertiesMatthias Clasen2013-05-031-4/+5
| | | | This was broken in e9f182e37a7f6e2dc339054841a3c9f930f573ed
* Don't clear data on a NULL screenMatthias Clasen2013-05-031-1/+1
| | | | This makes GtkSettings survive the object finalize test.
* Bug 606378 - gdk doesn't handle non-main thread rendering on QuartzJohn Ralls2013-05-031-5/+5
| | | | Document that the restrictions on Win32 apply also to Quartz.
* widget: fix two typos in api-docsStefan Sauer2013-05-031-2/+2
|
* reftests: Don't use spaces in Makefile first lineColin Walters2013-05-031-9/+9
| | | | Otherwise Emacs makes one's life miserable.
* treemodelsort: destroy the root only if we are removing the latest row of ↵Guillaume Desmottes2013-05-032-1/+34
| | | | | | | | | the level GtkIconView doesn't ref the rows of the model so we have to make sure that a level is actually empty before destroying it. https://bugzilla.gnome.org/show_bug.cgi?id=698846
* Make it possible to finalize theming enginesMatthias Clasen2013-05-021-1/+1
| | | | | This was broken since forever. Good that we never finalize theme engines...
* GtkInvisible behaves like GtkWindowMatthias Clasen2013-05-021-1/+1
| | | | | As far as refcounting is concerned, invisibles are like windows: you have to destroy them.
* Only check for finalization after a grace periodMatthias Clasen2013-05-021-3/+3
| | | | This makes the file chooser pass this test
* Prevent a segfault if GtkAppChooserDialog gets disposed earlyMatthias Clasen2013-05-021-0/+2
| | | | | | If the async call is finished after the dialog is already disposed, bad things happen. Prevent that by marking the dialog as dismissed in this case.
* gdk: Remove new gdk_display_manager_peek() APIBenjamin Otte2013-05-024-56/+25
| | | | | | It's not necessary anymore because gdk_display_manager_get() always succeeds and the value is independant of when it was called as it's no longer backend specific.
* window: Handle attach widget disappearing without weak pointersBenjamin Otte2013-05-022-5/+2
| | | | | Fixes the window not emitting a "notify::attached-to" signal when the attach-widget goes away.
* displaymanager: Remove GInitable implementationBenjamin Otte2013-05-022-53/+3
| | | | | This is not needed anymore, as only one type exists and that type can always be instantiated.
* broadway: Remove displaymanager implementationBenjamin Otte2013-05-025-152/+0
| | | | | This is an API break, but the broadway backend is unsupported, so we can get away with it.
* wayland: Remove displaymanager implementationBenjamin Otte2013-05-025-157/+0
| | | | | This is an API break, but the wayland backend is unsupported, so we can get away with it.
* displaymanager: Don't create backend-specific display managersBenjamin Otte2013-05-021-45/+7
| | | | | Just create a backend-agnostic displaymanager. Creating the displays later on determines the backend in use.
* displaymanager: Copy logic to display creationBenjamin Otte2013-05-021-6/+35
| | | | | | Use the same logic for display creation in gdk_display_manager_open_display() that is used for displaymanager creation.
* quartz: Move initialization code to display_class_initBenjamin Otte2013-05-022-12/+13
| | | | | This follows the same reasoning as the X11 backend in commit 0122a9da8eab518652553aa4e777d5caf18a6163
* win32: Call windowing init from display_class_init()Benjamin Otte2013-05-022-8/+2
| | | | | This follows the same reasoning as the X11 backend in commit 0122a9da8eab518652553aa4e777d5caf18a6163
* a11y: Remove AtkSelection implementation from comboboxBenjamin Otte2013-05-023-112/+1
| | | | | | | | | | AtkSelection requires that the immediate children of the object are the selectable items. The combobox however is implemented with just 1 child: The popup menu. The popup menu is implementing the selectable interface. Test are updated to reflect this change.
* Try this againMatthias Clasen2013-05-021-4/+7
| | | | | When the hostnamed call is cancelled, we get a G_IO_ERROR_CANCELLED error back. Handle it properly.
* Revert "Remove a superfluous ref"Matthias Clasen2013-05-021-2/+5
| | | | | | This reverts commit f326c0eac806b037c7100309887ffc5f9193070d. Grr, turns out that cancelling is not that reliable :-(
* Clear list of attached windows when disposing a widgetMatthias Clasen2013-05-021-0/+3
| | | | | We were silently relying on everybody to detach their windows, and would leak memory otherwise.
* GtkWindow: use a weak ref to keep track of attach_widgetMatthias Clasen2013-05-021-2/+2
| | | | | Taking a full reference of the attach widget creates a reference cycle, and keeps the attach_widget alive longer than it should.
* Remove a superfluous refMatthias Clasen2013-05-021-5/+2
| | | | | | If we cancel the call in dispose, no need to ref the object we pass as userdata. Avoids the risk of leaking the ref if the call is actually canceled.
* Fix buildMatthias Clasen2013-05-021-1/+0
|
* Revert "Temporarily remove window-border reftest"Matthias Clasen2013-05-012-0/+40
| | | | This reverts commit cf6695088e1fe98acdd2ac2e3b5c2f0dd4e7cc5b.
* Revert "Disable the filechooser template tests"Matthias Clasen2013-05-011-3/+0
| | | | This reverts commit 17b9733372f763805b50165f945eee65517c8f06.
* Revert "Disable the object-finalize test for now"Matthias Clasen2013-05-011-3/+3
| | | | This reverts commit a021dc793c163fd427c28d13f49dbf7933d38a46.
* Reenable display manager testsMatthias Clasen2013-05-011-5/+1
| | | | Still broken, but they test the right thing.
* Bump versionMatthias Clasen2013-05-011-1/+1
|
* Remove window-border tests from makefile too3.9.0Matthias Clasen2013-05-011-2/+0
|
* Silence a compiler warningMatthias Clasen2013-05-011-1/+1
|
* Revert "Temporarily remove button-wrapping reftest"Matthias Clasen2013-05-012-0/+400
| | | | This reverts commit 851b631c4e8919530a49346118027a2acdf0a1b8.
* Fix up doc sectionsMatthias Clasen2013-05-011-2/+5
|
* Minor doc comment fixMatthias Clasen2013-05-011-1/+1
|