]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agostyle: Convert draw_resize_grip vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:13:26 +0000 (15:13 +0200)]
style: Convert draw_resize_grip vfunc to Cairo version

Includes removal of now unused draw_simple_image_no_cairo() function
from pixbuf engine.

13 years agostyle: Convert draw_layout vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:21:01 +0000 (15:21 +0200)]
style: Convert draw_layout vfunc to Cairo version

13 years agostyle: Convert draw_expander vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:26:19 +0000 (15:26 +0200)]
style: Convert draw_expander vfunc to Cairo version

13 years agostyle: Convert draw_handle vfunc to Cairo version
Benjamin Otte [Tue, 17 Aug 2010 01:26:20 +0000 (03:26 +0200)]
style: Convert draw_handle vfunc to Cairo version

13 years agostyle: Convert draw_slider vfunc to Cairo version
Benjamin Otte [Tue, 17 Aug 2010 00:46:46 +0000 (02:46 +0200)]
style: Convert draw_slider vfunc to Cairo version

13 years agostyle: Convert draw_focus vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:24:46 +0000 (22:24 +0200)]
style: Convert draw_focus vfunc to Cairo version

13 years agostyle: Convert draw_extension vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:19:56 +0000 (22:19 +0200)]
style: Convert draw_extension vfunc to Cairo version

13 years agostyle: Convert draw_box_gap vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:15:43 +0000 (22:15 +0200)]
style: Convert draw_box_gap vfunc to Cairo version

Includes removal of now unused draw_gap_image_no_cairo() function from
pixbuf theme engine.

13 years agostyle: Convert draw_shadow_gap vfunc to a Cairo version
Benjamin Otte [Mon, 16 Aug 2010 14:09:11 +0000 (16:09 +0200)]
style: Convert draw_shadow_gap vfunc to a Cairo version

13 years agostyle: Convert draw_tab vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 20:10:00 +0000 (22:10 +0200)]
style: Convert draw_tab vfunc to Cairo version

13 years agostyle: Convert draw_option vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 19:58:15 +0000 (21:58 +0200)]
style: Convert draw_option vfunc to Cairo version

13 years agostyle: Convert draw_check vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 19:55:02 +0000 (21:55 +0200)]
style: Convert draw_check vfunc to Cairo version

13 years agostyle: Convert draw_flat_box vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 19:50:08 +0000 (21:50 +0200)]
style: Convert draw_flat_box vfunc to Cairo version

13 years agostyle: Convert draw_shadow vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:48:06 +0000 (15:48 +0200)]
style: Convert draw_shadow vfunc to Cairo version

13 years agostyle: Convert draw_vline vfunc to a Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:40:03 +0000 (15:40 +0200)]
style: Convert draw_vline vfunc to a Cairo version

13 years agostyle: Convert draw_hline vfunc to Cairo version
Benjamin Otte [Mon, 16 Aug 2010 13:35:58 +0000 (15:35 +0200)]
style: Convert draw_hline vfunc to Cairo version

13 years agoAPI: change gtk_style_apply_default_background()
Benjamin Otte [Mon, 16 Aug 2010 19:36:49 +0000 (21:36 +0200)]
API: change gtk_style_apply_default_background()

It now takes a cr to apply the default background to. And it no longer
takes a set_bg parameter

13 years agopixbuf-engine: Add Cairo version for draw_gap_image()
Benjamin Otte [Tue, 17 Aug 2010 02:47:02 +0000 (04:47 +0200)]
pixbuf-engine: Add Cairo version for draw_gap_image()

13 years agopixbuf-engine: Add Cairo version for draw_simple_image()
Benjamin Otte [Tue, 17 Aug 2010 02:43:11 +0000 (04:43 +0200)]
pixbuf-engine: Add Cairo version for draw_simple_image()

13 years agopixbuf-engine: Make theme_pixbuf_render take a cairo_t
Benjamin Otte [Tue, 17 Aug 2010 02:37:03 +0000 (04:37 +0200)]
pixbuf-engine: Make theme_pixbuf_render take a cairo_t

This is in preparation for the theme engine switch to Cairo. We keep the
old function around so that we can step-by-step upgrade all the vfuncs.

13 years agopixbuf-engine: Get rid of unused mask argument
Benjamin Otte [Tue, 17 Aug 2010 02:30:10 +0000 (04:30 +0200)]
pixbuf-engine: Get rid of unused mask argument

