ChangeLog 235 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
2008-07-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().

	* gtk/gtkfilechooserdefault.c
	* gtk/gtkmenu.c
	* gtk/gtkmenushell.c
	* gtk/gtkscalebutton.c
	* gtk/gtktextview.c
	* gtk/gtktoolbar.c
	* gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
	some missing I_() to the signal names.

14 15 16 17 18 19
2008-07-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkspinbutton.c: remove g_return_if_fail() from private
	functions and virtual function implementations. Some minor
	cleanups.

20 21 22 23 24 25 26
2008-07-20  Andre Klapper  <a9016009@gmx.de>

	Bug 543915 - translation issues

	* modules/printbackends/cups/gtkprintbackendcups.c:
	Add translator comments for several strings.

Sven Herzberg's avatar
Sven Herzberg committed
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
2008-07-20  Sven Herzberg  <sven@imendio.com>

	reviewed by: Richard Hult

	Fixes #543868: GdkPixmap is upside down on quartz

	* gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
	coordinate space from GTK+ orientation to CoreGraphics orientation
	before calling CoreGraphics code
	* gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
	coordinate space flipping (we always get it right, now)
	* gdk/quartz/gdkpixmap-quartz.c
	(gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
	creating the CGContextRef

Sven Herzberg's avatar
Sven Herzberg committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
2008-07-20  Sven Herzberg  <sven@imendio.com>

	reviewed by: Richard Hult

	Extracted the CGContextRef creation into a virtual function of
	GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
	GdkWindow

	* gdk/quartz/gdkdrawable-quartz.c
	(gdk_quartz_drawable_get_context): dropped the different
	implementations; forward to the virtual function now
	* gdk/quartz/gdkdrawable-quartz.h: added the virtual function
	* gdk/quartz/gdkpixmap-quartz.c
	(gdk_pixmap_impl_quartz_get_context),
	(gdk_pixmap_impl_quartz_class_init): implemented get_context()
	* gdk/quartz/gdkwindow-quartz.c
	(gdk_window_impl_quartz_get_context),
	(gdk_window_impl_quartz_class_init): implemented get_context()

Matthias Clasen's avatar
Matthias Clasen committed
61 62 63 64
2007-08-19  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
65 66 67 68 69 70 71 72
2007-08-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
	inside "apply" signal handler

	* gtk/gtkassistant.c: Don't emit signals with extra parameters.
	Patch by Antti Kaijanmäki

Matthias Clasen's avatar
Matthias Clasen committed
73 74 75 76 77 78 79
2007-08-18  Matthias Clasen  <mclasen@redhat.com>

	Bug 543217 – GTK application crashed with directfb backend

	*  gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
	_gdk_visual_init().  Patch by Huimin He.

80 81 82 83 84
2008-07-18  Federico Mena Quintero  <federico@novell.com>

	* gtk/updateiconcache.c (build_cache): If the resulting cache file
	would be empty, erase the old cache file as well as the temporary file.

85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
2008-07-18  Federico Mena Quintero  <federico@novell.com>

	* demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
	do funny casts to avoid compiler warnings.

	* demos/gtk-demo/textview.c (easter_egg_callback): Likewise.

	* gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.

	* gtk/gtkmodules.c (load_module): Likewise.

	* gtk/gtkselection.c (gtk_selection_convert): Likewise.

	* gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.

	* gtk/queryimmodules.c (query_module): Likewise.

	* tests/testgtk.c (create_gridded_geometry, create_key_lookup)
	(find_widget_at_pointer): Likewise.

Matthias Clasen's avatar
Matthias Clasen committed
105 106 107 108 109
2008-07-08  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
	hunk of the previous commit.

110 111 112 113 114 115
2008-07-18  Sven Herzberg  <sven@imendio.com>

	Make aliasfilecheck.sh pass for the quartz backend, too.

	* gtk/Makefile.am: don't include gtkquartz.h in the list of c files

116 117 118 119
2008-07-17  Runa Bhattacharjee <runabh@gmail.com>

	* configure.in: Added Pashto (ps) to ALL_LINGUAS

120 121 122 123 124 125 126 127 128 129 130 131 132 133
2008-07-15  Paolo Borelli  <pborelli@katamail.com>

	Bug 447998 - GtkBuilder does not support building parts of the xml tree

	* gtk/gtkbuilder.c:
	* gtk/gtkbuilder.h:
	* gtk/gtkbuilderprivate.h:
	* gtk/gtkbuilderparser.c:
	* gtk/gtk.symbols:
	Add two new functions that allow cherry picking and construct
	objects from a ui description file or string.

	* gtk/tests/builder.c: tests for the above.

134 135 136 137 138
2008-07-15  Paolo Borelli  <pborelli@katamail.com>

	* gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
	signal) case and plug a couple of leaks.

139 140 141 142 143 144 145
2008-07-15  Matthias Clasen  <mclasen@redhat.com>

	Bug 543244 – crashes when renaming a bookmark

	* gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
	free a GFile. Reported by Sebastien Bacher

146 147 148 149 150 151 152 153 154
2008-07-15  Matthias Clasen  <mclasen@redhat.com>

	Bug 339591 – Detect list of availible cover pages

	Patch by Marek Kasik:
	* modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
	available cover pages and the default front and back cover pages 
	from the cups server.

155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
2008-07-15  Matthias Clasen  <mclasen@redhat.com>

	Bug 384940 – handle rejecting jobs and authentication meaningfully

	Patch by Marek Kasik, icons by Mike Langlie:
	* gtk/gtk.symbols:
	* gtk/gtkprintbackend.h:
	* gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
	and getters/setters.

	* gtk/gtkstock.h:
	* gtk/gtkiconfactory.c:
	* gtk/Makefile.am:
	* gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.

	* modules/printbackends/cups/gtkprintbackendcups.c: 
	* gtk/gtkprintunixdialog.c: Handle paused and job-rejecting 
	printers.

174 175 176 177 178
2008-07-15  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add a test to see if GIO can sniff image data,
	this should make gdk-pixbuf use its own sniffing again, on OS X.

179 180 181 182 183 184 185
2008-07-15  Xavier Claessens  <xclaesse@gmail.com>

	Bug 542523 – GtkTextTag should handle setting properties to NULL

	* gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
	setting it to NULL instead of displaying a warning.

186 187 188 189 190 191 192 193
2008-07-15  Matthias Clasen  <mclasen@redhat.com>

	Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed

	* gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
	Call shortcuts_check_popup_sensitivity() every time the
	menu is popped up. Problem reported by Hong Jen Yee
	
194 195
2008-07-15  Matthias Clasen  <mclasen@redhat.com>

196 197 198 199 200 201 202
	Bug 488766 – GtkFileChooserButton doesn't clear icon after
	gtk_file_chooser_unselect_all

	* gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
	the image when the label is set to "(None)". Reported by
	Neil Roberts

203 204
	* tests/testfilechooserbutton.c: Add an "Unselect all" button.

Matthias Clasen's avatar
Matthias Clasen committed
205 206 207 208 209 210 211 212 213 214 215 216
2008-07-15  Matthias Clasen  <mclasen@redhat.com>

	Bug 507394 – mem leak from gtk_selection_add_targets

	* gtk/gtkoldeditable.c: Free target lists in finalize.
	Reported by Christian Persch

2008-07-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.

Matthias Clasen's avatar
Matthias Clasen committed
217 218 219 220
2008-07-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c: Trivial doc fix.

221 222 223 224 225 226 227
2008-07-14  Matthias Clasen  <mclasen@redhat.com>

	Bug 542853 – jasper test fails due to incomplete library arguments

	* configure.in: Add -ljpeg when checking for jasper.
	Reported by Mike Calmus

228 229 230 231 232
2008-07-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek 
	Kasik.

