summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improve tests for X error traps, fix two bugsHavoc Pennington2010-09-183-10/+128
| | | | | | | | | | | | * don't lose track of previous X error handler if nested traps are pushed * free any remaining traps when display is finalized Test will fail unless bug 630032 is closed so gdk_display_close() works. https://bugzilla.gnome.org/show_bug.cgi?id=630033
* Fix bugs that crashed gdk_display_close() on x11Havoc Pennington2010-09-187-23/+55
| | | | | | | | * _gdk_device_set_associated_device() did not allow NULL device * GdkDisplay should dispose device manager to avoid devices trying to touch the display in finalize * GdkDeviceManagerXI did not ref devices in id hash * GdkDisplayX11 did not ref devices in ->input_devices
* Revamp and modernize X error trapsHavoc Pennington2010-09-1811-133/+489
| | | | | | | | | | | | | | | | | | | | | | | | * add per-display gdk_x11_display_error_trap_push() (X11-specific because gdk_error_trap_push() probably should have been) * make gdk_error_trap_push() handle only GDK displays not displays opened without a GDK wrapper * make gdk_error_trap_pop() and gdk_x11_display_error_trap_pop() automatically sync only if needed, so manual gdk_flush() is not required * add gdk_error_trap_pop_ignored() which just asynchronously ignores errors, so never needs to sync * add G_GNUC_WARN_UNUSED_RESULT to plain pop(), because if you use plain pop() and don't need the return value, the async gdk_error_trap_pop_ignored() should be used instead. This results in lots of warnings to clean up in a later patch. The main objective here was to avoid the need to sync just to ignore an error. Now, syncing is automatic, and only happens when we need to know the error code. https://bugzilla.gnome.org/show_bug.cgi?id=629608
* Add some minimal test for X error trapsMatthias Clasen2010-09-182-3/+68
|
* Replace crufty old code for gdk error traps with GQueue and GSliceHavoc Pennington2010-09-181-26/+9
| | | | | | No need to do a manual free list these days. https://bugzilla.gnome.org/show_bug.cgi?id=629608
* Remove trailing whitespace and obsolete doc comments from gdk_error_trap codeHavoc Pennington2010-09-181-30/+11
| | | | | | | (there are actual docs in the template file, these were some kind of pre-gtk-doc comments without useful info) https://bugzilla.gnome.org/show_bug.cgi?id=629608
* Add a couple of missing annotationsJohan Dahlin2010-09-185-14/+14
|
* [introspection] Do not parse private sourcesJohan Dahlin2010-09-181-1/+1
| | | | | | Private sources include private headers which we may not be able to parse properly since some of them use unsupported syntax such as objective-c.
* [introspection] Do not include internal apiJohan Dahlin2010-09-181-1/+1
| | | | | GtkTextLayout is internal and unsupported, do not include it in the gir
* depend on GLib 2.27.0Ryan Lortie2010-09-171-1/+1
|
* gail: Do not use deprecated gtk_cell_renderer_get_size()Javier Jardón2010-09-171-5/+20
| | | | | | Use gtk_cell_size_request_get_size() instead https://bugzilla.gnome.org/show_bug.cgi?id=629785
* Do not use deprecated gtk_cell_renderer_get_size()Javier Jardón2010-09-172-59/+74
| | | | | | Use gtk_cell_size_request_get_size() instead Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629785
* Change GtkEditable typedef from GtkEditableClass to GtkEditabeInterfaceJavier Jardón2010-09-177-28/+29
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=323904
* Fix a trivial typo in a doc commentMatthias Clasen2010-09-171-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=629733
* Add some element-type annotations to gtk apisMatthias Clasen2010-09-174-9/+13
|
* Fix a doc commentMatthias Clasen2010-09-171-1/+1
|
* Scan gdk/x11 sources for Gdk-3.0.girMatthias Clasen2010-09-171-0/+3
| | | | | The doc comments (with annotations) for some of the gdk api are down in x11/ sources, so we need to scan those too, when building Gdk-3.0.gir.
* Add annotationsMatthias Clasen2010-09-1710-13/+22
| | | | The goi scanner warns about these nowadays.
* Update Simplified Chinese translation of po-properties.Aron Xu2010-09-161-1650/+1768
|
* Rename h/v-align to h/valignMatthias Clasen2010-09-156-79/+179
| | | | | | And adjust the getters and setters to match. Also include some documentation by Havoc Pennington about adjustment of size requests and allocations.
* introspection: Only use 0.9.3 APIColin Walters2010-09-152-2/+2
|
* Update Czech translationPetr Kovar2010-09-151-2044/+2071
|
* Update Czech translationPetr Kovar2010-09-151-1119/+489
|
* Add docs for new APIMatthias Clasen2010-09-152-0/+107
|
* Add new api to gtk.symbolsMatthias Clasen2010-09-151-0/+12
|
* Use gint instead of in for local consistencyMatthias Clasen2010-09-152-16/+16
|
* Added a default size of a magic number to testwrapbox.cTristan Van Berkom2010-09-161-0/+6
| | | | | | | | | This was added to the test only for the sake of making it easier to reproduce a bug with scrolled windows (bug 629778). Expected behaviour: The vertical scrollbar should dissapear as soon as the required height for the full allocation width (without any vertical scrollbar) is small enough to not need a scrollbar.
* gdk: Only use XComposite if it is availableSebastian Dröge2010-09-151-0/+2
| | | | Fixes build if it isn't available. Bug #629748.
* Fix build on WindowsTor Lillqvist2010-09-151-9/+7
| | | | | No idea of the widget embedding crack has worked in recent versions, even less now. But at least it now compiles.
* spinner: Dont inherit from GtkDrawingArea part 2.Tristan Van Berkom2010-09-151-3/+3
| | | | | | | | Seems commit 7b42d4feda5448cf4f929aeb79f56ba9e524ac39 makes GtkSpinner a direct subclass of GtkWidget but forgets to update the header file to include gtkwidget.h instead and declare the instance and class structures properly (assuming this was just a missed file in the commit).
* spinner: timeout should add/remove in map/unmap, not realize/unrealize.Javier Jardón2010-09-151-18/+14
| | | | Otherwise hiding the spinner won't stop it
* gtkentry: remove unnneded check in map/unmap functionsJavier Jardón2010-09-151-20/+14
|
* Add deprecation guards for gtk_widget_size_request()Javier Jardón2010-09-152-0/+4
|
* demos: Use gtk_size_request_get_size() instead gtk_widget_size_request()Javier Jardón2010-09-151-1/+2
|
* Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()Javier Jardón2010-09-1552-144/+284
| | | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598 Signed-off-by: Javier Jardón <jjardon@gnome.org> Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
* [l10n] Updated German translationChristian Kirbach2010-09-141-2170/+2775
|
* Adjusted new documentation for GtkSizeGroup.Tristan Van Berkom2010-09-151-1/+7
|
* Added documentation to gtksizegroup.sgml explaining what happens with ↵Tristan Van Berkom2010-09-151-0/+9
| | | | | | | | height-for-width widgets. When grouping height-for-width trading widgets (wrapping labels for instance) vertically; the height for the minimum width will always be used for the entire group... this patch warns about this in the docs.
* Fixed GtkSizeGroups to adjust both minimum and natural requisitionsTristan Van Berkom2010-09-153-61/+55
| | | | | | Originally the GtkSizeRequestIface patches left GtkSizeGroup working only by bumping the minimum sizes - this commit fixes size groups to take both minimum and natural requests into account.
* Add deprecation guards for gtk_cell_view_get_size_of_row()Javier Jardón2010-09-142-0/+4
|
* spinner: Don't inherit from drawing areaBenjamin Otte2010-09-141-1/+1
| | | | | A drawing area is not meant to be subclassed from. It also doesn't provide any feature a spinner would need either.
* spinner: Implement the size request interfaceBenjamin Otte2010-09-141-4/+37
| | | | Doing size requests in expose is broken.
* spinner: Move G_DEFINE_TYPE() below function definitionsBenjamin Otte2010-09-141-4/+2
| | | | Also remove redundant double definition.
* wrapbox: Lookie, an unused variableBenjamin Otte2010-09-141-1/+0
|
* spinner: Define desired size at top of fileBenjamin Otte2010-09-141-2/+4
| | | | No magic numbers in the code please
* GtkWrapBox: let GtkContainer handle border widthMatthias Clasen2010-09-131-30/+11
|
* Remove fill options from GtkWrapBoxMatthias Clasen2010-09-133-88/+8
| | | | GtkWidget alignment properties make this unnecessary in new containers.
* Remove padding from GtkWrapBoxMatthias Clasen2010-09-134-426/+243
| | | | GtkWidget margins make this unnecessary in new containers.
* GtkBox: let GtkContainer handle border widthMatthias Clasen2010-09-131-38/+21
|
* Add deprecation guards for gtk_widget_get_child_requisition()Javier Jardón2010-09-132-0/+4
|