13 years agonotebook: Fix compilation warnings
Benjamin Otte [Sun, 26 Sep 2010 13:02:00 +0000 (15:02 +0200)]
notebook: Fix compilation warnings

A quark is not a pointer.

13 years agomenu: Remove unused variable
Benjamin Otte [Sun, 26 Sep 2010 13:01:52 +0000 (15:01 +0200)]
menu: Remove unused variable

13 years agoGtkScrolledWindow: document changed default policy
Matthias Clasen [Sat, 25 Sep 2010 15:18:28 +0000 (11:18 -0400)]
GtkScrolledWindow: document changed default policy

13 years agoNuke the 'Types' section from the docs
Matthias Clasen [Sat, 25 Sep 2010 03:03:51 +0000 (23:03 -0400)]
Nuke the 'Types' section from the docs

13 years agoRemove mention of input dialog from the docs
Matthias Clasen [Sat, 25 Sep 2010 02:16:53 +0000 (22:16 -0400)]
Remove mention of input dialog from the docs

13 years agoGtkOffscreenWindow: shorten doc title
Matthias Clasen [Sat, 25 Sep 2010 02:13:42 +0000 (22:13 -0400)]
GtkOffscreenWindow: shorten doc title

13 years agoGtkScale: Remove links from doc section title
Matthias Clasen [Sat, 25 Sep 2010 01:52:58 +0000 (21:52 -0400)]
GtkScale: Remove links from doc section title

13 years agoGtkMenu: Add a destroy notify to gtk_menu_popup_for_device
Matthias Clasen [Fri, 24 Sep 2010 17:52:49 +0000 (13:52 -0400)]
GtkMenu: Add a destroy notify to gtk_menu_popup_for_device

This is necessary so language bindings can use gtk_menu_popup_for_device()
as a 'full' variant of gtk_menu_popup().

http://bugzilla.gnome.org/show_bug.cgi?id=623664

13 years agoUpdate docs of GtkAboutDialog and GtkLinkButton
Matthias Clasen [Fri, 24 Sep 2010 17:41:29 +0000 (13:41 -0400)]
Update docs of GtkAboutDialog and GtkLinkButton

Remove references to global hooks from the docs. Also move remaining
docs inline, and remove the templates.

13 years agoDND: don't use uninitialized memory
Matthias Clasen [Fri, 24 Sep 2010 17:23:47 +0000 (13:23 -0400)]
DND: don't use uninitialized memory

The dest_x/y members of GtkDragDestInfo were not initialized.
At the same time, switch some of the small temporary structs
to g_slice allocation.

https://bugzilla.gnome.org/show_bug.cgi?id=630532

13 years agoGtkAboutDialog: correct a since tag
Matthias Clasen [Fri, 24 Sep 2010 16:42:34 +0000 (12:42 -0400)]
GtkAboutDialog: correct a since tag

13 years agogtkeditable: move documentation to inline comments
Christian Dywan [Fri, 24 Sep 2010 16:40:12 +0000 (18:40 +0200)]
gtkeditable: move documentation to inline comments

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=617316
13 years agointrospection: Fix typo in annotation
Florian Müllner [Fri, 24 Sep 2010 16:03:25 +0000 (18:03 +0200)]
introspection: Fix typo in annotation

13 years agoDon't try to unref event->dnd.context unconditionally.
Tomeu Vizoso [Fri, 24 Sep 2010 14:30:07 +0000 (16:30 +0200)]
Don't try to unref event->dnd.context unconditionally.

As it's not set in gdk_event_new but eventually later.

https://bugzilla.gnome.org/show_bug.cgi?id=630520

13 years agoGtkAboutDialog: escape mail addresses
Matthias Clasen [Fri, 24 Sep 2010 16:02:37 +0000 (12:02 -0400)]
GtkAboutDialog: escape mail addresses

This got lost when converting to the ::activate-link signal.

13 years agoRemove gtk_notebook_set_window_creation_hook in testnotebookdnd.c
Matthias Clasen [Fri, 24 Sep 2010 15:53:20 +0000 (11:53 -0400)]
Remove gtk_notebook_set_window_creation_hook in testnotebookdnd.c

13 years agoAnother since tag
Matthias Clasen [Fri, 24 Sep 2010 15:31:23 +0000 (11:31 -0400)]
Another since tag

