2006-06-05  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.2 ===

	* configure.in: Set interface age to 0.

	* NEWS: Updates

	* gtk/gtkprintoperationpreview.c: Include gtkalias.h

	* gtk/gtk.symbols: Add some forgotten new functions.

2006-06-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_calculate_shown_tabs):
	(gtk_notebook_calc_tabs): Fix borderline cases in tab
	visibility calculation.  (#168105, Carlos Garnacho Parro)

	* gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right
	XID from the xid table.  (#341327, Sampo Savolainen, Tim Janik)

2006-06-04  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838)

2006-06-03  Richard Hult  <richard@imendio.com>                                 

	* gdk/quartz/Makefile.am:                                               
	* gdk/quartz/gdkspawn-quartz.c: Add spawn functions, copied from the
	win32 backend.

2006-06-02  Matthias Clasen  <mclasen@redhat.com>
	
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation.h:
	* gtk/gtkprintoperation.c: Add a show-preview property. 

	* gtk/gtkprintoperation-unix.c: Implement it here.

	* gtk/gtkprintoperation-unix.c: Cleanups

2006-06-02  Kristian Rietveld  <kris@imendio.com>

	Rubber banding for GtkTreeView, #80127.  Uses same method as
	GtkIconView.

	* gtk/gtktreeview.c (gtk_tree_view_class_init),
	(gtk_tree_view_init), (gtk_tree_view_get_property),
	(gtk_tree_view_set_property), (gtk_tree_view_set_rubber_banding),
	(gtk_tree_view_get_rubber_banding): add property,
	(gtk_tree_view_button_press): start rubber banding if enabled and
	press is on a non-selected node,
	(gtk_tree_view_button_release): stop rubber banding,
	(gtk_tree_view_motion_bin_window), (scrool_row_timeout): enable/update
	the rubber band,
	(gtk_tree_view_bin_expose): draw rubber band if active,
	(gtk_tree_view_stop_rubberband),
	(gtk_tree_view_update_rubber_band_selection_range),
	(gtk_tree_view_update_rubber_band_selection),
	(gtk_tree_view_update_rubber_band),
	(gtk_tree_view_paint_rubber_band): new functions.

	* gtk/gtktreeview.h: add new set/get function for rubber banding
	property.

	* gtk/gtktreeprivate.h: add a bunch of new private fields.

2006-06-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_leave_notify): revert fix of
	#164884 because it's not a problem in gtk+ but in applications and
	it breaks starting drags from the edge of a row.

2006-06-02  Kristian Rietveld  <kris@imendio.com>

	Separate sensitive/selectable properties.

	* gtk/gtktreeselection.c (tree_column_is_sensitive): remove,
	(_gtk_tree_selection_row_is_selectable): remove checks to see if at
	least one column is sensitive,
	(gtk_tree_selection_real_select_node): remove code which enables
	insensitive rows to always be unselected.

	* gtk/gtktreeview.c (gtk_tree_view_row_changed): remove code
	that unselects a node if it just became insensitive.

	* gtk/gtkcombobox.c (gtkcombo_box_list_select_func): new function,
	based on the at least one column sensitive check from
	_gtk_tree_selection_row_is_selectable(),
	(gtk_combo_box_list_setup): set selection function on tree selection.

2006-06-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreemodelfilter.c
	(gtk_tree_model_filter_convert_child_path_to_path): need to use
	gtk_tree_model_filter_get_iter_full() since the path returned
	by gtk_real_tree_model_filter_convert_child_path_to_path() includes
	invisible nodes.

