summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* gtk: Use GDK_AVAILABLE_IN_ALL for generated enum typesMatthias Clasen2013-05-054-1/+5
| | | | | | 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.
* Just ignore deprecations inside deprecated/Matthias Clasen2013-05-0513-0/+13
| | | | Not worth tracking uses of deprecated API individually 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.
* 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.
* 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.
* widget: fix two typos in api-docsStefan Sauer2013-05-031-2/+2
|
* 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-021-11/+8
| | | | | | 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.
* a11y: Remove AtkSelection implementation from comboboxBenjamin Otte2013-05-021-107/+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 "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.
* Silence a compiler warningMatthias Clasen2013-05-011-1/+1
|
* Minor doc comment fixMatthias Clasen2013-05-011-1/+1
|
* Make gtkplacessidebar.h look like a gtk headerMatthias Clasen2013-05-011-14/+21
|
* GtkPlacesSidebar: Correct all since tagsMatthias Clasen2013-05-011-18/+18
|
* paned: Fixup recent commitBenjamin Otte2013-05-011-3/+5
| | | | | | | d90e3670cef44c688763f15d5695f84ebe985855 had a bunch of embarrassing bugs. Fixes paned-undersized reftest.
* tests: Comment out unused functionsBenjamin Otte2013-05-011-1/+1
|
* window: last size is more important than default sizeBenjamin Otte2013-05-011-4/+5
| | | | | | reorder size computation code to reflect that. https://bugzilla.gnome.org/show_bug.cgi?id=696882
* window: Deprecate gtk_window_reshow_with_initial_size()Benjamin Otte2013-05-012-0/+5
|
* paned: Correctly compute child sizes in size requestsBenjamin Otte2013-05-011-2/+83
|
* gtkprivate: #define OPPOSITE_ORIENTATIONBenjamin Otte2013-05-014-10/+13
| | | | and use it
* paned: Split size request codeBenjamin Otte2013-05-011-77/+54
| | | | | The code is pretty different for both cases, so better split things here.
* paned: Split out a functionBenjamin Otte2013-05-011-35/+60
|
* button: Rework size request/allocation codeBenjamin Otte2013-05-011-77/+56
| | | | | - Split out a common function - Implement hfw properly.
* widget: Improve debug outputBenjamin Otte2013-05-011-1/+2
|
* button: Use _gtk_widget_get_preferred_size_for_size()Benjamin Otte2013-05-011-4/+6
| | | | This was accidently lost when merging baseline support.
* widget: Adapt _gtk_widget_get_preferred_size_for_size()Benjamin Otte2013-05-015-14/+31
| | | | ... for baseline support byu taking two extra (possible NULL) arguments.
* Disable the filechooser template testsMatthias Clasen2013-05-011-0/+4
| | | | | The places sidebar breaks the finalization checks in these tests https://bugzilla.gnome.org/show_bug.cgi?id=699393
* Disable the object-finalize test for nowMatthias Clasen2013-05-011-3/+3
| | | | | GtkPlacesSidebar breaks this: https://bugzilla.gnome.org/show_bug.cgi?id=699393
* Add missing symbolsMatthias Clasen2013-05-011-0/+4
|
* Revert "Don't build gtk-launch when gio-unix is not available"Hib Eris2013-05-011-4/+3
| | | | | | | | | | | | The gtk-launch tool can be build without gio-unix (although it will not really do much without an alternative implementation for g_desktop_app_info). So there is no need to not build gtk-launch anymore. This reverts commit 9a1235bf0dbdb1701779bec0ccae043cc4243ce5. https://bugzilla.gnome.org/show_bug.cgi?id=682824
* Fix a typoMatthias Clasen2013-04-291-1/+1
| | | | | Modifed should be Modified. https://bugzilla.gnome.org/show_bug.cgi?id=699225
* gtksizerequestcache: Fix typo that lead to crash/leakAlexander Larsson2013-04-291-1/+1
| | | | | We were checking for cache->requests_x but freeing cache->requests_y which could cause a crash/leak.
* docs: Add GtkWidget::show,hide,map,unmap,realize,unrealizeDavid King2013-04-291-0/+32
| | | | | | Add gtk-doc comments for several signals on GtkWidget. https://bugzilla.gnome.org/show_bug.cgi?id=688896
* docs: Add (inout) to requisition of gtk_menu_item_toggle_size_request()David King2013-04-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675571