13 years agoCorrect since tags
Matthias Clasen [Fri, 24 Sep 2010 15:29:17 +0000 (11:29 -0400)]
Correct since tags

13 years agoGtkNotebook: replace group by group_name
Matthias Clasen [Fri, 24 Sep 2010 15:13:30 +0000 (11:13 -0400)]
GtkNotebook: replace group by group_name

Dealing with bare pointers is problematic for language bindings,
using interned strings is much more straightforward and more than
good enough for what is needed here.

http://bugzilla.gnome.org/show_bug.cgi?id=630521

13 years agoGtkNotebook: remove gtk_notebook_set_window_creation_hook
Matthias Clasen [Fri, 24 Sep 2010 15:10:51 +0000 (11:10 -0400)]
GtkNotebook: remove gtk_notebook_set_window_creation_hook

http://bugzilla.gnome.org/show_bug.cgi?id=630521

13 years agodocs: Add a CODING-STYLE document
Matthias Clasen [Fri, 24 Sep 2010 02:26:07 +0000 (22:26 -0400)]
docs: Add a CODING-STYLE document

This document mostly codifies the existing GTK+ coding style
conventions; it is strongly based on the clutter document of
the same name.

13 years agodocs: remove defsformat.txt
Matthias Clasen [Fri, 24 Sep 2010 02:19:35 +0000 (22:19 -0400)]
docs: remove defsformat.txt

We should not ship documentation for file formats we are no longer
using.

13 years agodocs: remove gtk-config.txt
Matthias Clasen [Fri, 24 Sep 2010 02:18:24 +0000 (22:18 -0400)]
docs: remove gtk-config.txt

Considering that gtk-config has been obsoleted by pkg-config
a decade ago, we should stop shipping docs for it...

13 years agoBump gobject-introspection dep in INSTALL.in
Matthias Clasen [Thu, 23 Sep 2010 20:46:58 +0000 (16:46 -0400)]
Bump gobject-introspection dep in INSTALL.in

13 years agoFix a couple of broken annotations
Johan Dahlin [Thu, 23 Sep 2010 20:56:48 +0000 (17:56 -0300)]
Fix a couple of broken annotations

13 years agoFix the annotation of gtk_tree_view_create_row_drag_icon
Matthias Clasen [Thu, 23 Sep 2010 17:16:54 +0000 (13:16 -0400)]
Fix the annotation of gtk_tree_view_create_row_drag_icon

13 years agofix a typo in the gtk_widget_render_icon annotations
Matthias Clasen [Thu, 23 Sep 2010 17:09:21 +0000 (13:09 -0400)]
fix a typo in the gtk_widget_render_icon annotations

13 years agoUpdated Japanese translation
Takayuki KUSANO [Thu, 23 Sep 2010 17:16:55 +0000 (02:16 +0900)]
Updated Japanese translation

13 years agoINSTALL.in: Automate the versions of the dependencies
Javier Jardón [Thu, 23 Sep 2010 15:22:13 +0000 (17:22 +0200)]
INSTALL.in: Automate the versions of the dependencies

13 years agoUpdated Danish translation
Kenneth Nielsen [Wed, 22 Sep 2010 20:58:04 +0000 (22:58 +0200)]
Updated Danish translation

13 years agoFixed GtkWrapBox base requests for ALIGNED and FREE mode
Tristan Van Berkom [Wed, 22 Sep 2010 07:03:37 +0000 (16:03 +0900)]
Fixed GtkWrapBox base requests for ALIGNED and FREE mode

Problems were; in FREE mode there was a simple typo where we were
repeatedly checking the size of the same item in get_largest_line_length(),
and in ALIGNED mode we were assuming something like HOMOGENEOUS which
was incorrect; added get_largest_aligned_line_length() which properly
adds up the collective max sizes of every index in the line.

13 years agoFixed gtk_distribute_natural_allocation() to place the g_newa *after* g_return_if_fai...
Tristan Van Berkom [Wed, 22 Sep 2010 04:57:35 +0000 (13:57 +0900)]
Fixed gtk_distribute_natural_allocation() to place the g_newa *after* g_return_if_fail() guards.

13 years agoRemove url hooks from GtkAboutDialog and GtkLinkButton
Matthias Clasen [Wed, 22 Sep 2010 01:55:05 +0000 (21:55 -0400)]
Remove url hooks from GtkAboutDialog and GtkLinkButton