2006-06-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow
	to return partial information.  (#343625, Christian Persch)

	* gtk/gtkwindow.c (gtk_window_key_release_event): Chain up
	to key_release, not to key_press.  (#343677, Tommi Komulainen)

2006-06-02  Alexander Larsson  <alexl@redhat.com>

	* gtk/Makefile.am:
	Add gtkprintoperationpreview.[ch]
	Set default preview command. Hardcoded for now.
	
	* gtk/gtkmarshalers.list:
	Add BOOLEAN:OBJECT,OBJECT,OBJECT
	
	* gtk/gtkprintbackend.c:
	Add preview command property.
	
	* gtk/gtkprintcontext.[ch]:
	Make less dependent on PrintOperation for output settings
	Externally set cairo_t and dpi. Resettable.
	Create fontmap without metrics hinting (so that print preview
	text layout doesn't depend on zoom level).
	
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c: 
	* gtk/gtkprintoperation.[ch]:
	Initial work on print preview API and default implementation
	using an external preview app.
	
	* gtk/gtkprintoperation-win32.c:
	Some needed updates. Not done, needs more work.
	
	* gtk/gtkprintoperationpreview.[ch]:
	New interface used in print preview api.
	
	* gtk/gtkprintunixdialog.c:
	Add print preview dialog.
	
	* tests/print-editor.c:
	Test using an custom print preview widget.

2006-06-02  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c
	(gtk_recent_info_get_application_info): Fix a typo (spotted by
	Paolo Borelli and coverity).

2006-06-01  Matthias Clasen  <mclasen@redhat.com>
	
	* tests/testnotebookdnd.c: Small tweaks to test more things.

	* gtk/gtktoolbutton.c (gtk_tool_button_class_init): Add
	an icon-spacing style property for the same purpose.

	* gtk/gtkbutton.c (gtk_button_class_init):  Add an image-spacing
	style property that allows to adjust the spacing between image
	and label in button.  (#320431, James Moger)

	* gtk/gtkprintoperation-private.h: 
	* gtk/gtkprintoperation.c: 
	* gtk/gtkprintoperation-unix.c: Move the 
	PrintPagesData.wait flag to GtkPrintOperationPrivate.is_sync.
	Also use a recursive mainloop instead of manually looping.
	
	* gtk/gtkprintoperation.c: Add some examples to the docs.

	* gtk/gtkprintbackend.c (gtk_print_backend_class_init): 
	Intern signal names.

	* gtk/gtkprintunixdialog.c: 
	* gtk/gtkprintoperation-unix.c: Use canonical signal names.

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpagesetupunixdialog.c: Add docs, cleanup some
	formatting.

	* gtk/gtkprintoperation.c (print_pages_idle): Don't
	treat manual_scale like a percentage, its a factor.

	* gtk/gtktreeview.c (gtk_tree_view_class_init): Document
	signals.  (#302556, Stefan Kost)

2006-05-31  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* demos/gtk-demo/printing.c:
	* tests/print-editor.c:
	* tests/testnouiprint.c:
	* tests/testprint.c:
	* tests/testprintfileoperation.c:
	Further updates from the GtkPrintContext functions rename.
	
	* modules/printbackends/cups/gtkcupsutils.c:
	Always set requesting-user-name when doing cups requests.

2006-05-31  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkpagesetupunixdialog.c:
	Remove request_details_tag with g_signal_handler_disconnect,
	not g_source_remove. (#343475)

2006-05-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintcontext.h: 
	* gtk/gtkprintcontext.c: 
	* gtk/gtkprintoperation.c: 
	* gtk/gtkprintoperation-unix.c: Change some function names to be 
	longer and better. 
	gtk_print_context_get_cairo -> gtk_print_context_get_cairo_context
	gtk_print_context_get_fontmap -> gtk_print_context_get_pango_fontmap
	gtk_print_context_create_context -> gtk_print_context_create_pango_context
	gtk_print_context_create_layout -> gtk_print_context_create_pango_layout
	Update all callers.

	* gtk/gtkpagesetupunixdialog.c: Don't run the custom page
	size dialog.  (#340444, Christian Persch)

	* demos/gtk-demo/main.c (main): Display comments in friendly
	DodgerBlue instead of scary red.  (#343444, Carol Spears)

	* gtk/gtkfontbutton.c: 
	* gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
	font-set signals.  (#343438, Olexiy Avramchenko)

2006-05-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal
	children when emitting grab-notify.  (#343425, Markku Vire)

	* gdk/gdkpixmap.c: 
	* gdk/gdkwindow.c: Don't use G_DEFINE_TYPE, since the instance
	struct name does not match the type name.  (#343453, Ed Catmur)

	* gtk/gtk.symbols: 
	* gtk/gtkbutton.h: 
	* gtk/gtkbutton.c: Add a GtkButton::image-position property
	with getter and setter, to allow constructing buttons with
	the image stacked on top of the label.  (#342930, Johan Dahlin)

2006-05-30  Johan Dahlin  <jdahlin@async.com.br>

   * gtk/gtk.symbols:
   * gtk/gtkbutton.c: (gtk_button_class_init), (gtk_button_init),
   (gtk_button_set_property), (gtk_button_get_property),
   (gtk_button_construct_child), (gtk_button_set_image_spacing),
   (gtk_button_get_image_spacing):
   * gtk/gtkbutton.h:
   * gtk/gtktoolbutton.c: (gtk_tool_button_class_init),
   (gtk_tool_button_construct_contents),
   (gtk_tool_button_set_property), (gtk_tool_button_get_property),
   (_gtk_tool_button_get_button), (gtk_tool_button_set_icon_spacing),
   (gtk_tool_button_get_icon_spacing):
   * gtk/gtktoolbutton.h:
   Add GtkButton:image-spacing and GtkToolButton::icon-spacing.
   (#320431, James Moger)

2006-05-30  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): only
	check sort column id if connected to sortable model.

2006-05-30  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkpango.c (draw_error_underline): Fix offset to center the
	underline in requested rectangle. (Ported from pango fix.)

2006-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkdialog.h: removed forgotten declaration of
	_gtk_dialog_get_response_for_widget(), the function has been made
	public a long time ago.

2006-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (gtk_text_view_target_list_notify): applied
	patch from Chris Wilson which replaces a useless loop with
	built-in access to free'd memory by a simple integer comparison.
	Fixes bug #342894.

2006-05-29  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): select
	the current focus row if nothing is selected and ctrl is not pressed.
	(Fixes #324480, Murray Cumming/Srirama Sharma).

2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_focus): refactor
	to work correctly in RTL mode.

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): make
	cursor movement to left/right work correctly in RTL mode.

2006-05-28  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkrectangle.c (gdk_rectangle_union, gdk_rectangle_intersect):
	Note in docs that @dest can be the same as @src1 or @src2. (#343233,
	Christian Persch)

2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkstyle.c (gtk_default_draw_flat_box): handle
	cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected
	state.

2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkenums.h: add GTK_ARROW_NONE.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_column): always
	"show" the arrow if sort_column_id >= 0, only set arrow type if
	this column is the column we are currently sorting on. (#331338).

2006-05-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentchoosermenu.c: Avoid trivial differences
	in translated strings.  (#343088, Clytie Siddall)

2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_build_tree): emit test_expand_row
	and test return value before expanding a branch. (Fixes #321523,
	reported by Daniel Lindenaar).

2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_insert_column): set the sizing
	type of the new column to FIXED,
	(gtk_tree_view_insert_column_with_attributes): likewise. (#341898,
	Dan Winship).

2006-05-27  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_remove_node):
	only unref if elt->ref_count > 0,
	(gtk_tree_model_filter_row_deleted): likewise. (Fixes #340839,
	reported by Yevgen Muntyan).

2006-05-27  Kristian Rietveld  <kris@gtk.org>

	Small refactoring. (#340428, Paolo Borelli).

	* gtk/gtkliststore.c (gtk_list_store_set_valist_internal),
	(gtk_list_store_insert_with_valuesv): refactor code to determine
	iter compare func into gtk_list_store_get_compare_func().

	* gtk/gtktreestore.c (gtk_tree_store_set_valist_internal),
	(gtk_tree_store_insert_with_valuesv): likewise.

2006-05-27  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): really fix
	#333284.

2006-05-27  Kristian Rietveld  <kris@gtk.org>

	Editable cell window placement and RTL fixes.

	* gtk/gtktreeview.c (gtk_tree_view_button_press),
	(gtk_tree_view_bin_expose), (gtk_tree_view_get_cell_area),
	(gtk_tree_view_create_row_drag_icon): Only add indentation to x
	if !rtl,
	(gtk_tree_view_create_row_drag_icon): Iterate over columns in reverse
	direction if in rtl mode.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
	horizontal_separator is not part of the real background area width,
	add 2 * focus_line_width to real_cell_area.x and not
	real_background_area.x, fix up event coordinates check in the
	PACK_END loop, also set depth to zero at the end of the PACK_END
	loop,
	(_gtk_tree_view_get_neighbor_sizes): also add column_spacing for each
	visible cell.

2006-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/stock-icons/24/gtk-orientation-landscape.png:
	* gtk/stock-icons/24/gtk-orientation-portrait.png:
	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
	* gtk/stock-icons/24/gtk-orientation-reverse-portrait.png:
	Cleaned up icons by Diana Fong.

2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
	for the full width of the row, not just the width we got allocated.
	(Fixes #333284, reported by Benjamin Berg).

2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): set dy to
	page_size + height in the event dy + page_size is about to become
	bigger than height.

2006-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkstatusicon.h:
	* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry):
	New function that can be used to e.g. position 
	notification bubbles wrt to the status icon.  
	(#341450, Christian Persch, Havoc Pennington)

2006-05-25  Matthias Clasen  <mclasen@redhat.com>

	Make GTK+ work as an untrusted X client. (#136571,
	Ed Catmur)

	* gdk/x11/gdkdisplay-x11.h:
	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): When 
	opening a display, determine if we are untrusted.
	
	* gdk/x11/gdkdisplay-x11.c (gdk_notify_startup_complete): 
	Just bail out when we are untrusted.

	* gdk/x11/gdkwindow-x11.c (gdk_window_new): Work around
	a bug in the Xorg XSECURITY implementation by coercing
	toplevel InputOnly windows to InputOutput.

	* gdk/x11/gdkwindow-x11.c (_gdk_windowing_get_pointer): 
	(_gdk_windowing_window_get_pointer): 
	When untrusted, call XQueryPointer on an auxiliary
	window, not on the root window.
	
	* gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer): 
	If untrusted, loop through all GDK-aware toplevels on all
	screens in the hope we hit one containing the pointer; 
	then use that as the basis of the current XQueryPointer 
	child recursion.

	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab): 
	(gdk_keyboard_grab): Ignore failed grabs when untrusted.

	* gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Only
	cache our own toplevels when untrusted.

	* gdk/x11/gdkdnd-x11.c (motif_send_enter): Don't try
	to do Motif DND as untrusted client.

	* gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window): 
	(gdk_x11_screen_get_window_manager_name): 
	(gdk_x11_screen_supports_net_wm_hint): 
	Bail out early if untrusted.
	
	* gtk/gtkcolorsel.c (grab_color_at_mouse): If getting 
	the color under the pointer by screenshooting the root 
	window fails, it tries to get the color from our own 
	window.

	* gtk/gtkcolorsel.c (get_screen_color): Make the
	dropper_grab_widget a child of the dialog, not a 
	toplevel.

	* gtk/gtkinvisible.c (gtk_invisible_realize): Respect
	a parent window that has been set before realizing.

	* gtk/gtkwidget.c (gtk_widget_get_parent_window): 
	Always return a previously set parent window.
	
2006-05-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfontbutton.c (gtk_font_button_clicked): 
	* gtk/gtkcolorbutton.c (gtk_color_button_clicked): 
	Fix the handling of modality by copying what
	GtkFileChooserButton does.  (#342754, Yevgen Muntyan)
	
	* gtk/gtkprintunixdialog.c (create_main_page): Make
	the range entry insensitive if another range option
	is selected.  (#342783, Caolan McNamara)
	(update_dialog_from_capabilities): Make the collate
	check button insensitive unless multiple copies are
	printed  (#342781, Caolan McNamara)

	* gtk/gtkwidget.c: Remove style properties when a widget
	class gets finalized, to make style properties work in
	dynamic types.  (#342513, Christian Persch)

2006-05-24  Henrique Romano  <henrique@async.com.br>

	* gtk/gtkcellview.c: (gtk_cell_view_class_init),
	(gtk_cell_view_get_property), (gtk_cell_view_set_property):
	Add model property for GtkCellView, part of #172535.

2006-05-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation-private.h: 
	* gtk/gtk.symbols:
	* gtk/gtkprintoperation.c: Add a custom-tab-label property.
	
	* gtk/gtkprintoperation-unix.c (get_print_dialog): Use it
	here.  (#342752, Yevgen Muntyan)

2006-05-24  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkprintunixdialog.[ch]:
	Add gtk_print_unix_dialog_set_manual_capabilities that controls
	what widgets to enable in the dialog depending on the apps
	capabilities.
	
	* gtk/gtkprintbackend.[ch]:
	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.c:
	* gtk/gtkprintjob.h:
	Add printer_get_capabilities to backend.
	Move some fallback calls to the printbackend base class.
	
	* gtk/gtkprintoperation-unix.c:
	Set manual capabilities
	
	* modules/printbackends/cups/gtkprintbackendcups.c:
	Implement get_capabilities
	
	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	* modules/printbackends/pdf/gtkprintbackendpdf.c:
	Move some methods to baseclass.

2006-05-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (print_pages): Do the begin-print
	emission in the idle, so that the print dialog goes away
	before begin-print.

2006-05-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols: 
	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c: Add a boolean show-progress  
	property, and show a progress dialog if it is set to TRUE.

	* gtk/gtkprintoperation.c (pdf_end_run): 
	* gtk/gtkprintoperation-win32.c (win32_end_run): 
	* gtk/gtkprintoperation-unix.c (unix_end_run): 
	* gtk/gtkprintoperation-private.h: Add a cancelled
	parameter to end_run, and call it even if the print
	operation was cancelled.

2006-05-23  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
	Allow absolute filenames in filename entry.
	Patch from Yevgen Muntyan (#341679)

2006-05-23  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkprintunixdialog.[ch]:
	Add gtk_print_unix_dialog_add_custom_tab
	
	* gtk/gtkprintoperation-unix.c:
	Implement custom widgets for unix.
	Fix some warnings by including cairo-ps/pdf.h
	
	* gtk/gtkprintoperation-win32.c:
	Mark string for translation.

2006-05-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.c (gtk_print_operation_class_init): 
	Fix docs.

2006-05-22  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkmain.c:
	Make sure grab-notify is emitted on toplevels as well as 
	child widgets.

	* gtk/Makefile.am:
	* gtk/gtkwin32embedwidget.[ch]
	Add new widget used for win32 port to embed gtk+
	widgets in windows dialog.

	* gtk/gtkmarshalers.list:
	Add POINTER:VOID

	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation.[ch]:
	Generic support for custom widgets in print dialog.

	* gtk/gtkprintoperation-win32.c:
	Implement custom widget support for win32.

	* tests/print-editor.c:
	Allow setting of font using custom widgets in the print dialog.

2006-05-22  Behdad Esfahbod  <behdad@gnome.org>

	Rollback the following changes, to fix it the proper way in Pango:

	* gdk/gdkinternals.h:
	* gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
	(update_fontmap_resolution), (gdk_screen_set_resolution):  Add new
	function _gdk_screen_get_font_map() and have one fontmap per screen,
	with the correct resolution set on it.

	* gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
	_gdk_screen_get_font_map() instead of setting resolution on the
	PangoCairoContext.  (#342529)

2006-05-22  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.h:
	* gtk/gtkrecentmanager.c
	(gtk_recent_info_get_application_info): Don't mask "time" with
	the "time" argument.

2006-05-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkcolor.h: gdk_color_parse returns boolean, not int.
	(#342569, Masatake Yamato)

	* gtk/gtkprintunixdialog.c (dialog_set_scale): Don't return
	a value from a void function.

	* gtk/gtkprinter.c (_gtk_printer_prepare_for_print) 
	(_gtk_printer_get_settings_from_options) 
	(_gtk_printer_request_details): Don't return values from void
	functions.

	* gtk/gtkrecentchooserutils.c (delegate_unselect_uri): Don't
	return a value from a void function.

	* gtk/gtkfilesystem.c (gtk_file_system_cancel_operation): Don't
	return a value from a void function.  Also, don't put 
	semicolons behind G_DEFINE_TYPE. (#342543)

	* gtk/gtkwidget.c (gtk_widget_class_init): Add docs
	for new style properties.  (#342535, Mart Raudsepp)

	* gdk/x11/gdkscreen-x11.c: Remove _gdk_x11_screen_request_cm_notification

	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Directly call 
	gdk_display_request_selection_notification. 

	* gdk/x11/gdkdisplay-x11.c: Several cleanups.
	
2006-05-21  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkinternals.h:
	* gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
	(update_fontmap_resolution), (gdk_screen_set_resolution):  Add new
	function _gdk_screen_get_font_map() and have one fontmap per screen,
	with the correct resolution set on it.

	* gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
	_gdk_screen_get_font_map() instead of setting resolution on the
	PangoCairoContext.  (#342529)

2006-05-22  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c: Make it compile again. Doesn't work
	properly yet, though. There is lots of commonality between this
	file and gtkfilesystemunix.c that should really be factored out.

2006-05-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpaned.c (gtk_paned_compute_position): Avoid warnings
	if a child is NULL.  (#342007, Patrick Monnerat)
	
	* gtk/gtk.symbols: 
	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c (gtk_print_operation_cancel): New function
	to cancel a running print operation.

	* gtk/gtkprintoperation-private.h (struct _GtkPrintOperationPrivate): 
	Add a cancelled flag, use g types, use bitfields.

	* gtk/gtkprintoperation.c (print_pages): Clean up after the idle
	in the synchronous case.

	* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Fix a 
	boundary case in scrolling where a tab was not shown.  (#168105,
	Hiroyuki Ikezoe, patch by Kouhei Sutou)

2006-05-19  Damon Chaplin  <damon@gnome.org>

	* gtk/gtkfontsel.c (gtk_font_selection_init): use
	atk_relation_add_target() to add the targets, since it sets up weak
	references to avoid crashes. (#305530)

2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c: Add a GtkPrintOperation:: paginate signal 
	that gets emitted to paginate a document in chunks.

	* gtk/gtkprintoperation-private.h: 
	* gtk/gtkmarshalers.list: Add necessary glue.

	* gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce
	a stuck drag if shift is held.  (#341734, Sebastien Bacher) 

	* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display): 
	Always set protocol.  (#342003, Tommi Komulainen)

	* gtk/gtkimage.c (icon_theme_changed): Only unref the pixbuf
	if the image has the appropriate storage type.  (#342096, Tommi
	Komulainen)

	* configure.in: Actually require GLib 2.11
	
	* gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops
	end up at the right spot.  (#342072,  Yevgen Muntyan)

2006-05-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrange.c: canonicalize the name of the "activate-slider"
	style property and use GTK_PARAM_READABLE instead of
	G_PARAM_READABLE. Moved one "activate_slider" variable to the
	local scope its used in.

2006-06-18  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkscreen-directfb.c: 
	* added gdk_screen_is_composited to compile
	* Bug 342091

2006-05-17  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintoperation-win32.c:
	Update to changed APIs.