Kristian Rietveld's avatar
Kristian Rietveld committed
233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258
2008-07-11  Kristian Rietveld  <kris@gtk.org>

	Bug 316087 - Resizing columns is chaotic

	* gtk/gtktreeprivate.h: add new member fields.

	* gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
	validation flag,
	(gtk_tree_view_size_allocate_columns): rework the size allocation
	mechanism to only recalculate the expand values if the width of the
	widget, content or the column configuration has changed,
	(gtk_tree_view_size_allocate): move call to size_allocate_columns()
	to before the adjustment updates so the proper width is used after
	we updated it,
	(gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
	use the column width minus the expand value for the resized width,
	(gtk_tree_view_move_column_after): update call to
	gtk_tree_view_size_allocate_columns().

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
	resized width to FALSE.

	* tests/Makefile.am:
	* tests/testtreecolumnsizing.c: new interactive test program
	for testing column resizing with different column configurations.

259 260
2008-07-11  Simos Xenitellis  <simos@gnome.org>

261 262 263 264 265 266 267
	* gtk/compose-parse.py:
	* gtk/gtkimcontextsimple.c:
	Fixed typo for the name of Markus Kuhn, issue mentioned 
	in bug #321896 (comment 61).
	
2008-07-11  Simos Xenitellis  <simos@gnome.org>	

268 269 270 271 272
	Bug 334418 – Support easy input of ellipsis

	* gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
	that listed the wrong codepoint.  Reported by Wouter Bolsterlee.

273 274 275 276 277 278 279 280 281
2008-07-03  Murray Cumming  <murrayc@murrayc.com>

	* gtk/gtkwidget.c (gtk_widget_set_property):  tooltip-text and 
	tooltip-markup properties: Interpret an empty string as a NULL 
	string because an empty tooltip is silly. This will help 
	language bindings that do not bother to have the two types of 
	empty/null strings.
	Bug #541399.

282 283 284 285 286 287 288
2008-07-10  Matthias Clasen  <mclasen@redhat.com>

	Bug 542234 – iconview a11y implementation segfaults

	* gtk/gtkiconview.c: Fix a segfault in the a11y code.
	Patch by Li Yuan.

289 290 291 292 293 294
2008-07-08  Christian Neumair  <cneumair@gnome.org>

	* gtk/gtkuimanager.c (update_node):
	Skip update of accelerator child node if it has no associated action.
	Fixes #541950.

295 296 297 298 299 300 301
2008-07-07  Cody Russell  <bratsche@gnome.org>

	Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack

	* gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
	existing modal hint value before setting it.

302 303 304 305 306 307 308 309 310
2008-07-07  Cody Russell  <bratsche@gnome.org>

	Bug 540994 – [Win32] Some windows don't appear at the top when created

	* gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.

	I actually already committed this one by accident, probably when I committed
	#541305, but just wanted to document it here in the ChangeLog.

Johan Dahlin's avatar
Johan Dahlin committed
311 312 313 314 315
2008-07-07  Johan Dahlin  <johan@gnome.org>

	* gtk/tests/builder.c (test_cell_view):
	Add a test case for 528845.

316 317 318 319 320 321
2008-07-07  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c
	(gdk_window_foreign_new_for_display): Need to initialise
	private->impl here, too.

322 323 324 325 326
2008-07-07  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilesystem.c: include the two needed headers instead of
	<gtk/gtk.h>.

327 328 329 330 331 332 333 334
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
	GtkCellView

	* gtk/gtkcellview.c: Don't blindly chain up in the buildable
	implementation.  Reported by Kevin Ryde.

335 336 337 338 339 340 341 342
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 469068 – clarify gdk_cairo_create()

	* gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
	contexts cannot be cached for handling expose events.
	Proposed by Behdad Esfahbod.

Matthias Clasen's avatar
Matthias Clasen committed
343 344 345 346 347 348 349
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups

	* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
	that the tooltip is set as markup. Proposed by Czirkos Zoltan.

350 351 352 353 354 355 356
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 510225 – gtk_widget_get_composite_name retval should be freed

	* gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
	docs. Pointed out by Wolfgang Oertl

Matthias Clasen's avatar
Matthias Clasen committed
357 358 359 360 361 362 363
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 531129 – gtk_style_copy() does not include a return value or 
	description

	* gtk/gtkstyle.c: Document gtk_style_copy.

Matthias Clasen's avatar
Matthias Clasen committed
364 365 366 367 368 369 370
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
	Bug 513580 – Broken link in GTK+ FAQ

	* docs/faq/gtk-faq.sgml: Remove or update some outdated links.

371 372 373 374 375
2008-07-07  Christian Dywan  <christian@imendio.com>

	* gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
	erroneously added g_return_if_fail (bug #541811).

Matthias Clasen's avatar
Matthias Clasen committed
376 377 378 379 380 381 382
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 343663 – source-buffer highlighting highlights "char" in
	gtk_text_iter_forward_char

	* demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.

383 384 385 386 387 388 389
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
	
	* gtk/gtksettings.c: Improve the documentation of the
	gtk-icon-sizes setting. Proposed by Tommi Komulainen.

390 391 392 393 394 395 396 397 398
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
	invalid dates

	* gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
	Check that the cursor is over a valid date before retrieving
	its details.  Patch by Chris Wilson

399 400 401 402 403 404 405
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible

	* gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
	64-bit brokenness. Reported by Christian Hammond.

406 407 408 409 410 411 412 413
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
	contain ://

	* gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
	Be more robust. Reported by  Jelte van der Hoek

414 415 416 417 418 419 420 421
2008-07-06  Matthias Clasen  <mclasen@redhat.com>

	Bug 540917 – deprecate pack_start_defaults()

	* gtk/gtk.symbols:
	* gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
	Proposed by Owen Taylor

Matthias Clasen's avatar
Matthias Clasen committed
422 423 424 425
2008-07-05  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
426 427 428 429
2008-07-05  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.13.4 ===

430 431 432 433 434
2008-07-05  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
	deprecated section because it isn't deprecated.

435 436 437 438 439
2008-07-05  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
	other include weirdness in this file.

Matthias Clasen's avatar
Matthias Clasen committed
440 441 442 443
2008-07-05  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
444 445 446 447 448 449
2008-07-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c:
	* gtk/gtkfontsel.c:
	* gtk/gtkscalebutton.c: Small doc fixes.

Matthias Clasen's avatar
Matthias Clasen committed
450 451
2008-07-04  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
452
	* gdk/gdkevents.c:
Matthias Clasen's avatar
Matthias Clasen committed
453 454
	* gdk/x11/gdktestutils-x11.c: Small doc fixes

Matthias Clasen's avatar
Matthias Clasen committed
455 456
2008-07-04  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
457 458 459 460
	* gtk/tests/defaultvalue.c: Omit some more untestable properties.

	* gtk/gtkmenu.c: Fix the initial value of the monitor property.

461 462
	* gtk/gtkentry.c: Fix the property getter for text-length property.

Matthias Clasen's avatar
Matthias Clasen committed
463 464 465
	* gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.

2008-07-04  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
466 467 468

	* gtk/gtkmenu.c: Debork the attach-widget property.

Michael Natterer's avatar
Michael Natterer committed
469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485
2008-07-04  Michael Natterer  <mitch@imendio.com>

	Fix make check:

	* gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
	again :-(

	* gtk/gtkclist.c
	* gtk/gtkcombo.c
	* gtk/gtkctree.c
	* gtk/gtklist.c
	* gtk/gtklistitem.c
	* gtk/gtknotebook.c
	* gtk/gtkobject.c
	* gtk/gtkoldeditable.c
	* gtk/gtkpixmap.c
	* gtk/gtktext.c
Michael Natterer's avatar
Michael Natterer committed
486
	* gtk/gtktipsquery.c
Michael Natterer's avatar
Michael Natterer committed
487 488 489 490
	* gtk/gtktree.c
	* gtk/gtktreeitem.c: don't #define it again before including
	gtkalias.h after it has been #undef'ed before.

491 492 493 494 495
2008-07-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
	to FALSE instead of 0.

Michael Natterer's avatar
Michael Natterer committed
496 497 498 499 500 501 502 503 504 505
2008-07-04  Michael Natterer  <mitch@imendio.com>

	Allocate with GSlice:

	* gtk/gtkassistant.c: GtkAssistantPage
	* gtk/gtkcellview.c: GtkCellViewCellInfo
	* gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
	* gtk/gtkfilefilter.c: FilterRule
	* gtk/gtknotebook.c: GtkNotebookPage

506 507 508 509
2008-07-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.

510 511 512 513 514
2008-07-04  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprintoperation.c (print_pages): change "error_dialog"
	variable to GtkWidget fo fix two warnings.

515 516 517 518 519 520 521 522 523
2008-07-04  Michael Natterer  <mitch@imendio.com>

	Bug 539944 – Add GtkScaleButton API so struct fields can be marked
	as private

	* gtk/gtk.symbols
	* gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
	and _get_minus_button(). Patch by Christian Dywan.

Matthias Clasen's avatar
Matthias Clasen committed
524 525
2008-07-04  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
526
	* gtk/gtkscalebutton.c:
Matthias Clasen's avatar
Matthias Clasen committed
527 528 529
	* gdk/gdk.symbols: 
	* gdk/gdkwindowimpl.c: Fix make check.

530 531 532 533 534 535 536 537
2008-07-03  Matthias Clasen  <mclasen@redhat.com>

	Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
	constructed using GtkUIManager

	* gtk/gtkmenuitem.c: Fall back to the default positioning when
	the menuitem is not realized. Patch by Björn Lindqvist.

538 539 540 541 542 543 544
2008-07-03  Matthias Clasen  <mclasen@redhat.com>

	Bug 540612 – mem leak in filechooser

	* gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
	Patch by Christian Persch.

545 546 547 548 549 550 551
2008-07-04  Tor Lillqvist  <tml@novell.com>

	Bug 540861 - invalid UTF-8 in input device name

	* gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
	Unicode, and convert to UTF-8 for the GdkDevice's name field.

552 553 554 555 556 557 558 559
2008-07-03  Matthias Clasen  <mclasen@redhat.com>

	Bug 538863 – Fixes assertion on entering empty folder

	* gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
	select the first row if the folder is empty.
	Patch by Olle Bergkvist.

560 561 562 563 564 565 566
2008-07-03  Matthias Clasen  <mclasen@redhat.com>

	Bug 540915 – GtkBuilder sets properties in reverse order

	* gtk/gtkbuilderparser.c (parse_custom): Set properties in the order 
	in which they are specified in the xml file.  

567 568 569 570 571 572 573 574 575
2008-07-03  Matthias Clasen  <mclasen@redhat.com>
	
	Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
	private

	* gtk/gtk.symbols:
	* gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
	accessor for the popup. Patch by Christian Dywan

576 577 578 579 580
2008-07-03  Matthias Clasen  <mclasen@redhat.com>

	Bug 535498 – Printing demo broken

	* demos/gtk-demo/printing.c: Use monospace as font name, 
Matthias Clasen's avatar
Matthias Clasen committed
581 582
	not mono. Also use the right advance when moving from line to line.
	Patch by Yevgen Muntyan.
583

Matthias Clasen's avatar
Matthias Clasen committed
584 585 586 587 588 589 590 591 592 593 594
2008-07-03  Matthias Clasen  <mclasen@redhat.com>

	Bug 538547 – Update doc-shooter in gtk documentation

	* docs/tools/Makefile.am:
	* docs/tools/folder.png:
	* docs/tools/gnome.png: New images

	* docs/tools/widgets.c: Use the new images.
	Patch by Baptiste Mille-Mathias.

595 596 597 598 599
2008-07-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
	names of binding signal implementations.

600 601 602 603 604
2008-07-03  Li Yuan  <li.yuan@sun.com>

	* gail-uninstalled.pc.in:
	Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.

605 606 607 608 609 610 611 612 613 614 615
2008-07-03  Cody Russell  <bratsche@gnome.org>

	Bug 540529 – Remove all GIMP references

	* gtk+-2.0.pc.in:
	* gdk-2.0.pc.in:
	* gtk+-unix-print-2.0.pc.in:
	* gtk+-2.0-uninstalled.pc.in:
	* gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
	GTK+ Graphical UI Library in the pkg-config files.

616 617 618 619 620 621 622 623 624 625 626
2008-07-02  Cody Russell  <bratsche@gnome.org>

	Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring

	* gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
	works again.

	* gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
	* gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
	warnings.

627 628 629 630 631 632 633
2008-07-02  Cody Russell  <bratsche@gnome.org>

	Bug 541249 – [Win32] Fix some internal static methods

	* gdk/gdkwindow-win32.c: Make the interface implementation methods
	static.

634 635 636 637 638 639 640 641 642
2008-07-02  Michael Natterer  <mitch@imendio.com>

	Bug 537591 – Don't hardcode minimum width of menuitems

	* gtk/gtkmenuitem.c: applied patch from Christian Dywan which
	introduces a "width-chars" style property which replaces the
	hardcoded minimum width of menuitems with submenu. Patch
	extracted from Maemo-GTK+.

643 644 645 646
2008-07-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserdefault.c: remove some of the million includes.

647 648 649 650 651
2008-07-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
	Since s/2.16/2.14/ for the new gicon property.

652 653 654 655 656 657 658 659 660 661 662 663 664 665 666
2008-07-02  Kristian Rietveld  <kris@imendio.com>

	Bug 455268 - Add gtk-enable-tooltips GtkSetting

	* gtk/gtk.symbols:
	* gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.

	* gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.

	* gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
	introduced XSetting into account.

	* demos/gtk-demo/appwindow.c: don't use the now deprecated
	gtk_toolbar_set_tooltips().

667 668 669 670 671 672 673 674 675 676
2008-07-02  Cody Russell  <bratsche@gnome.org>

	Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff

	* gdk/win32/gdkprivate-win32.h:
	* gdk/win32/gdkgeometry-win32.c:
	* gdk/win32/gdkevents-win32.c:
	* gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
	the newly refactored GdkWindow code.
	
677 678 679 680 681 682 683 684
2008-07-01  Cody Russell  <bratsche@gnome.org>

	Bug 539164 – Windows' System Menu blocks main loop

	* gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
	receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
	GLib mainloop from there.

685 686 687 688 689 690 691 692
2008-07-01  Richard Hult  <richard@imendio.com>

	Some aftermath from the window impl cleanups:

	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_merge_child_input_shapes): Rename and export again.
	(gdk_window_quartz_get_offsets): Make static.

693 694 695 696
2008-07-01  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkscalebutton.h: forgot to commit the header, fixed now.

697 698 699 700 701 702
2008-07-01  Matthias Clasen  <mclasen@redhat.com>

	539790 – [PATCH] Please add three new settings to GtkSettings

	* gdk/x11/gdksettings.c: 
	* gtk/gtksettings.c: Add event sound settings.
Matthias Clasen's avatar
Matthias Clasen committed
703
	Patch by Lennart Poettering.
704

705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721
2008-07-01  Matthias Clasen  <mclasen@redhat.com>

	Bug 434535 – printoperation's create_surface doesn't check temp file
	creation for success

	Patch by Marek Kasik:

	* gtk/gtkprintoperation-unix.c
	(_gtk_print_operation_platform_backend_create_preview_surface): 
	Handle failure to create temp file by returning NULL.

	* gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
	Return FALSE if surface creation fails.

	(print_pages): If the preiew signal is not handled, show an
	error dialog.

722 723 724 725 726 727 728 729 730 731
2008-07-01  Michael Natterer  <mitch@imendio.com>

	Bug 442042 – GtkScaleButton is too limited

	* gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
	property that can be changed at any time after widget
	creation. Add public API for it.

	* gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.

732 733 734 735 736 737 738 739 740 741 742 743 744 745 746
2008-06-30  Michael Natterer  <mitch@imendio.com>

	Some unrelated cleanups found while reviewing
	the offscreen window patch:

	* gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
	functions, fix some function header indentation, update
	documentation of redirect_to_drawable().

	* gdk/x11/gdkwindow-x11.c
	* gdk/x11/gdkpixmap-x11.c: fix function header
	formatting/indentation.

	* gtk/gtkwidget.c: use I_() on "damage_event".

747 748 749 750 751
2008-06-30  Michael Natterer  <mitch@imendio.com>

	* gdk/gdkinternals.h: remove duplicate declaration of
	_gdk_window_new().

752 753 754 755
2008-06-30  Michael Natterer  <mitch@imendio.com>

	* gdk/Makefile.am: reorder source lists alphabetically.

756 757 758 759 760 761 762
2008-06-30  Matthias Clasen  <mclasen@redhat.com>

	Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow

	* gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
	Patch by Owen Taylor

763 764 765 766 767 768 769
2008-06-29  Behdad Esfahbod  <behdad@gnome.org>

	Bug 530255 – GtkAboutDialog cuts off comments label
	Followup patch from  Jan Arne Petersen

	* gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.

770 771 772 773 774
2008-06-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkselection.h: properly indent the newly added
	GtkSelectionData accessors. Some newlines can't hurt either.

775 776 777 778
2008-06-27  Mikael Hallendal  <micke@imendio.com>

	* gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.

779 780 781 782 783 784
2008-06-27  Mikael Hallendal  <micke@imendio.com>

	* gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
	Factored out gtk_box_pack from gtk_box_pack_start and use it from both
	pack_start and pack_end in order to reduce the code duplication.

785 786 787 788 789 790 791 792
2008-06-27  Michael Natterer  <mitch@imendio.com>

	Bug 442042 – GtkScaleButton is too limited

	* gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
	"gtk-scalebutton-popup-window" on the popup window so it is
	properly themeable.

793 794 795 796 797 798 799
2008-06-27  Kristian Rietveld  <kris@imendio.com>

	* gdk/quartz/gdkgeometry-quartz.c:
	* gdk/quartz/gdkwindow-quartz.c:
	* gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
	interface.

800 801 802 803 804
2008-06-27  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
	critical warnings. Bug #539470.

805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828
2008-06-27  Emmanuele Bassi  <ebassi@gnome.org>

	Abstract some GdkWindow API into an interface that the backends
	must implement. (based on a patch by Alex Larsson)

	* gdk/Makefile.am: Add gdkwindowimpl.[ch]

	* gdk/gdk.symbols: Move symbols around.

	* gdk/gdkinternals.h:
	* gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
	from the backends to a GInterface that the backends should implement
	instead.

	* gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
	wrapper call around the GdkWindowImpl interface vtable.

	* gdk/x11/gdkevents-x11.c:
	* gdk/x11/gdkgeometry-x11.c:
	* gdk/x11/gdkprivate-x11.h:
	* gdk/x11/gdkwindow-x11.c:
	* gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
	the GdkWindowImpl interface.

829 830 831 832 833 834 835
2008-06-27  Martyn Russell  <martyn@imendio.com>

	Bug 540318 - Invalid URL
	
	* gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
	in the warning produced here.

836 837 838 839 840 841 842 843 844 845
2008-06-27  Michael Natterer  <mitch@imendio.com>

	Bug 442042 – GtkScaleButton is too limited

	* gtk/gtkscalebutton.c: add "orientation" property. Make sure the
	stuff that is part of the public API continues to be created in
	init() to stay compatible. Move creating of the popup scale to
	constructor(). Add an internal HScale class. Changed popup
	positioning for horizontal scales accordingly.

846 847 848 849 850 851 852
2008-06-26  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkscalebutton.c
	* gtk/gtkvolumebutton.c: remove redundant init() and class_init()
	prototypes, remove redundant includes, remove a little trailing
	whitespace.

853 854 855 856 857 858 859 860
2008-06-26  Richard Hult  <richard@imendio.com>

	* gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
	* gtk/gtkquartz.c:
	(_gtk_quartz_get_selection_data_from_pasteboard),
	(_gtk_quartz_set_selection_data_for_pasteboard): Patch from
	Christian Dywan to clean up selection data setting.

861 862 863 864 865
2008-06-26  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
	deprecated function gtk_widget_ref, replace with g_object_ref.

Michael Natterer's avatar
Michael Natterer committed
866 867 868 869
2008-06-26  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilesystem.c: #include "config.h"

870 871 872 873 874 875 876 877 878
2008-06-26  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_get_current_folder): current_folder can be
	NULL here, do not try to reference it (Bug #540235)
	(gtk_file_chooser_default_get_files): Deal better with
	gtk_file_chooser_default_get_current_folder() being able to return
	NULL.

879 880 881 882 883
2008-06-26  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
	allocate the GtkTextUtilCallbackInfo structs with GSlice.

884 885 886 887 888 889 890 891 892
2008-06-25  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktypeutils.h: there is no reason to include
	<gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
	replacing the <glib-object.h> include. Also move the remaining few
	non-deprecated things to the top and move some deprecated things
	around to clean up the mess with too many deprecated sections even
	more.

893 894 895 896 897 898 899 900 901 902
2008-06-24  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
	(also for GTK_COMPILATION). Move some deprecated typedefs around
	to reduce the mess with zillions of deprecated sections.

	* gtk/gtkmain.c (do_post_parse_initialization): replace the call
	to gtk_type_init() by g_type_init() and gtk_object_get_type() even
	though the latter is probably completely pointless.

903 904 905 906 907
2008-06-24  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
	the dialog's vbox was added (bug #539732).

908 909 910 911 912 913 914 915 916 917 918 919 920 921
2008-06-24  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtkdialog.[ch]: Remove container implementation, which isn't
	thought for handling non-direct children. Fixes #539732.
	(gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
	doesn't provide enough control to API users (removing, reordering...),
	this is better handled through:
	(gtk_dialog_get_content_area): New function which just returns
	dialog->vbox.
	* gtk/gtk.symbols: Modify accordingly.
	* docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
	using gtk_dialog_get_[action|content]_area() instead of accessing
	dialog struct members directly.

922 923 924 925 926 927 928 929 930 931 932 933 934
2008-06-24  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkassistant.h
	* gtk/gtkcellrenderer.h
	* gtk/gtkfilechooserentry.h
	* gtk/gtkprivate.h
	* gtk/gtktooltip.h
	* gtk/gtktreeview.h
	* gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
	if there is any other widget included, they all have to include
	their respective parent classes (the is-a relation works for
	includes too).

935 936 937 938 939 940
2008-06-24  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextutil.h: remove includes from this internal header.

	* gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.

Michael Natterer's avatar
Michael Natterer committed
941 942 943 944
2008-06-23  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkinvisible.h: formatting.

945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974
2008-06-23  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkaction.h
	* gtk/gtkbuildable.h
	* gtk/gtkbuilderprivate.h
	* gtk/gtkcelllayout.h
	* gtk/gtkentrycompletion.h
	* gtk/gtkfilechoosersettings.h
	* gtk/gtkfilesystem.h
	* gtk/gtkfilesystemmodel.h
	* gtk/gtkicontheme.h
	* gtk/gtklinkbutton.h
	* gtk/gtkpagesetup.h
	* gtk/gtkpapersize.h
	* gtk/gtkprintcontext.h
	* gtk/gtkprintoperation.h
	* gtk/gtkprintoperationpreview.h
	* gtk/gtkprintsettings.h
	* gtk/gtkrecentchooserprivate.h
	* gtk/gtkrecentmanager.h
	* gtk/gtksearchengine.h
	* gtk/gtktexttag.h
	* gtk/gtktreeselection.h
	* gtk/gtktreeviewcolumn.h
	* gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
	<glib-object.h>. There is no point in relying on them being pulled
	in by other headers in some places and placing them explicitly in
	other places, so choose the "as little includes as possible"
	approach and get rid of them.

975 976 977 978 979 980 981 982
2008-06-23  Kristian Rietveld  <kris@imendio.com>

	* gdk/gdkenumtypes.h.template:
	* gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
	* gtk/gtktypebuiltins.h.template:
	* perf/typebuiltins.h.template: do not hard code the prefix of the
	enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).

983 984 985 986 987 988 989
2008-06-23  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmountoperation.h
	* gtk/gtktestutils.h
	* gtk/gtkshow.[ch]: remove as many includes as possible from these
	new files. They can't be included individually, so nothing can break.

990 991 992 993 994
2008-06-22  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
	registering the "modifier-mask" property.

995 996 997 998 999 1000 1001
2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

    * *.[ch]: Include "config.h" instead of <config.h>
	Command used:
	find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
	Rubberstamped by Mitch and Tim

1002 1003 1004 1005 1006 1007 1008
2008-06-21  Carlos Garnacho  <carlos@imendio.com>

	Bug 539466 – GtkMenuShell API/ABI break in trunk.

	* gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
	different name and packing width.

1009 1010 1011 1012 1013
2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
	a compiler warning.

1014 1015 1016 1017 1018 1019
2008-06-21  Michael Natterer  <mitch@imendio.com>

	* gdk/gdkapplaunchcontext.h: remove redundant include, fix
	indentation, replace header by a GDK copyright header (don't say
	"The Gnome Library"), remove trailing whitespace.

1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033
2008-06-21  Hans Breuer  <hans@breuer.org>

	* gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible 
	types - from 'struct _cairo *' to 'struct _cairo_surface *' by
	passing the surface to cairo_surface_show_page(), not the context
	* gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018: 
	'<' : signed/unsigned mismatch by using guint for the loop

	* gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is 
	an uint, gtk_menu_get_active() returns the widget pointer. Convert
	the latter to the former by calculating the index in menu::children
	Also fix some occurences of g_return_if_fail() where 
	g_return_val_if_fail() was meant

1034 1035 1036 1037 1038 1039 1040
2008-06-21  Björn Lindqvist  <bjourne@gmail.com>

	Bug 539363 – Segfault when creating GtkPlugs

	* gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
	property names. "socket window" => "socket-window"

1041 1042 1043 1044 1045
2008-06-20  Jody Goldberg <jody@gnome.org>

	* gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) : 
	  Fix life cycle to avoid crash. [#536966]

1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057
2008-06-20  Hans Breuer  <hans@breuer.org>

	* gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
	a value of the appropriate type with g_return_val_if_fail
	
	* gdk/gdkconfig.h.win32 : add the GSEAL definition here as well

	* gtk/gtkfilesystem.c : don't add the "File System" on win32

	* tests/makefile.msc : remove broken autotestfile(system|chooser) 
	from build

1058 1059
2008-06-20  Johan Dahlin  <jdahlin@async.com.br>

Johan Dahlin's avatar
Johan Dahlin committed
1060 1061
	* gtk/gtkbutton.c: Document a style property

1062 1063
	* gtk/gtkeditable.c: Document and use - instead of _ in signal names.

1064 1065 1066 1067 1068 1069 1070 1071
	* gtk/gtkbutton.c:
	* gtk/gtkcolorsel.c:
	* gtk/gtkentry.c:
	* gtk/gtkitemfactory.c:
	* gtk/gtknotebook.c:
	Fix up deprecated markup syntax. Add version numbers and
	a message on the remaning ones.

1072 1073 1074 1075 1076 1077 1078 1079
2008-06-20  Mikael Hallendal  <micke@imendio.com>

	* tests/testthreads.c: Use g_signal_connect instead of
	gtk_signal_connect.

	* demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
	While the code is not built, people may still look at it.

1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092
2008-06-20  Kjartan Maraas  <kmaraas@gnome.org>

	reviewed by: <Carlos Garnacho <garnacho@gnome.org>

	* gtk/gtkbuilder.h:
	* gtk/gtkliststore.h:
	* gtk/gtkobject.h:
	* gtk/gtktextchild.h:
	* gtk/gtktreemodelfilter.h:
	* gtk/gtktreemodelsort.h:
	* gtk/gtktreestore.h:
	#include <gdkconfig.h> not <gdk/gdkconfig.h>

1093 1094 1095 1096 1097 1098
2008-06-20  Martyn Russell  <martyn@imendio.com>

	* gtk/gtkaccelgroup.c: Fix warnings from calling
	g_object_notify() on a GtkAccelGroup without casting to a
	GObject.

1099 1100 1101 1102 1103 1104 1105
2008-06-20  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkcolorsel.c: Modernize and order things as most
	other objects. Defines at the top, class init before init
	before gobject methods before object method before widget
	methods. No changes to the logic done.

1106 1107 1108 1109 1110 1111
2008-06-20  Martyn Russell  <martyn@imendio.com>

	* gtk/gtkaccelgroup.c: Don't call g_object_notify() with
	properties that don't exist. Also, make sure we notify for
	the "is-locked" property.

1112 1113
2008-06-20  Johan Dahlin  <jdahlin@async.com.br>

1114 1115
	* gtk/gtklayout.c (enum): Remove left-over unused property enum.

1116 1117
2008-06-20  Johan Dahlin  <jdahlin@async.com.br>

1118 1119
	* gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.

1120 1121
	* gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes

1122 1123
	* gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
	allocation to avoid compiler warnings
1124

1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140
2008-06-20  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkaccellabel.h
	* gtk/gtkactiongroup.h
	* gtk/gtkalignment.h
	* gtk/gtkarrow.h
	* gtk/gtkaspectframe.h
	* gtk/gtkbin.h
	* gtk/gtkhandlebox.h
	* gtk/gtkprogressbar.h
	* gtk/gtkrange.h
	* gtk/gtkscale.h
	* gtk/gtkscalebutton.h
	* gtk/gtkselection.h: fix some formatting and spacing uglyness
	that got merged from the GSEAL branch.

1141 1142 1143 1144 1145 1146 1147
2008-06-20  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtk.symbols:
	* gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
	* gtk/gtkmessagedialog.h:
	Add missing accessor for sealed field GtkMessageDialog->image.

1148 1149 1150 1151 1152
2008-06-20  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprinter.h: the GSEAL branch added two includes for no
	reason.

1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173
2008-06-20  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkaccelgroup.c:
	* gtk/gtkcolorseldialog.c:
	* gtk/gtkcontainer.c:
	* gtk/gtkdialog.c:
	* gtk/gtkentry.c (gtk_entry_class_init):
	* gtk/gtkfontsel.c:
	* gtk/gtkhandlebox.c:
	* gtk/gtklayout.c:
	* gtk/gtkmenu.c (gtk_menu_class_init):
	* gtk/gtkmenuitem.c (gtk_menu_item_class_init):
	* gtk/gtkplug.c (gtk_plug_class_init):
	* gtk/gtkselection.c:
	* gtk/gtksocket.c:
	* gtk/gtktreeselection.c:
	* gtk/gtkwidget.c (gtk_widget_class_init):
	* gtk/gtkwindow.c:
	Add missing Since: gtk-doc markup for newly added GSEAL API.
	Change all Since: GSEAL-branch to Since: 2.14.

1174 1175 1176 1177 1178
2008-06-20  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
	the code merged from the GSEAL branch.

1179 1180
2008-06-20  Michael Natterer  <mitch@imendio.com>

Michael Natterer's avatar
Michael Natterer committed
1181
	* gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
1182 1183
	value from GtkHButtonBox to GtkWidget.

1184 1185 1186 1187 1188
2008-06-20  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
	of sealed fields.

1189 1190 1191 1192 1193 1194
2008-06-20  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkwindow.[ch]
	* gtk/gtk.symbols: rename gtk_window_group_get_windows() to
	gtk_window_group_list_windows().

1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952
2008-06-20 12:35:20 +0200 Tim Janik

	* Fixed wrongly resolved merge conflicts.

2008-06-19 19:01:41 +0200 Carlos Garnacho

	Add gtk_window_group_get_windows().

	* gtk/gtk.symbols:
	* gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.

2008-06-19 18:39:47 +0200 Carlos Garnacho

	Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()

	* gtk/gtkdialog.c: Add missing documentation for new fucntions.

2008-06-19 18:38:35 +0200 Carlos Garnacho

	Document gtk_container_get_focus_child().

	* gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().

2008-06-19 13:50:06 +0200 Christian Dywan

	Add gtk_plug_get_socket_window

2008-06-19 13:11:52 +0200 Christian Dywan

	Remove superflous gtkselection accessors and merge _get_data

2008-06-13 15:56:51 +0200 Christian Dywan

	Implement gtk_selection_get_display, style fixes

2008-06-13 15:45:00 +0200 Christian Dywan

	Fix indentation of a comment.

2008-06-13 15:10:08 +0200 Christian Dywan

	Change docs and signature of gtk_widget_get_allocation

2008-06-13 14:22:17 +0200 Christian Dywan

	Remove unneeded GtkColorSelectionDialog accessors

2008-06-13 12:57:54 +0200 Christian Dywan

	Fix documentaion of gtk_menu_item_get_accel_path

2008-06-11 13:49:34 +0200 Christian Dywan

	Fix gtk_widget_get_allocation

2008-06-07 15:37:18 +0200 Carlos Garnacho

	Switch to "guint GSEAL (foo) : width;" when packing fields in guints.

	* gtk/gtkbox.h:
	* gtk/gtkbutton.h:
	* gtk/gtkcellrenderer.h:
	* gtk/gtkcellrenderertext.h:
	* gtk/gtkcheckmenuitem.h:
	* gtk/gtkcontainer.h:
	* gtk/gtkentry.h:
	* gtk/gtkhandlebox.h:
	* gtk/gtkimcontextsimple.h:
	* gtk/gtklabel.h:
	* gtk/gtkliststore.h:
	* gtk/gtkmenu.h:
	* gtk/gtkmenuitem.h:
	* gtk/gtkmenushell.h:
	* gtk/gtknotebook.h:
	* gtk/gtkpaned.h:
	* gtk/gtkplug.h:
	* gtk/gtkprintjob.h:
	* gtk/gtkprogressbar.h:
	* gtk/gtkrange.h:
	* gtk/gtkscale.h:
	* gtk/gtkscrolledwindow.h:
	* gtk/gtksizegroup.h:
	* gtk/gtksocket.h:
	* gtk/gtkspinbutton.h:
	* gtk/gtkstatusbar.h:
	* gtk/gtktable.h:
	* gtk/gtktearoffmenuitem.h:
	* gtk/gtktextbuffer.h:
	* gtk/gtktextview.h:
	* gtk/gtktogglebutton.h:
	* gtk/gtktoolbar.h:
	* gtk/gtktreestore.h:
	* gtk/gtktreeviewcolumn.h:
	* gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.

2008-06-06 19:02:17 +0200 Christian Dywan

	Seal GtkWidget

2008-06-06 17:58:21 +0200 Christian Dywan

	Seal GtkSelectionData

2008-06-06 17:57:23 +0200 Christian Dywan

	Fix GtkDialog, don't add vbox via gtk_container_add.

2008-06-06 13:39:34 +0200 Kristian Rietveld

	Make GtkCellRenderer::editing read-only.  (Catched by Matthias)

2008-06-03 09:11:50 +0200 Kristian Rietveld

	Seal GtkTextView.

2008-05-30 16:48:12 +0100 Martyn Russell

	Seal GtkFontSelection & GtkFontSelectionDialog

2008-05-29 10:35:29 +0200 Kristian Rietveld

	Seal GtkTearoffMenuItem.

	(the torn_off field is for internal state keeping, you can retrieve
	the value from the parent menu's tearoff_state).

2008-05-27 18:34:12 +0200 Christian Dywan

	Seal GtkObject

2008-05-27 18:17:44 +0200 Christian Dywan

	Seal GtkRange

2008-05-27 15:10:02 +0200 Christian Dywan

	Seal GtkPlug

2008-05-27 14:17:45 +0200 Christian Dywan

	Seal GtkMenuItem

2008-05-27 14:04:31 +0200 Christian Dywan

	Seal GtkMenuShell

2008-05-27 12:40:08 +0200 Christian Dywan

	Seal GtkInputDialog

2008-05-27 12:39:49 +0200 Christian Dywan

	Seal GtkIMMultiContext

2008-05-27 12:39:17 +0200 Christian Dywan

	Seal GtkIMContextSimple

2008-05-27 12:14:53 +0200 Christian Dywan

	Seal GtkImage

2008-05-27 11:14:21 +0200 Christian Dywan

	Seal GtkSocket

2008-05-27 10:54:20 +0200 Christian Dywan

	Fix the build by including gdkconfig.h in gtkprinter.h.

2008-05-27 10:38:02 +0200 Christian Dywan

	Seal GtkGammaCurve

2008-05-27 10:20:56 +0200 Christian Dywan

	Seal GtkHandleBox

2008-05-26 17:58:19 +0200 Kristian Rietveld

	Seal GtkInvisible.

2008-05-26 17:54:56 +0200 Kristian Rietveld

	Seal GtkPrintJob.

2008-05-26 17:48:23 +0200 Kristian Rietveld

	Seal GtkTextBuffer.

2008-05-26 17:39:38 +0200 Kristian Rietveld

	Seal GtkSpinButton.

2008-05-26 17:31:06 +0200 Kristian Rietveld

	Seal GtkTable.

2008-05-26 17:27:22 +0200 Kristian Rietveld

	Seal GtkRuler.

2008-05-26 17:07:43 +0200 Kristian Rietveld

	Seal GtkStatusBar.

2008-05-26 17:07:37 +0200 Kristian Rietveld

	Seal GtkTextMark.

2008-05-26 16:39:27 +0200 Kristian Rietveld

	Seal GtkTextTagTable.

2008-05-26 16:34:13 +0200 Kristian Rietveld

	Seal GtkViewPort.

2008-05-26 17:08:19 +0200 Christian Dywan

	Seal GtkSettings.h

2008-05-26 16:40:05 +0200 Christian Dywan

	Seal GtkMenu

2008-05-26 16:37:54 +0200 Christian Dywan

	Seal GtkLayout

2008-05-26 14:09:32 +0200 Kristian Rietveld

	Seal priv pointer in GtkToggleToolButton.

2008-05-26 14:04:51 +0200 Kristian Rietveld

	Seal priv pointer in GtkUIManager.

2008-05-26 14:01:32 +0200 Kristian Rietveld

	Seal priv pointer in GtkToolItem.

2008-05-26 14:01:12 +0200 Kristian Rietveld

	Seal priv pointer in GtkToolButton.

2008-05-26 14:00:24 +0200 Kristian Rietveld

	Seal priv pointer in GtkToggleAction.

2008-05-26 13:58:01 +0200 Kristian Rietveld

	Seal priv pointer in GtkStatusIcon.

2008-05-26 13:57:33 +0200 Kristian Rietveld

	Seal priv pointer in GtkSeparatorToolItem.

2008-05-26 13:56:33 +0200 Kristian Rietveld

	Seal priv pointer in GtkScaleButton.

2008-05-26 13:55:57 +0200 Kristian Rietveld

	Seal priv pointer in GtkRecentManager.

2008-05-26 13:55:25 +0200 Kristian Rietveld

	Seal priv pointer in GtkRecentChooserWidget.

2008-05-26 13:54:39 +0200 Kristian Rietveld

	Seal priv pointer in GtkRecentChooserMenu.

2008-05-26 13:54:15 +0200 Kristian Rietveld

	Seal priv pointer in GtkRecentChooserDialog.

2008-05-26 13:52:40 +0200 Kristian Rietveld

	Seal priv pointer in GtkRecentAction.

2008-05-26 13:51:47 +0200 Kristian Rietveld

	Seal priv pointer in GtkRadioAction.

2008-05-26 13:50:49 +0200 Kristian Rietveld

	Seal priv pointer in GtkPrintUnixDialog.

2008-05-26 13:50:08 +0200 Kristian Rietveld

	Seal priv pointer in GtkPrintOperation.

2008-05-26 13:49:41 +0200 Kristian Rietveld

	Seal priv pointer in GtkPrinter.

2008-05-26 13:48:49 +0200 Kristian Rietveld

	Seal priv pointer in  GtkPageSetupUnixDialog.

2008-05-26 13:47:39 +0200 Kristian Rietveld

	Seal priv pointer in GtkMenuToolButton.

2008-05-26 13:47:29 +0200 Kristian Rietveld

	Add gdkconfig.h include to GtkBuilder for GSEAL macro.

2008-05-26 13:23:45 +0200 Kristian Rietveld

	Seal priv pointer in GtkLinkButton.

2008-05-26 13:22:25 +0200 Kristian Rietveld

	Seal priv pointer in GtkIconView.

2008-05-26 13:22:04 +0200 Kristian Rietveld

	Seal priv pointer in GtkIconTheme.

2008-05-26 13:13:49 +0200 Kristian Rietveld

	Seal child_allocation field in GtkFrame.

2008-05-26 13:10:17 +0200 Kristian Rietveld

	Sealed priv pointer in GtkFontButton.

2008-05-26 13:07:14 +0200 Kristian Rietveld

	Seal priv pointer in GtkFileChooserButton.

2008-05-26 13:06:43 +0200 Kristian Rietveld

	Seal priv pointer in GtkExpander.

2008-05-26 13:03:24 +0200 Kristian Rietveld

	Sealed remaining (private) fields in GtkContainer.

2008-05-26 13:02:26 +0200 Kristian Rietveld

	Seal priv pointer in GtkComboBoxEntry.

2008-05-26 13:01:40 +0200 Kristian Rietveld

	Seal priv pointer in GtkComboBox.

2008-05-26 13:00:59 +0200 Kristian Rietveld

	Seal private_data pointer in GtkColorSel.

2008-05-26 12:57:50 +0200 Kristian Rietveld

	Seal 3 remaining fields in GtkButton.

2008-05-26 12:55:24 +0200 Kristian Rietveld

	Seal priv pointer in GtkBuilder.

2008-05-26 12:52:44 +0200 Kristian Rietveld

	Seal center_allocation field in GtkAspectFrame.

2008-05-26 12:48:18 +0200 Kristian Rietveld

	Seal priv pointer in GtkAction.

2008-05-26 12:46:11 +0200 Kristian Rietveld

	Seal priv pointer in GtkAboutDialog.

2008-05-26 12:41:46 +0200 Kristian Rietveld

	Seal GtkSizeGroup.

2008-05-26 12:39:54 +0200 Kristian Rietveld

	Seal GtkPaned.

2008-05-26 11:59:35 +0200 Kristian Rietveld

	Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.

2008-05-26 11:52:20 +0200 Kristian Rietveld

	Add new GtkColorSelectionDialog accessors to gtk.symbols.

2008-05-26 11:41:47 +0200 Kristian Rietveld

	gtklabel.h: include bit-size of fields inside GSEAL parens.

2008-05-26 11:40:07 +0200 Kristian Rietveld

	gtktoolbar.h: include bit-size of fields inside GSEAL parens.

2008-05-26 11:39:35 +0200 Kristian Rietveld

	gtkentry.h: include bit-size of fields inside GSEAL parens.

2008-05-26 11:34:14 +0200 Kristian Rietveld

	Add new accessors for GtkEntry to gtk.symbols.

2008-05-26 11:23:56 +0200 Kristian Rietveld

	Also seal GtkWindowGroup in gtkwindow.h

2008-05-26 10:48:48 +0200 Kristian Rietveld

	Fix the build by including gdkconfig.h in gtktextchild.h.

2008-05-23 18:48:56 +0200 Christian Dywan

	Seal GtkLabel

2008-05-23 18:28:39 +0200 Christian Dywan

	Seal GtkToolbar

2008-05-23 18:28:07 +0200 Christian Dywan

	Seal GtkColorSelectionDialog

2008-05-23 18:03:44 +0200 Carlos Garnacho

	Seal GtkTextChildAnchor.

	* gtk/gtktextchild.h: Sealed private member.

2008-05-23 17:42:01 +0200 Carlos Garnacho

	Seal GtkWindow.

	* gtk/gtkwindow.h: Seal all fields.

2008-05-23 17:40:09 +0200 Carlos Garnacho

	Add gtk_window_get_default()

	* gtk/gtkwindow.[ch]: Add gtk_window_get_default().
	* gtk/gtk.symbols: same here.

2008-05-09 15:41:57 +0100 Martyn Russell

	Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim

2008-05-02 16:31:40 +0200 Martyn Russell

	Seal GtkEntry

2008-05-02 16:30:09 +0200 Martyn Russell

	Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration

2008-04-27 18:49:50 +0200 Kristian Rietveld

	Seal GtkToggleButton.

	* gtk/gtktogglebutton.h: Seal all member fields.

2008-04-27 18:41:46 +0200 Kristian Rietveld

	Seal GtkTreeViewColumn.

	* gtk/gtktreeviewcolumn.h: Seal all public member fields.  The button field is
	still troublesome.  We are probably going to need an accessor for this and
	deprecated it immediately in GTK+ 3.0.  Accessors for requested_width and
	resized_width can be useful, but I really consider them to be private and
	of not much use to applications.

2008-04-27 18:23:23 +0200 Kristian Rietveld

	Seal GtkRadioMenuItem.

	* gtk/gtkradiomenuitem.h: Seal member field.

2008-04-27 18:21:29 +0200 Kristian Rietveld

	Seal GtkRadioButton.

	* gtk/gtkradiobutton.h: seal member field.

2008-04-27 18:11:41 +0200 Kristian Rietveld

	Seal GtkTreeSelection.

	* gtk/gtktreeselection.h: Seal all member fields.

2008-04-27 18:09:46 +0200 Kristian Rietveld

	Add gtk_tree_selection_get_select_function().

	* gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
	function.
	* gtk/gtk.symbols: add new function.

2008-04-27 16:05:02 +0200 Kristian Rietveld

	Seal GtkScrolledWindow.

	* gtk/gtkscrolledwindow.h: Seal all object member fields.

2008-04-27 15:56:33 +0200 Kristian Rietveld

	Seal GtkCellRenderer.

	* gtk/gtkcellrenderer.h: seal all member fields.  All member fields are
	already accessible via GObject properties.

2008-04-27 15:56:01 +0200 Kristian Rietveld

	Add "editing" GObject property to GtkCellRenderer.

	* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
	(gtk_cell_renderer_get_property),
	(gtk_cell_renderer_set_property): add the property and hook
	it up.

2008-04-27 15:42:08 +0200 Kristian Rietveld

	Seal GtkCellRendererText.

	* gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
	marked as private).

2008-04-27 15:40:47 +0200 Kristian Rietveld

	Seal GtkCellRendererCombo.

	* gtk/gtkcellrenderercombo.h: seal all member fields.  The members fields
	that were not marked as private are already accessible via GObject properties.

2008-04-27 15:39:41 +0200 Kristian Rietveld

	Seal GtkCellRendererAccel.

	* gtk/gtkcellrendereraccel.h: seal all member fields that were already
	marked as private.

2008-04-18 16:55:44 +0200 Kristian Rietveld

	Seal GtkTreeView

	* gtk/gtktreeview.h: seal private pointer.

2008-04-18 16:52:54 +0200 Kristian Rietveld

	Seal GtkTreeModelFilter

	* gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
	pointer.

2008-04-18 16:50:55 +0200 Kristian Rietveld

	Seal GtkTreeModelSort

	* gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
	all public member fields.

2008-04-18 16:42:28 +0200 Kristian Rietveld

	Seal GtkTreeStore

	* gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
	public member fields.

2008-04-18 16:37:43 +0200 Kristian Rietveld

	Seal GtkListStore

	* gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
	public member fields.

2008-04-18 18:26:31 +0200 Carlos Garnacho

	* gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.

2008-04-18 18:25:22 +0200 Carlos Garnacho

	* gtk/gtkcontainer.h: seal members.

2008-04-11 17:28:54 +0200 Carlos Garnacho

	* gtk/gtkmisc.h: seal members.

2008-04-11 17:28:05 +0200 Carlos Garnacho

	*gtk/gtkfixed.h: seal members.

2008-04-11 16:04:23 +0200 Michael Natterer

	* gtk/gtkcellrendererpixbuf.h: seal all members.

2008-04-11 16:01:19 +0200 Michael Natterer

	* gtk/gtkcellrendererprogress.h: seal private member.

2008-04-11 15:43:22 +0200 Michael Natterer

	* gtk/gtkcellrenderertoggle.h: seal all members.

2008-04-04 18:50:05 +0200 Carlos Garnacho

	* gtk/gtkfilechooserwidget.h: Seal the private member.

2008-04-04 18:46:47 +0200 Carlos Garnacho

	gtk/gtkfilechooserdialog.h: seal the private member.

2008-04-04 18:42:17 +0200 Carlos Garnacho

	* gtk/gtkentrycompletion.h: Seal private member.

2008-04-04 18:36:35 +0200 Carlos Garnacho

	* gtk/gtkcellview.h: Seal the private member.

2008-04-04 18:28:00 +0200 Carlos Garnacho

	* gtk/gtkcolorbutton.h: seal private member.

2008-04-04 18:27:26 +0200 Carlos Garnacho

	* gtk/gtkcheckmenuitem.h: seal public struct members.

2008-04-04 18:25:25 +0200 Carlos Garnacho

	* gtk/gtkcalendar.h: seal public struct members.

2008-04-04 18:24:15 +0200 Carlos Garnacho

	* gtk/gtkdialog.h: Also seal variables marked as private.

2008-04-04 17:35:48 +0200 Michael Natterer

	* gtk/gtkimagemenuitem.h: seal private member.

2008-04-04 17:28:56 +0200 Michael Natterer

	* gtk/gtkiconfactory.h: seal private member.

2008-03-28 16:56:53 +0000 Martyn Russell

	Seal GtkActionGroup

	* gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
	  member and clean up .c file to reflect this.

2008-03-28 15:00:09 +0100 Sven Herzberg

	Seal GtkAccelLabel

	gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields

2008-03-28 16:38:00 +0100 Michael Natterer

	* gtk/gtkdrawingarea.h: seal instance struct member.

2008-03-28 16:23:32 +0100 Christian Dywan

	Seal GtkScaleButton public fields

	* gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().

2008-03-28 16:07:50 +0100 Christian Dywan

	Seal GtkScale public fields

	* gtk/gtkscale.h: Deprecate direct access through GSEAL().

2008-03-14 20:45:34 +0100 Christian Dywan

	Seal GtkProgressBar public fields


2008-03-14 20:32:12 +0100 Christian Dywan

	Seal GtkFrame public vars

2008-03-14 18:57:35 +0100 Carlos Garnacho

	Deprecate direct access to public variables in GtkButton.

	* gtk/gtkbutton.h: Deprecate direct access through GSEAL().

2008-03-14 18:56:23 +0100 Carlos Garnacho

	Deprecate direct access to public variables in GtkButtonBox.

	* gtk/gtkbbox.h: Deprecate direct access through GSEAL().

2008-03-14 18:54:35 +0100 Carlos Garnacho

	Deprecate direct access to public variables in GtkBox.

	* gtk/gtkbox.h: Deprecate direct access through GSEAL().

2008-03-09 11:50:41 +0100 Carlos Garnacho

	Seal GtkMessageDialog public vars

2008-03-09 11:38:00 +0100 Carlos Garnacho

	Seal GtkDialog public vars

2008-03-09 11:32:05 +0100 Carlos Garnacho

	Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove

2008-03-09 11:31:46 +0100 Carlos Garnacho

	Seal GtkAssistant public fields

2008-03-09 11:31:30 +0100 Carlos Garnacho

	Seal GtkNotebook public fields

2008-03-07 20:29:47 +0100 Mikael Hallendal

	Deprecate direct access to child in GtkBin.

	* gtk/gtkbin.h: Deprecate direct access to child by GSEAL.

2008-03-07 18:25:59 +0000 Martyn Russell

	Sealed GtkAccelGroup and added

	* gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
	  modifier_mask, acceleratables, n_accels and priv_accels. Added seal
	  macro for public struct members which should be private.

2008-03-07 18:54:22 +0100 Mikael Hallendal

	Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.

	* gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.

2008-03-07 18:48:29 +0100 Mikael Hallendal

	Deprecate arrow_type and shadow_type direct access in GtkArrow.

	* gtk/gtkarrow.h: Deprecate public object fields by GSEAL.

2008-03-07 18:35:12 +0100 Mikael Hallendal

	Added GSEAL to GtkAlignment.

	* gtk/gtkalignment.h: Seal the object data with GSEAL.

2008-03-07 15:24:27 +0100 Tim Janik

	Introduce GSEAL() macro.

	* configure.in: define GSEAL() when generating gdkconfig.h

1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965
2008-06-20  Michael Natterer  <mitch@imendio.com>

	Bug 538395 – gtk_combo_box_append_text() on non-compliant model
	segfaults

	* gtk/gtkcombobox.c (gtk_combo_box_append_text)
	(gtk_combo_box_insert_text)
	(gtk_combo_box_prepend_text)
	(gtk_combo_box_remove_text)
	(gtk_combo_box_real_get_active_text): apply patch from Christian
	Dywan which adds the needed g_return_if_fail() to prevent the
	crashes.

1966 1967 1968 1969 1970 1971 1972 1973
2008-06-20  Cody Russell  <cody@jhu.edu>

	* gdk/directfb/gdkwindow-directfb.c:

	Rename gdk_window_new -> _gdk_window_new and
	gdk_window_reparent -> _gdk_window_reparent to fix
	the build.  (#539095, Sebastien Bacher)

1974 1975 1976 1977 1978
2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkmenuitem.c: remove an unused variable and cast
	accel_path to gchar, just like in gtkmenu.c

Matthias Clasen's avatar
Matthias Clasen committed
1979 1980 1981 1982 1983
2008-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
	for this.

1984 1985
2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

Johan Dahlin's avatar
Johan Dahlin committed
1986 1987
	* gtk/gtkprintbackend.c: Fix a typo in a comment

1988 1989 1990 1991
	* gtk/gtkhsv.c (paint_ring, paint_triangle):
	Cast buf to unsigned char to avoid two compiler
	warnings.

1992 1993 1994 1995 1996
	* gtk/gtkclist.c:
	* gtk/gtkstyle.c (gtk_style_finalize):
	Do not ignore the return value of g_slist_remove.
	gtkstyle.c changes rubberstamped by Owen.

1997 1998 1999 2000 2001 2002
2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
	(gtk_tree_view_set_enable_tree_lines):
	gdk_gc_set_dashes expects a list of gint8, not guint8.

2003 2004 2005 2006 2007 2008
2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkmenu.c (gtk_menu_set_accel_path):
	Remove an unused variable and cast to gchar to avoid a compiler
	warning.

2009 2010 2011 2012 2013 2014 2015 2016
2008-06-19  Christian Persch  <chpe@gnome.org>

	* docs/reference/gtk/gtk-sections.txt:
	* gtk/gtk.symbols:
	* gtk/gtkclipboard.c:
	* gtk/gtkclipboard.h: Add clipboard convenience functions  for URI 
	targets. Bug #537639.

2017 2018 2019 2020 2021
2008-06-19  Christian Persch  <chpe@gnome.org>

        * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
	hardcoded target tables. Bug #516092.

2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055
2008-06-19  Christian Persch  <chpe@gnome.org>

	* gdk-pixbuf/gdk-pixbuf-io.c:
	* gdk-pixbuf/gdk-pixdata.c:
	* gdk-pixbuf/io-ani.c:
	* gdk-pixbuf/io-bmp.c:
	* gdk-pixbuf/io-gdip-utils.c:
	* gdk-pixbuf/io-gif.c:
	* gdk-pixbuf/io-icns.c:
	* gdk-pixbuf/io-ico.c:
	* gdk-pixbuf/io-jasper.c:
	* gdk-pixbuf/io-jpeg.c:
	* gdk-pixbuf/io-pcx.c:
	* gdk-pixbuf/io-png.c:
	* gdk-pixbuf/io-pnm.c:
	* gdk-pixbuf/io-ras.c:
	* gdk-pixbuf/io-tga.c:
	* gdk-pixbuf/io-tiff.c:
	* gdk-pixbuf/io-wbmp.c:
	* gdk-pixbuf/io-xbm.c:
	* gdk-pixbuf/io-xpm.c:
	* gtk/gtkfilechooserdefault.c:
	* gtk/gtkfilesystemmodel.c:
	* gtk/gtkiconfactory.c:
	* gtk/gtkicontheme.c:
	* gtk/gtkmain.c:
	* gtk/gtkpagesetup.c:
	* gtk/gtkpapersize.c:
	* gtk/gtkprintoperation-win32.c:
	* gtk/gtktextbufferserialize.c:
	* tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.

	* configure.in: Update glib requirement to 2.17.3.

2056 2057 2058 2059 2060 2061
2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

	* demos/testpixbuf.c (new_testrgb_window):
	* gtk/gtkctree.c (gtk_ctree_new_with_titles):
	* gtk/gtkitemfactory.c (gtk_item_factory_construct),
	(gtk_item_factory_create_item):
2062
	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076
	* gtk/gtkprogressbar.c (gtk_progress_bar_new),
	(gtk_progress_bar_new_with_adjustment):
	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
	* gtk/gtktext.c (gtk_text_new):
	* gtk/gtkviewport.c (gtk_viewport_new):
	* tests/simple.c (main):
	* tests/testgtk.c (create_statusbar), (create_get_image),
	(create_saved_position), (create_tooltips), (create_cursors),
	(create_display_screen), (create_progress_bar), (create_idle_test):
	* tests/testmultidisplay.c (make_selection_dialog), (main):
	* tests/testmultiscreen.c (main):
	* tests/testrgb.c (new_testrgb_window):
	Use g_object_new instead of gtk_widget_new

2077 2078
2008-06-19  Johan Dahlin  <jdahlin@async.com.br>

Johan Dahlin's avatar
Johan Dahlin committed
2079 2080
	* gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.

Johan Dahlin's avatar
Johan Dahlin committed
2081 2082 2083
	* gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
	an unused variable.

2084 2085 2086
	* gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
	to avoid a gcc warning.

2087 2088 2089 2090 2091 2092 2093 2094 2095 2096
2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>

	http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
	the filename in the name entry in CREATE_FOLDER mode when changing
	folders, so that you can enter a new subfolder name, double-click on a
	folder to change to it, and close the dialog.

	* gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
	the filename in the entry in CREATE_FOLDER mode, either.

2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108
2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>

	http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
	chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
	it shouldn't.

	* gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
	clear the entry for CREATE_FOLDER either; this needs the same
	behavior as SAVE mode.
	(update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
	modes.

Matthias Clasen's avatar
Matthias Clasen committed
2109 2110 2111 2112 2113 2114 2115 2116 2117
2008-06-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
	* gtk/gtkfilechooserbutton.c (change_icon_theme):
	(model_add_bookmarks):
	(model_update_current_folder):
	* gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
	(shortcuts_reload_icons): Use standard icon names.

2118 2119 2120 2121 2122 2123
2008-06-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/Makefile.am: Add some more aliases for standard
	icon names to the builtin icon theme: drive-harddisk,
	folder, folder-remote, text-x-generic.

2124 2125 2126 2127 2128 2129 2130 2131
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcalendar.c: set the maximum of the "year" property to
	G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
	calculations which in turn caused writing beyond the boundaries of
	the calendar->day_month[] and day[] arrays which in turn caused a
	SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)

2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* tests/Makefile.am
	* tests/autotestfilechooser.c
	* tests/buildertest.c
	* tests/defaultvaluetest.c
	* tests/floatingtest.c
	* tests/objecttests.c
	* tests/pixbuf-init.c
	* tests/textbuffertest.c: remove unit tests here...

	* gtk/tests/Makefile.am
	* gtk/tests/builder.c
	* gtk/tests/defaultvalue.c
	* gtk/tests/filechooser.c
	* gtk/tests/floating.c
	* gtk/tests/object.c
	* gtk/tests/pixbuf-init.c
	* gtk/tests/textbuffer.c: ...and add them here.

2152 2153 2154 2155 2156 2157 2158 2159 2160
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* gdk/gdk.h: deprecate GdkDestroyNotify.

	* gdk/gdkevents.c
	* gdk/gdktypes.h
	* gdk/x11/gdkevents-x11.c
	* gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.

2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktypeutils.h: deprecate GtkDestroyNotify.

	* gtk/gtkactiongroup.[ch]
	* gtk/gtkcombobox.[ch]
	* gtk/gtkcontainer.[ch]
	* gtk/gtkliststore.[ch]
	* gtk/gtkmain.[ch]
	* gtk/gtkmenu.c
	* gtk/gtkstock.[ch]
	* gtk/gtktreedatalist.[ch]
	* gtk/gtktreemodelfilter.[ch]
	* gtk/gtktreemodelsort.[ch]
	* gtk/gtktreeprivate.h
	* gtk/gtktreeselection.[ch]
	* gtk/gtktreesortable.[ch]
	* gtk/gtktreestore.[ch]
	* gtk/gtktreeview.[ch]
	* gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.

Michael Natterer's avatar
Michael Natterer committed
2182 2183 2184 2185
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* tests/testgtk.c: some more undeprecation.

2186 2187 2188 2189 2190 2191 2192
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
	GTK_SIGNAL_FUNC().

	(struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/

2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktypeutils.[ch]: deprecate gtk_type_class().

	* gtk/gtk.symbols: changed accordingly.

	* gtk/gtksettings.c (gtk_settings_install_property)
	(gtk_settings_install_property_parser): get rid of using
	gtk_type_class() by keeping a static reference to GtkSettingsClass
	around in both functions and passing that pointer on to
	settings_install_property_parser().

	* tests/testgtk.c: use g_type_class_ref()/unref() instead of
	gtk_type_class().

	* gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
	gtktypeutils.h.

2211 2212 2213 2214 2215
2008-06-17  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkstyle.c: Add deprecated version
	and change the deprecation markup used by ref/unref 

2216 2217 2218 2219 2220
2008-06-17  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkwidget.c: 
	Add deprecated versions and fixup markup.

2221 2222 2223 2224 2225 2226
2008-06-17  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkaboutdialog.c:
	* gtk/gtkbutton.c (gtk_button_class_init):
	Don't markup deprecated in italics.

2227 2228 2229 2230 2231
2008-06-18  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
	GtkFileChooserError instead. (#538378, patch by Matthias Clasen)

Michael Natterer's avatar
Michael Natterer committed
2232 2233 2234 2235
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* examples/gtkdial/gtkdial.[ch]: undeprecate.

2236 2237 2238 2239 2240
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkobject.c: remove bogus extern declaration of non-existing
	function gtk_object_init_type().

Michael Natterer's avatar
Michael Natterer committed
2241 2242 2243 2244 2245 2246 2247
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkbindings.c (gtk_binding_entry_add_signal):
	* gtk/gtktoolbutton.c (gtk_tool_button_get_type): 
	* examples/gtkdial/gtkdial.h (gtk_dial_get_type): 
	s/GtkType/GType/

2248 2249
2008-06-17  Tor Lillqvist  <tml@novell.com>

2250 2251 2252 2253 2254 2255
	* gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
	#undef/#define dance here, too, because
	gtk_notebook_set_group_id() is deprecated but used here before it
	is defined, and gcc complains about conflicting type from the
	implicit int declaration when it sees the actual void definition.

2256 2257 2258
	* modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
	GtkType macros.

2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.

	* gtk/gtkclist.c
	* gtk/gtkcombo.c
	* gtk/gtkctree.c
	* gtk/gtklist.c
	* gtk/gtklistitem.c
	* gtk/gtkoldeditable.c
	* gtk/gtkpixmap.c
	* gtk/gtktext.c
	* gtk/gtktipsquery.c
	* gtk/gtktree.c
	* gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
	actually use deprecated symbols (not just types or macros),
	#define it again before #include "gtkalias.h" so the symbols match
	and the beast links.

2278 2279 2280 2281
2008-06-17  Paolo Borelli  <pborelli@katamail.com>

	* gtk/tests/recentmanager.c: more tests for GtkRecentManager.

2282 2283 2284 2285 2286 2287 2288
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* modules/input/gtkimcontextmultipress.h
	* modules/input/gtkimcontextthai.h
	* modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
	type checking macros.

2289 2290 2291 2292 2293
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktypeutils.h: really move the GtkType typedef to an
	undeprecated section.

2294 2295 2296 2297 2298 2299
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST,	GTK_CHECK_CLASS_CAST,
	GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
	Move the GtkType typedef to an undeprecated section.

2300 2301 2302 2303 2304 2305
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprogress.h: use G_TYPE macros for type checking instead
	of GTK_CHECK ones because it's the parent class of an undeprecated
	class and the GTK_CHECK stuff will soon be deprecated.

2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilesel.c
	* gtk/gtkinputdialog.c
	* gtk/gtkmenutoolbutton.c
	* gtk/gtkoptionmenu.c
	* gtk/gtktoolitem.c
	* gtk/gtktooltips.c: add or move around
	#undef GTK_DISABLE_DEPRECATED so it's possible to build without
	deprecated stuff again (with the minor glitch that it doesn't
	link ;) but at least it's a tool to keep the code clean).

2318 2319 2320 2321 2322 2323
2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c:
	(gtk_recent_manager_remove_item): Fix dumb typo in the previous
	commit.

2324 2325 2326 2327 2328 2329 2330
2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c:
	(gtk_recent_manager_remove_item),
	(gtk_recent_manager_move_item): Increase the consistency of the
	errors returned by GtkRecentManager. (Paolo Borelli)

2331 2332 2333 2334
2008-06-17  Paolo Borelli  <pborelli@katamail.com>

	* gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.

2335 2336 2337 2338 2339 2340
2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c:
	(gtk_recent_manager_remove_item): Consistently use the same
	error when removing a URI from an empty GtkRecentManager.

2341 2342 2343 2344 2345 2346
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserdefault.c: remove static integer variables
	which hold the number of members in GtkTargetEntry arrays and use
	G_N_ELEMENTS() directly instead.

2347 2348 2349 2350 2351
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk.symbols: move some deprecated symbols into
	#ifndef GTK_DISABLE_DEPRECATED.

2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362
2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c:
	(gtk_file_chooser_default_init),
	(gtk_file_chooser_default_constructor),
	(gtk_file_chooser_default_screen_changed),
	(recent_start_loading): Remove the GtkRecentManager screen
	dance, as it has been deprecated since 2.12. Now we get the
	GtkRecentManager singleton whewn we create the FileChooserDefault
	instance. (Michael Natterer)

2363 2364 2365 2366 2367
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
	toplevel to GtkWindow when passing to gtk_window_set_type_hint().

2368 2369 2370 2371 2372 2373 2374 2375
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
	includes a bit.

	* gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
	in via deprecated headers.

2376 2377 2378 2379 2380 2381 2382
2008-06-16  Matthias Clasen  <mclasen@redhat.com>

	Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress

	* gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
	against XKB being stupid. Reported by Pedro Villavicencio.

2383 2384 2385 2386 2387
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
	and unref() instead of the deprecated gtk_widget_ref() and unref().

2388 2389 2390 2391 2392
2008-06-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkentry.c: removed function drag_begin_cb(), which was in
	svn since 2.8 but was never used.

2393 2394 2395 2396 2397 2398
2008-06-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
	gtk_binding_entry_clear() instead of gtk_binding_entry_add()
	(the former is deprecated and #defined to gtk_binding_entry_clear)

2399 2400 2401 2402 2403
2008-06-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprintoperation-unix.c: don't include the deprecated (and
	unused) "gtkmarshal.h".

2404 2405 2406 2407 2408 2409 2410 2411
2008-06-16  Behdad Esfahbod  <behdad@gnome.org>

	Bug 538182 – pango_cairo_context_update_layout is not noop after
	gtk_widget_create_pango_layout

	* gtk/gtksettings.c (settings_update_font_options): Make sure all
	font option fields are set to non-DEFAULT values.

2412 2413 2414 2415 2416 2417 2418 2419
2008-06-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfontsel.c
	* gtk/gtkrc.c
	* gtk/gtkstyle.c
	* gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
	gtk_rc_style_unref().

2420 2421 2422 2423 2424 2425
2008-06-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcombobox.c (gtk_combo_box_class_init): use
	_gtk_marshal_BOOLEAN__VOID instead of the deprecated
	gtk_marshal_BOOLEAN__VOID.

2426 2427 2428 2429 2430 2431 2432 2433 2434 2435
2008-06-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcellrendereraccel.h
	* gtk/gtkiconview.h
	* gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
	macros for type checking.

	(gtk_object_get_type): change prototype to return GType instead of
	GtkType.

2436 2437 2438 2439 2440 2441
2008-06-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/Makefile.am: Make folder, user-home and user-desktop links 
	to gtk-directory in the builtin icon theme, so that we can
	use these icon names without risk of ending up without an icon.

2442 2443 2444 2445 2446
2008-06-16  Tor Lillqvist  <tml@novell.com>

	Bug 538362 - Get Win32 icons back in the file chooser

	* gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
Tor Lillqvist's avatar
Tor Lillqvist committed
2447
	reference to an icon resource in a DLL or .EXE in the same format
Tor Lillqvist's avatar
Tor Lillqvist committed
2448 2449 2450 2451
	as the DefaultIcon strings in the Registry. In that case, extract
	the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
	code has to be in sync with the corresponding code in
	glib/gio/gcontenttype.c.
2452

2453 2454 2455 2456 2457 2458 2459
2008-06-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
	to the builtin icon theme, to avoid showing broken images when
	there is no icon theme around.  The new icons are thanks to
	Lapo Calamandrei.

2460 2461 2462 2463 2464 2465 2466 2467
2008-06-16  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
	GtkFileChooserDefault struct.

	* gtk/gtkfilechooserdefault.c: don't allocate and free the
	GtkTooltips.

2468 2469 2470 2471 2472 2473 2474 2475 2476
2008-06-16  Carlos Garnacho  <carlos@imendio.com>

	Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
	anymore

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
	Allow again setting any of the properties to render an image back to
	NULL.

2477 2478 2479 2480 2481
2008-06-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c: When pixel-size is specified, use
	GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.

2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496
2008-06-15  Carlos Garnacho  <carlos@imendio.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full 
	path here as expected, not just the basename.

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_update_current_folder): Ensure that we keep
	a reference to file, since it can be destroyed when switching back to
	browse mode.

	* gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
	and desktop directories are dealt by the filechooser as normal files,
	not volumes, so the icon for these is handled directly by GIO.
	(_gtk_file_system_volume_render_icon): Update caller.

Matthias Clasen's avatar
Matthias Clasen committed
2497 2498 2499 2500
2008-06-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrendererpixbuf.c: Add a gicon property.

2501 2502 2503 2504 2505 2506 2507 2508
2008-06-14  Cody Russell  <bratsche@gnome.org>

	* gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):

	Initialize hwnd to NULL.  This fixes OpenClipboard() failure and,
	according to MSDN docs, associates the open clipboard with the
	current task.  (#378158, reported by Andreas Köhler)

Matthias Clasen's avatar
Matthias Clasen committed
2509 2510
2008-06-13  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2511 2512
	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
2513
	* === Released 2.13.3 ===
Matthias Clasen's avatar
Matthias Clasen committed
2514

Matthias Clasen's avatar
Matthias Clasen committed
2515 2516
2008-06-13  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
2517 2518
	* gtk/gtkaccelgroup.c: Add some docs

Matthias Clasen's avatar
Matthias Clasen committed
2519 2520
	* gdk/gdkwindow.c: Fix doc typos

Matthias Clasen's avatar
Matthias Clasen committed
2521 2522 2523 2524 2525
2008-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystem.c: Avoid PLT entries by including
	gtkalias.h

2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536
2008-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c:
	* gtk/gtkfilechooserdefault.c:
	* gtk/gtkfilechooserentry.c:
	* gtk/gtkfilesystem.c:
	* gtk/gtkfilesystem.h:
	* gtk/gtkfilesystemmodel.c:
	* gtk/gtkpathbar.c: Really make GtkFileSystem private
	by _-prefixing all functions.

Matthias Clasen's avatar
Matthias Clasen committed
2537 2538 2539 2540 2541 2542
2008-06-13  Matthias Clasen  <mclasen@redhat.com>

	* docs/RELEASE-HOWTO: Updates
	* INSTALL.in: Bump version

2008-06-13  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
2543 2544 2545

	* NEWS: Updates

2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571
2008-06-13  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcellrendereraccel.h
	* gtk/gtkfilechooser.h
	* gtk/gtkfilechooserdialog.h
	* gtk/gtkfilechooserwidget.h
	* gtk/gtkmenutoolbutton.h
	* gtk/gtkpagesetup.h
	* gtk/gtkpapersize.h
	* gtk/gtkprintcontext.h
	* gtk/gtkprintoperation.h
	* gtk/gtkprintoperationpreview.h
	* gtk/gtkprintsettings.h
	* gtk/gtkradiotoolbutton.h
	* gtk/gtkrecentchooser.h
	* gtk/gtkrecentchooserdialog.h
	* gtk/gtkrecentchoosermenu.h
	* gtk/gtkrecentchooserwidget.h
	* gtk/gtkseparatortoolitem.h
	* gtk/gtkshow.h
	* gtk/gtktoggletoolbutton.h
	* gtk/gtktoolbar.h
	* gtk/gtktoolbutton.h
	* gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
	"gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.

2572 2573 2574 2575 2576
2008-06-13  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktexttagtable.h: remove double inclusion of
	<gtk/gtktexttag.h>.

2577 2578 2579 2580 2581
2008-06-13  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkaction.c (gtk_action_set_short_label): change type of
	local "image" variable from GtkImage to GtkWidget to fix warning.

2582 2583 2584 2585 2586
2008-06-13  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
	toplevel to GtkWindow when passing to gtk_window_set_type_hint().

2587 2588 2589 2590 2591 2592 2593 2594 2595
2008-06-13  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkuimanager.c (start_element_handler): silently skip
	unknown attributes instead of bailing out with an error in order
	to be compatible with possible future attribute names.

	This is related to the discussion in bug #516425 but actually
	needed for any kind of XML format extension.

2596 2597 2598 2599 2600 2601 2602 2603 2604 2605
2008-05-23  Hans Breuer  <hans@breuer.org>

	* gtk/gtkprintoperation.c : check surface status after ceating a pdf.
	Avoids crashing when the target can not be written, bug #537685

	* gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId

	* gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
	it was not needed here anyway.

Matthias Clasen's avatar
Matthias Clasen committed
2606 2607 2608 2609 2610
2008-06-13 Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
	Patch by Jan Arne Peterson

2611 2612 2613 2614 2615 2616 2617 2618 2619
2008-06-12  Matthias Clasen  <mclasen@redhat.com>

	Bug 537985 – gtk_init_with_args() doesn't open a display after
	gtk_parse_args()

	* gtk/gtkmain.c (gtk_init_with_args): Open the default display
	even when gtk_parse_args() has already been called.
	Patch by Mathias Hasselmann

2620 2621 2622 2623 2624 2625 2626 2627 2628
2008-06-12  Matthias Clasen  <mclasen@redhat.com>

	Bug 524222 – GtkToolbar with mix of buttons with and without 
	icons looks "bad"

	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
	Improve appearance of "both vertical" mode toolbuttons.
	Patch by Peter Johanson

2629 2630 2631 2632 2633 2634 2635
2008-06-12  Matthias Clasen  <mclasen@redhat.com>

	Bug 519092 – Add accessibility support to GtkVolumeButton

	* gtk/gtkvolumebutton.c: Set accessibility descriptions.
	Patch by Jonh Wendell

2636 2637 2638 2639 2640