With gtk_show_uri, global configurability of link activation has
moved to GIO/gvfs. For local overrides, GtkLinkButton has the ::clicked
signal, and GtkAboutDialog gets an ::activate-link signal.

Bug 339745

13 years agoFixed GtkViewport to set adjustments properly for width-for-height widgets
Tristan Van Berkom [Wed, 22 Sep 2010 03:48:37 +0000 (12:48 +0900)]
Fixed GtkViewport to set adjustments properly for width-for-height widgets

Make GtkViewport calculate widget-for-height as well as height-for-width
cases when setting the scroll adjustment values, also base the scrolling
on the minimum size instead of the natural size in the interest of showing
as much content as possible when the viewport is smaller than the natural
size.

13 years agoDo not disable GDK deprecation guards
Javier Jardón [Wed, 22 Sep 2010 02:28:53 +0000 (04:28 +0200)]
Do not disable GDK deprecation guards

13 years agoDo not disable deprecation guards
Javier Jardón [Wed, 22 Sep 2010 02:20:11 +0000 (04:20 +0200)]
Do not disable deprecation guards

13 years agoAdd deprecation guards for gdk_device_get_core_pointer()
Javier Jardón [Wed, 22 Sep 2010 01:53:23 +0000 (03:53 +0200)]
Add deprecation guards for gdk_device_get_core_pointer()

13 years agoDo not use deprecated gdk_display_get_core_pointer()
Javier Jardón [Mon, 13 Sep 2010 00:50:45 +0000 (02:50 +0200)]
Do not use deprecated gdk_display_get_core_pointer()

Use gdk_device_manager_get_client_pointer() instead

13 years agoFix an off-by-one error in serial range handling
Matthias Clasen [Wed, 22 Sep 2010 01:10:15 +0000 (21:10 -0400)]
Fix an off-by-one error in serial range handling

trap->end_sequence is the first serial for which we don't
ignore errors anymore, so we know the trap is dead if
end_sequence <= processed_serial.

Bug 629608

13 years agoGtkScrolledWindow: change default policy to 'automatic'
Matthias Clasen [Wed, 22 Sep 2010 00:14:46 +0000 (20:14 -0400)]
GtkScrolledWindow: change default policy to 'automatic'

This change was proposed in bug 468672.

13 years agoMerge branch 'notebooks-without-mouse-scrolling'
Cody Russell [Tue, 21 Sep 2010 21:19:10 +0000 (16:19 -0500)]
Merge branch 'notebooks-without-mouse-scrolling'

13 years agoRemove mouse scrolling from GtkNotebook tabs. Bug #630226.
Cody Russell [Tue, 21 Sep 2010 21:18:22 +0000 (16:18 -0500)]
Remove mouse scrolling from GtkNotebook tabs.  Bug #630226.

13 years agoautogen.sh: run gtkdocize before aclocal
Matthias Clasen [Tue, 21 Sep 2010 16:45:51 +0000 (12:45 -0400)]
autogen.sh: run gtkdocize before aclocal

13 years agoSplit up GtkWrapBox:spreading property into two orientation specific properties.
Tristan Van Berkom [Tue, 21 Sep 2010 09:31:02 +0000 (18:31 +0900)]
Split up GtkWrapBox:spreading property into two orientation specific properties.

Now GtkWrapBox has "horizontal-spreading" and "vertical-spreading" options,
before GtkWrapBox never spread out children across the opposing orientation
(i.e. it never grew "lines" larger then their natural width, they would
act as if set to GTK_WRAP_BOX_SPREAD_START, now they are completely configurable).

13 years agoconfigure.ac: remove check for sigsetjmp(), it belonged to gdk-pixbuf
Michael Natterer [Tue, 21 Sep 2010 10:35:37 +0000 (12:35 +0200)]
configure.ac: remove check for sigsetjmp(), it belonged to gdk-pixbuf

13 years agoUse g_warning() for X errors and X IO errors
Owen W. Taylor [Tue, 21 Sep 2010 04:30:46 +0000 (00:30 -0400)]
Use g_warning() for X errors and X IO errors

Currently fprintf(stderr, ...) is used for X error and X IO errors
(unless compiled with debugging, in which case g_error() is used for
X errors.)

But if an application is redirecting log messages, we really want
X errors to appear in that same log, so it's better to use a g_logv()
variant.

Though g_warning() isn't really appropriate for "lost connection to the
server", G_LOG_LEVEL_INFO isn't part of the "prefixed log levels"
so will produce output without the application name and PID.

https://bugzilla.gnome.org/show_bug.cgi?id=630216

13 years agoTons of transfer annotations
Matthias Clasen [Tue, 21 Sep 2010 04:18:11 +0000 (00:18 -0400)]
Tons of transfer annotations

13 years agoReduced overall SizeRequestCache size
Tristan Van Berkom [Tue, 21 Sep 2010 03:52:49 +0000 (12:52 +0900)]
Reduced overall SizeRequestCache size

This patch changes the 'age' counting previous approach taken
verbatim from clutter and changes it for a counter of validated
caches and an index to the last cached value which we use to
round-robin through the cache if ever a widget is requested
for more than 3 contextual sizes (cache is reduced by 3 * sizeof (int)
per widget private data).

13 years agoAdd a couple of missing transfer annotations
Johan Dahlin [Tue, 21 Sep 2010 02:45:01 +0000 (23:45 -0300)]
Add a couple of missing transfer annotations

13 years agoFixup gtk-doc comment syntax
Johan Dahlin [Tue, 21 Sep 2010 02:39:56 +0000 (23:39 -0300)]
Fixup gtk-doc comment syntax

13 years agoMore error trap cleanups
Matthias Clasen [Mon, 20 Sep 2010 20:38:48 +0000 (16:38 -0400)]
More error trap cleanups

Remove syncs in front of gdk_error_trap_pop() calls, and convert
gdk_error_trap_pop() calls to gdk_error_trap_pop_ignored() in gdk.

13 years agoOnly store error codes in inner-most X error trap
Owen W. Taylor [Mon, 20 Sep 2010 20:12:11 +0000 (16:12 -0400)]
Only store error codes in inner-most X error trap

When an error occurs with nested traps in place, only the innermost
trap should have the error code stored in it; outer traps are
shielded by the inner trap.

https://bugzilla.gnome.org/show_bug.cgi?id=629608

13 years agoAdd a ug.po for po-properties, re-enable ug in LINGUAS.
Aron Xu [Mon, 20 Sep 2010 20:16:29 +0000 (20:16 +0000)]
Add a ug.po for po-properties, re-enable ug in LINGUAS.

13 years agopo: Disable ug localization
Emmanuele Bassi [Mon, 20 Sep 2010 12:51:38 +0000 (13:51 +0100)]
po: Disable ug localization

The ug.po file is missing from the po-properties directory and it's
breaking the build.

13 years agoUpdated Japanese translation
Takayuki KUSANO [Mon, 20 Sep 2010 09:50:58 +0000 (18:50 +0900)]
Updated Japanese translation

13 years agoUpdated Gujarati Translations
Sweta Kothari [Mon, 20 Sep 2010 07:20:44 +0000 (12:50 +0530)]
Updated Gujarati Translations

13 years agoAdd ug to LINGUAS.
Aron Xu [Mon, 20 Sep 2010 05:17:10 +0000 (05:17 +0000)]
Add ug to LINGUAS.

13 years agoAdd new error trap api to gdk.symbols and gdk3-sections.txt
Matthias Clasen [Mon, 20 Sep 2010 02:42:19 +0000 (22:42 -0400)]
Add new error trap api to gdk.symbols and gdk3-sections.txt

13 years agoAdd deprecation guards for gtk_cell_renderer_get_size()
Javier Jardón [Sun, 19 Sep 2010 15:46:13 +0000 (17:46 +0200)]
Add deprecation guards for gtk_cell_renderer_get_size()

13 years agoUpdated Danish translation
Kenneth Nielsen [Sun, 19 Sep 2010 15:40:56 +0000 (17:40 +0200)]
Updated Danish translation

13 years agoUpdated Dutch translation by Vincent van Adrighem
Wouter Bolsterlee [Sun, 19 Sep 2010 14:39:54 +0000 (16:39 +0200)]
Updated Dutch translation by Vincent van Adrighem

13 years agoFix a few dubious return values in return_if_fail calls
Matthias Clasen [Sun, 19 Sep 2010 05:58:46 +0000 (01:58 -0400)]
Fix a few dubious return values in return_if_fail calls

These were pointed out in bug 623958.

13 years agoAdd a rename-to annotation for gtk_tree_path_get_indices_with_depth
Matthias Clasen [Sun, 19 Sep 2010 05:15:17 +0000 (01:15 -0400)]
Add a rename-to annotation for gtk_tree_path_get_indices_with_depth

https://bugzilla.gnome.org/show_bug.cgi?id=621590

13 years agoPoint to the new GtkWidget align and margin properties
Matthias Clasen [Sun, 19 Sep 2010 05:01:09 +0000 (01:01 -0400)]
Point to the new GtkWidget align and margin properties

13 years agoAnother fix for the initial focus heuristic
Matthias Clasen [Sun, 19 Sep 2010 04:54:50 +0000 (00:54 -0400)]
Another fix for the initial focus heuristic

We were trying to avoid selecting a label initially, but the code
was sometimes leaving labels selected when the focus eventually
ended up on a button instead.

13 years agoFix an annotation
Matthias Clasen [Sun, 19 Sep 2010 04:22:37 +0000 (00:22 -0400)]
Fix an annotation

13 years agoUse gdk_error_trap_pop_ignore() where appropriate
Matthias Clasen [Sun, 19 Sep 2010 03:17:31 +0000 (23:17 -0400)]
Use gdk_error_trap_pop_ignore() where appropriate

13 years agoImprove tests for X error traps, fix two bugs
Havoc Pennington [Sun, 19 Sep 2010 03:03:31 +0000 (23:03 -0400)]
Improve tests for X error traps, fix two bugs

* 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

13 years agoFix bugs that crashed gdk_display_close() on x11
Havoc Pennington [Sun, 19 Sep 2010 02:57:36 +0000 (22:57 -0400)]
Fix bugs that crashed gdk_display_close() on x11

* _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

13 years agoRevamp and modernize X error traps
Havoc Pennington [Sat, 18 Sep 2010 22:19:27 +0000 (18:19 -0400)]
Revamp and modernize X error traps

* 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

13 years agoAdd some minimal test for X error traps
Matthias Clasen [Sat, 18 Sep 2010 22:18:36 +0000 (18:18 -0400)]
Add some minimal test for X error traps

13 years agoReplace crufty old code for gdk error traps with GQueue and GSlice
Havoc Pennington [Sat, 18 Sep 2010 20:44:25 +0000 (16:44 -0400)]
Replace crufty old code for gdk error traps with GQueue and GSlice

No need to do a manual free list these days.

https://bugzilla.gnome.org/show_bug.cgi?id=629608

13 years agoRemove trailing whitespace and obsolete doc comments from gdk_error_trap code
Havoc Pennington [Sat, 18 Sep 2010 20:39:56 +0000 (16:39 -0400)]
Remove trailing whitespace and obsolete doc comments from gdk_error_trap code

(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

13 years agoAdd a couple of missing annotations
Johan Dahlin [Sat, 18 Sep 2010 16:42:15 +0000 (13:42 -0300)]
Add a couple of missing annotations

13 years ago[introspection] Do not parse private sources
Johan Dahlin [Sat, 18 Sep 2010 16:41:30 +0000 (13:41 -0300)]
[introspection] Do not parse private sources

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.

13 years ago[introspection] Do not include internal api
Johan Dahlin [Sat, 18 Sep 2010 16:28:52 +0000 (13:28 -0300)]
[introspection] Do not include internal api

GtkTextLayout is internal and unsupported, do not include
it in the gir

13 years agodepend on GLib 2.27.0
Ryan Lortie [Sat, 18 Sep 2010 00:49:30 +0000 (20:49 -0400)]
depend on GLib 2.27.0

13 years agogail: Do not use deprecated gtk_cell_renderer_get_size()
Javier Jardón [Wed, 15 Sep 2010 19:03:34 +0000 (21:03 +0200)]
gail: Do not use deprecated gtk_cell_renderer_get_size()

Use gtk_cell_size_request_get_size() instead

https://bugzilla.gnome.org/show_bug.cgi?id=629785

13 years agoDo not use deprecated gtk_cell_renderer_get_size()
Javier Jardón [Mon, 13 Sep 2010 00:50:04 +0000 (02:50 +0200)]
Do not use deprecated gtk_cell_renderer_get_size()

Use gtk_cell_size_request_get_size() instead

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629785