]> Pileus Git - ~andy/gtk/blob - ChangeLog
Bug 552668 – format not a string literal and no format arguments in
[~andy/gtk] / ChangeLog
1 2008-09-17  Christian Persch  <chpe@gnome.org>
2
3         Bug 552668 – format not a string literal and no format arguments in
4         gtkimmodule
5
6         * gtk/gtkimmodule.c: (gtk_im_module_load): Use %s with g_warning here.
7
8 2008-09-17  Christian Persch  <chpe@gnome.org>
9
10         Bug 552667 – gtkimage containing gicon leaks memory
11
12         * gtk/gtkimage.c: (ensure_pixbuf_for_gicon): Fix critical warnings
13         when looking up the icon fails. Plug a mem leak.
14
15 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
16
17         Bug 329593 – Entering characters on a line very cpu intensive and 
18         slow
19
20         * gtk/gtknotebook.c (gtk_notebook_page_allocate): Return a boolean
21         that indicates whether the tab allocation has changed.
22         (gtk_notebook_pages_allocate): Only redraw the tabs if their
23         allocation has changed.
24         (gtk_notebook_calculate_tabs_allocations): Remove unused return value.
25         Patch by Owen Taylor
26
27 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
28
29         Bug 408154 – [PATCH] Change GtkEntryCompletion max-items to style
30         property
31
32         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
33         Take actions into account when finding the available space for
34         matches. Patch by Ross Burton
35
36 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
37
38         Bug 552500 – GtkPrintSettings API doc not precise enough
39
40         * gtk/gtkprintsettings.c: Documentation improvements. Suggested
41         by Guillaume Cottenceau
42
43 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
44
45         Bug 552107 – Small libtool fixes
46
47         * configure.in: Regenerate libtool early, quote $deplibs_check_method.
48         Patch by Patryk Zawadzki
49
50 2008-09-17  Matthias Clasen  <mclasen@redhat.com>
51
52         Bug 551722 – gtk_widget_set_scroll_adjustments() should check the
53         signal signature
54
55         * gtk/gtkwidget.c (gtk_widget_set_scroll_adjustments): Check the
56         signature of the signal. Patch by Christian Persch
57
58 2008-09-16  Michael Natterer  <mitch@imendio.com>
59
60         * gtk/gtkwidget.c (_gtk_widget_set,get_pointer_window): don't
61         access widget->window if the widget is not realized.
62
63 2008-09-16  Matthias Clasen  <mclasen@redhat.com>
64
65         Bug 551987 – GtkPaned redrawing problem
66
67         * gtk/gtkpaned.c: Remove excess invalidations. Patch by Owen Taylor
68
69 2008-09-16  Matthias Clasen  <mclasen@redhat.com>
70
71         Bug 551987 – GtkPaned redrawing problem
72
73         * gtk/gtkhpaned.c:
74         * gtk/gtkvpaned.c: Queue invalidations when the handle is moved 
75         due to child changes. Patch by Owen Taylor
76
77 2008-09-16  Matthias Clasen  <mclasen@redhat.com>
78
79         Bug 552001 – gtkimcontextsimple.c: variable is declared at middle of
80         block
81
82         * gtk/gtkimcontextsimple.c: Fix a C99ism, pointed out by Kazuki
83         Iwamoto.
84
85 2008-09-13  Tor Lillqvist  <tml@novell.com>
86
87         * gtk/gtkmain.c: Don't use the deprectated
88         g_win32_get_package_installation_directory() and
89         g_win32_get_package_installation_subdirectory() functions. Use
90         g_win32_get_package_installation_directory_of_module()
91         instead. Also, don't use the deprecated silly
92         G_WIN32_DLLMAIN_FOR_DLL_NAME() macro, but an explicit minimal
93         DllMain() that just saves the DLL handle.
94
95 2008-09-13  Cosimo Cecchi  <cosimoc@gnome.org>
96
97         Bug 552153 – GtkModules loading with XSettings doesn't work if the
98         GTK_MODULES env var isn't set.
99
100         * gtk/gtkmain.c: (do_post_parse_initialization):
101         * gtk/gtkmodules.c: (_gtk_modules_init):
102         Call _gtk_modules_init () even if gtk_modules_string is NULL, so
103         that GtkModules specified with XSettings could be loaded.
104
105 2008-09-11  Cosimo Cecchi  <cosimoc@gnome.org>
106
107         Bug 536542 – gtk_list_store_set() documentation doesn't say whether
108         values are copied.
109
110         * gtk/gtkliststore.c:
111         * gtk/gtktreestore.c:
112         Explicitly mention in the docs that gtk_[list,tree]_store_set copies
113         or keep a reference of the values.
114
115 2008-09-11  Marek Kasik  <mkasik@redhat.com>
116
117         Bug 551378 - Print dialog: should try UDS when fetching PPD for
118         localhost
119
120         * modules/printbackends/cups/gtkprintbackendcups.c: Add ability
121         to get PPD file from CUPS through Unix domain socket
122
123 2008-09-11  Christian Dywan  <christian@imendio.com>
124
125         Bug 551567 – DND mark broken
126
127         * gtk/gtktextbtree.c (redisplay_mark): invalidate mark properly
128         Patch by Yevgen Muntyan.
129
130 2008-09-10  Björn Lindqvist  <bjourne@gmail.com>
131
132         Bug 551699 – gtk_scrolled_window_destroy() is broken
133
134         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_destroy,
135         gtk_scrolled_window_finalize): Check that the [hv]scrollbar
136         attributes are not-NULL before destroying and unparenting them.
137
138 2008-09-10  Simos Xenitellis  <simos@gnome.org>
139
140         Bug 550676 – Memory leak, update keyboard layout data structure 
141
142         * gtk/gtkimcontextsimple.c (check_normalize_nfc): Added 
143         function that checks if unicode sequence can be normalised (NFC)
144         to single character. Fixed memory leaks.
145         (check_algorithmically): Moved code to check_normalize_nfc, 
146         updated switch statement for dead keys.
147         (gtk_im_context_simple_filter_keypress): Changed order; first
148         check_algorithmically() is attempted, then check_compact_table().
149
150         * gtk/gtkimcontextsimpleseqs.c: Updated compose sequence table
151         gtk_compose_seqs_compac[].
152
153         * gtk/compose-parse.py: Updated compose table generation script,
154         matches output to gtk/gtkimcontextsimpleseqs.c.
155
156 Wed Sep 10 06:18:25 2008  Søren Sandmann  <sandmann@redhat.com>
157
158         * gdk/x11/gdkscreen-x11.c (init_multihead): Don't use
159         XRRGetScreenResources() as there are performance issues with
160         it. Instead rely on the fact that the RandR information is
161         propagated through Xinerama as well.
162
163 2008-09-09  Marek Kasik  <mkasik@redhat.com>
164         Bug 551386 – gtk_printer_set_is_default() always sets TRUE
165
166         * gtk/gtkprinter.c: sets the is_default parameter to the value
167         given by caller
168
169 2008-09-08  Cosimo Cecchi  <cosimoc@gnome.org>
170
171         Bug 551325 - Reference to wrong parameter in gtk_editable_insert_text
172
173         * gtk/gtkeditable.c: Fix a reference to an invalid parameter in the
174         docs.
175
176 2008-09-08  Paolo Borelli  <pborelli@katamail.com>
177
178         * gtk/gtkfilechooserentry.c (install_start_autocompletion_idle):
179         use gdk_threads_add_idle so that the handler acquires the lock
180         since it calls gtk functions.
181
182 2008-09-08  Tor Lillqvist  <tml@novell.com>
183
184         * configure.in (debug_default): Correct help string for
185         --disable-gdiplus.
186
187 2008-09-07  Matthias Clasen  <mclasen@redhat.com>
188
189         * gtk/gtkfilechooserdefault.c: Actually use mime types, not content
190         types, for mimetype-based filtering, so it may work on win32.
191
192 2008-09-07  Matthias Clasen  <mclasen@redhat.com>
193
194         * gtk/gtkfilechooserdefault.c (search_selected_foreach_get_file_cb): 
195         Ref the files, to make gtk_file_chooser_get_files() behave as
196         documented.
197
198         * gtk/gtkfilechooserdefault.c (search_clear_model): Don't leak
199         the content of the search model.
200         
201         * gtk/gtkfilechooserdefault.c (search_hit_get_info_cb): Don't leak
202         the content here, either.
203
204 2008-09-07  Matthias Clasen  <mclasen@redhat.com>
205
206         * gtk/gtkfilechooserdefault.c (search_add_hit): Don't unref the
207         GFile we just put into the search_model. This adds a new memory
208         leak...
209
210 2008-09-07  Matthias Clasen  <mclasen@redhat.com>
211
212         * gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): Plug
213         a memory leak.
214
215 2008-09-06  Matthias Clasen  <mclasen@redhat.com>
216
217         Bug 550062 – Small update in gdk/gdkkeysyms.h
218
219         * gdk/gdkkeysyms.h: Add dead_perspomeni and fix dead_dasia.
220         Patch by Simos Xenitellis
221
222 2008-09-06  Matthias Clasen  <mclasen@redhat.com>
223
224         Bug 550989 – gdk_display_put_event() should call
225         g_main_context_wakeup()
226
227         * gdk/gdkdisplay.c (gdk_display_put_event): Wake up the main loop
228         after queueing the event. Patch by Owen Taylor
229
230 2008-09-07  Yair Hershkovitz  <yairhr@gmail.com>
231
232         Bug 319849 - gtkcalendar look in RTL locales
233
234         * gtk/gtkcalendar.c (calendar_realize_week_numbers),
235         (gtk_calendar_realize): added missing RTL code to handle week numbers
236         from gtk_calendar_size_alloc.
237
238 2008-09-06  Sven Herzberg  <sven@imendio.com>
239
240         Bug 551063 – deprecated marking without a link to what new code should
241         use
242
243         * gdk/gdkevents.c: added inline documentation for gdk_input_add() and
244         gdk_input_add_full(); added replacement hints into the deprecation
245         message
246
247 2008-09-05  Michael Natterer  <mitch@imendio.com>
248
249         * gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb):
250         stop the emission of the signal also when we bail out early
251         because we don't accept drops from ourselves. Keeps the code from
252         running into a warning in gtktreeview.c.
253
254 2008-09-05  Tor Lillqvist  <tml@novell.com>
255
256         * gtk-zip.sh.in: Fetch manpages from share/man where they get
257         installed. Don't include pointless entries for directories in the
258         zip files. Add etc/gtk-2.0/im-multipress.conf.
259
260 2008-09-04  Matthias Clasen  <mclasen@redhat.com>
261
262         * configure.in: Bump version
263
264         * === Released 2.14.1 ===
265
266 2008-09-04  Matthias Clasen  <mclasen@redhat.com>
267
268         * configure.in: Bump version
269
270         * === Released 2.14.0 ===
271
272 2008-09-04  Matthias Clasen  <mclasen@redhat.com>
273
274         * gtk/gtkenums.h: Add nicks for the GtkNumberUpLayout values.
275
276         * gtk/gtkprintunixdialog.c:
277         * gtk/gtkprintsettings.c: Simplify the handling of GtkNumberUpLayout
278         values. Followup on #535158, proposed by Christian Persch.
279
280 2008-09-04  Matthias Clasen  <mclasen@redhat.com>
281
282         * INSTALL.in: Update required versions
283
284 2008-09-04  Michael Natterer  <mitch@imendio.com>
285
286         * gtk/gtkhandlebox.c: events return gboolean not gint.
287         Change misnamed gtk_handle_box_button_changed() to
288         gtk_handle_box_button_press(). Reindent static prototypes.
289
290 2008-09-04  Michael Natterer  <mitch@imendio.com>
291
292         * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): when extending
293         the draw rectangle by the "draw-border" style property, subtract
294         "left" from "x" and "top" from "y", not the other way around.
295
296 2008-09-03  Matthias Clasen  <mclasen@redhat.com>
297         
298         * gdk/gdkwindow.c:
299         * gtk/gtkbindings.c:
300         * gtk/gtkcolorseldialog.c: More doc fixes
301
302         * gtk/gtktestutils.c: Fix a typo in the docs.
303
304 2008-09-03  Matthias Clasen  <mclasen@redhat.com>
305
306         * NEWS: Updates
307
308         * configure.in: Bump version to 2.14.0
309
310 2008-09-03  Matthias Clasen  <mclasen@redhat.com>
311
312         * gtk/gtkcolorsel.c: Set page_size to 0 for the spinbuttons
313         in the color selector.
314
315         * README.in: Add a note about the GtkAdjustment clamping change
316
317 2008-09-03  Matthias Clasen  <mclasen@redhat.com>
318
319         Bug 550528 - IconView DND interface does not work if only used as
320         source
321
322         * gtk/gtkiconview.c: Make source-only DND work. 
323         Found by Alex Simon
324
325 2008-09-03  Matthias Clasen  <mclasen@redhat.com>
326
327         * gtk/gtk.symbols: Add some missing symbols
328
329 2008-09-03  Matthias Clasen  <mclasen@redhat.com>
330         
331         * gtk/gtkprintsettings.c: Fix order of includes to avoid unwanted
332         PLT entries.
333
334 2008-09-03  Michael Natterer  <mitch@imendio.com>
335
336         * gtk/gtkmenu.c
337         * gtk/gtkmenuitem.c: remove unused macro cruft. Also remove some
338         unneeded includes.
339
340 2008-09-03  Michael Natterer  <mitch@imendio.com>
341
342         * gtk/gtkarrow.c: expose-event returns gboolean not gint,
343         reindented static prototypes and did some minor cleanups.
344
345 2008-09-03  Michael Natterer  <mitch@imendio.com>
346
347         * gtk/gtkmenu.c: some more trivial cosmetic fixes.
348
349 2008-09-03  Christian Dywan  <christian@imendio.com>
350
351         Bug 547449 – Entry/ Combo popup misplaced after resize
352
353         * gtk/gtkcombobox.c (gtk_combo_box_menu_position),
354         (gtk_combo_box_size_allocate): reposition the combo popup when the
355         allocation changes
356         * gtk/gtkentry.c (gtk_entry_size_allocate): reposition the
357         completion popup when the allocation changes
358
359 2008-09-03  Michael Natterer  <mitch@imendio.com>
360
361         * gtk/gtkmenu.c (get_arrows_visible_area): proper function header
362         formatting.
363
364 2008-09-02  Michael Natterer  <mitch@imendio.com>
365
366         * gtk/gtkdialog.c (gtk_dialog_delete_event_handler): return
367         gboolean instead of gint. Reindent static prototypes.
368
369 2008-09-02  Michael Natterer  <mitch@imendio.com>
370
371         * gtk/gtkwidget.c (gtk_widget_get_allocation): removed this
372         function because there is massive disagreement about how to
373         implement it. Needs some general discussion in the next
374         development cycle about how our C api should evolve.
375
376         * gtk/gtk.symbols: changed accordingly.
377
378 2008-09-01  Wouter Bolsterlee  <wbolster@svn.gnome.org>
379
380         * gtk/gtkselection.c:
381         Update documentation for gtk_selection_data_get_data to
382         match the changes introduced in -r21232 (the length
383         parameter was removed).
384
385 2008-08-30  Matthew Barnes  <mbarnes@redhat.com>
386
387         Bug 549943 – gtk_tool_shell_get_relief_style() always returns
388         GTK_RELIEF_NONE
389
390         * gtk/gtktoolshell.c (gtk_tool_shell_get_relief_style): Return
391         the correct relief style.
392
393 2008-08-29  Björn Lindqvist  <bjourne@gmail.com>
394
395         Bug 437791 – Animation is played at the wrong speed
396
397         * gdk-pixbuf/io-gif.c (gif_get_lzw): Better 100 ms timeout for
398         broken GIFs with 0 frame timeout.
399
400 2008-08-29  Christian Dywan  <christian@imendio.com>
401
402         Bug 549810 – Memory leaks in printing code
403
404         * gtk/gtkprintjob.c (gtk_print_job_set_property):
405         * modules/printbackends/file/gtkprintbackendfile.c
406         (output_file_from_settings):
407         * modules/printbackends/test/gtkprintbackendtest.c
408         (output_test_from_settings): free some temporary strings.
409         Patch by Yevgen Muntyan.
410
411 2008-08-29  Michael Natterer  <mitch@imendio.com>
412
413         * gtk/gtkwidget.h: move the gtk_widget_get_parent() and
414         gtk_widget_get_parent_window() prototypes together with their
415         respective setters.
416
417         * gtk/gtkwidget.c: move gtk_widget_get_parent_window() together
418         with its setter.
419
420 2008-08-29  Michael Natterer  <mitch@imendio.com>
421
422         * gtk/gtkscrolledwindow.c: events return gboolean not gint,
423         reindent prototypes.
424
425 2008-08-29  Michael Natterer  <mitch@imendio.com>
426
427         * configure.in: remove -DPANGO_DISABLE_SINGLE_INCLUDES from
428         CPPFLAGS, I committed that accidentially.
429
430 2008-08-29  Michael Natterer  <mitch@imendio.com>
431
432         * gtk/gtkpaned.c: minor indentation / coding style fixes.
433
434 2008-08-29  Matthias Clasen  <mclasen@redhat.com>
435
436         Bug 549262 – GtkScrolledWindow should not accept focus unless
437         GTK_CAN_FOCUS is set
438
439         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_focus): only grab the
440         focus, if GTK_WIDGET_CAN_FOCUS() returns TRUE. Patch by Sven 
441         Herzberg
442
443 2008-08-29  Matthias Clasen  <mclasen@redhat.com>
444
445         * gtk/gtk.symbols:
446         * gtk/gtkselection.[hc]: Split gtk_selection_data_get_data into
447         gtk_selection_data_get_data and gtk_selection_data_get_length.
448         Proposed by Owen Taylor.
449
450 2008-08-28  Christian Dywan  <christian@imendio.com>
451
452         Bug 549734 – gtk_selection_data_get_data prototype is wrong
453
454         * gtk/gtkselection.[ch] (gtk_selection_data_get_data): make the
455         'length' argument of gtk_selection_data_get_data a 'gint', that's
456         what it should be.
457
458 2008-08-27  Cody Russell  <bratsche@gnome.org>
459
460         * gdk/win32/gdkevents-win32.c:
461         * gdk/win32/gdkwindow-win32.c (show_window_recurse): Check if 
462         the window's state has GDK_WINDOW_STATE_MAXIMIZED set before
463         calling ShowWindow (), and show using SW_SHOWMAXIMIZED or
464         SW_RESTORE accordingly.  This fixes an issue where maximized
465         windows that are iconified do not restore back to maximized
466         when you click the taskbar. (#528975)
467
468 2008-08-27  Matthias Clasen  <mclasen@redhat.com>
469
470         * gtk/gtkprintoperation.c: Documentation fixes.
471
472 2008-08-27  Matthias Clasen  <mclasen@redhat.com>
473
474         * gdk/x11/gdkwindow-x11.c:
475         * gdk/win32/gdkwindow-win32.c: Return FALSE from reparent
476         implementations to avoid #548993. Patch by Ed Catmur.
477
478 2008-08-27  Matthias Clasen  <mclasen@redhat.com>
479
480         * modules/printbackends/cups/gtkprintbackendcups.c: Don't capitalize
481         "per" in "Pages per Sheet".
482
483 2008-08-26  Matthias Clasen  <mclasen@redhat.com>
484
485         Bug 549354 – Crash trying to open a file on a remote folder
486
487         * gtk/gtkfilechooserdefault.c (error_message_with_parent): Handle
488         the fact that parent may be NULL without crashing. 
489
490 2008-08-25  Matthias Clasen  <mclasen@redhat.com>
491
492         * modules/printbackends/cups/gtkprintbackendcups.c: Replace 
493         a long timeout with a second-granularity timeout.
494
495 2008-08-25  Matthias Clasen  <mclasen@redhat.com>
496
497         * gtk/gtkprintunixdialog.c:
498         * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
499         hints to many strings.
500
501 2008-08-25  Gian Mario Tagliaretti  <gianmt@gnome.org>
502
503         Bug 549236 – missing Since 2.14 in gtk_file_chooser_get_file
504         
505         * gtk/gtkmountoperation.c:
506         * gtk/gtkfontsel.c:
507         * gtk/gtkfilechooser.c: Fix the docs, missing Since 2.14.
508
509 2008-08-21  Matthias Clasen  <mclasen@redhat.com>
510
511         * gtk/gtksettings.c: When reconstructing the color hash, try
512         harder to avoid unnecessary notification, since this can lead
513         to infinite reloading of rc files in some situations.
514
515 2008-08-21  Cody Russell  <bratsche@gnome.org>
516
517         * gdk/win32/gdkevents-win32.c (doesnt_want_key): Remove the checks
518         to see if the window is modally blocked.  This doesn't get us anything,
519         and it confuses the search window in GtkTreeView (and potentially other
520         utility windows in other apps).  (#520165)
521
522 2008-08-21  Michael Natterer  <mitch@imendio.com>
523
524         * gtk/gtktreeview.c (gtk_tree_view_realize): small formatting fix.
525
526 2008-08-21  Marek Kasik  <mkasik@redhat.com>
527
528         Bug 545875 – evo crashed when trying to print pages 6-7 of a 1 page
529         email
530
531         * gtk/gtkprintoperation.c: Clamp page ranges to correct ranges
532
533 2008-08-21  Marek Kasik  <mkasik@redhat.com>
534
535         * ChangeLog: changelog update for previous commit
536
537 2008-08-21  Marek Kasik  <mkasik@redhat.com>
538
539         Bug 535158 – can't rearrange the order of multi pages per side
540
541         * gtk/gtkprinter.c
542         * gtk/gtkprinter.h
543         * gtk/gtkprintunixdialog.c
544         * gtk/gtkprintsettings.c
545         * gtk/gtkprintsettings.h
546         * gtk/gtkenums.h
547         * modules/printbackends/cups/gtkprintbackendcups.c: Allow user to
548         specify layout of pages per sheet in number-up mode
549
550 Wed Aug 20 18:16:29 2008  Søren Sandmann  <sandmann@redhat.com>
551
552         * gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): Emit the
553         monitors changed signal when the screen size changes.
554
555 2008-08-20  Torsten Schoenfeld  <kaffeetisch@gmx.de>
556
557         Bug 548346 – gtk_color_selection_dialog_get_color_selection always
558         returns NULL
559
560         * gtk/gtkcolorseldialog.c
561         (gtk_color_selection_dialog_get_color_selection): Use the correct
562         macro to test the validity of the passed-in dialog.
563
564 2008-08-05  Milan Crha  <mcrha@redhat.com>
565
566         * gtk/gtknotebook.c: (gtk_notebook_do_arrow): Allow changing page with
567         arrows even on non-focusable notebook. (#528091)
568
569 2008-08-19  Federico Mena Quintero  <federico@novell.com>
570
571         http://bugzilla.gnome.org/show_bug.cgi?id=543308 - The file
572         chooser in "compact" mode uses the same size as in "open" mode.
573
574         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Don't
575         force the default size here.  Let GtkFileChooserDefault be solely
576         in charge of default sizing.
577         (set_default_size): Removed obsolete code.
578
579         * gtk/gtkfilechooserdefault.c (emit_default_size_changed): New
580         helper function, to avoid dupliated code.  Only emits the signal
581         if the widget is mapped, because that is when we actually know the
582         size we'll want.
583         (update_preview_widget_visibility): Use emit_default_size_changed()
584         (update_appearance): Likewise.
585         (gtk_file_chooser_default_style_set): Likewise.
586         (gtk_file_chooser_default_screen_changed): Likewise.
587         (gtk_file_chooser_default_map): Likewise.
588         (find_good_size_from_style): Unconditionally compute a good
589         default size for the "OPEN" modes; don't store it in internal fields.
590         (gtk_file_chooser_default_get_default_size): Only compute the
591         font-based size if we are in one of the "OPEN" modes or in
592         expanded mode.
593
594         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
595         Removed default_width/default_height; we don't store these
596         anymore.  This will make recycled file choosers (like in the GIMP)
597         not "remember" their size across invocations.  However, this
598         prepares the way for actually remembering the user's size globally
599         in the settings file.
600
601 2008-08-19  Björn Lindqvist  <bjourne@gmail.com>
602
603         Bug 548354 – Remove repeated code in gtk_cell_view_size_allocate
604
605         * gtk/gtkcellview.c (gtk_cell_view_size_allocate): Remove some
606         code duplication, no need for separate loops for GTK_PACK_START
607         and GTK_PACK_END.
608
609 2008-08-19  Johan Dahlin  <johan@gnome.org>
610
611         * gtk/gtk-builder-convert (GtkBuilderConverter._parse): 
612         Remove the requres-version tag as well
613
614 2008-08-18  Matthias Clasen  <mclasen@redhat.com>
615
616         * configure.in: Bump version
617
618         * ==== Released 2.13.7 ===
619
620 2008-08-19  Mathias Hasselmann  <mathias@openismus.com>
621
622         Bug 541600 – GtkCalendar segfault for certain values of detail-with-chars
623
624         * gtk/gtkcalendar.c (gtk_calendar_class_init()): Limit the "year"
625           property to G_MAXINT >> 9, instead of G_MAXINT >> 8: year_to_days()
626           multiplies the year property with 365 and returns the result as
627           glong. Therefore ceil(log(365, 2)) = 9 bits must be available,
628           not just 8 bits.
629
630 2008-08-18  Björn Lindqvist  <bjourne@gmail.com>
631
632         Bug 541315 – Segfault when selecting a GtkMenuItem with submenu
633         and no parent
634
635         * gtk/gtkmenuitem.c (gtk_menu_item_real_popup_submenu): Ensure
636         that the menu item has a parent before popping it up.
637
638 2008-08-18  Johan Dahlin  <johan@gnome.org>
639
640         Bug 548196 – gtk-builder-convert doesn't properly convert GtkTextView
641
642         * gtk/gtk-builder-convert: Rename the text property to buffer.
643
644 2008-08-16  Matthias Clasen  <mclasen@redhat.com>
645
646         * gtk/gtksizegroup.c: Use g_quark_from_static_string() where possible.
647
648 2008-08-16  Matthias Clasen  <mclasen@redhat.com>
649
650         * NEWS: Updates
651
652 2008-08-16  Torsten Schoenfeld  <kaffeetisch@gmx.de>
653
654         * gdk/gdkwindow.c: Fix small issues in the documentation of
655         gdk_window_remove_redirection and gdk_window_redirect_to_drawable.
656
657 2008-08-15  Richard Hult  <richard@imendio.com>
658
659         * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): Some
660         aftermath of the fix of bug #543868. Clip and flip to the source,
661         not the destination. Don't save/restore the gstate, it's already
662         done when getting/releasing the context.
663
664 2008-08-15  Richard Hult  <richard@imendio.com>
665
666         * gtk/gtkclipboard-quartz.c (gtk_clipboard_wait_is_uris_available):
667         Add another missing symbol.
668
669 2008-08-15  Behdad Esfahbod  <behdad@gnome.org>
670
671         Bug 547680 – fontconfig monitoring can crash apps
672
673         * gtk/gtksettings.c (settings_update_fontconfig): Clear pango cache
674         before recreating fontconfig config.
675
676 2008-08-15  Sven Herzberg  <sven@imendio.com>
677
678         Use the g_test_*() API for this test
679         reviewed by: Richard Hult
680
681         * gdk/tests/check-gdk-cairo.c: use the g_test_*() API to permit adding
682         new tests
683
684 2008-08-15  Sven Herzberg  <sven@imendio.com>
685
686         Prepare for using the g_test_*() API
687         reviewed by: Richard Hult
688
689         * gdk/tests/check-gdk-cairo.c: use assertions instead of returning an
690         error code
691
692 2008-08-15  Claudio Saavedra  <csaavedra@igalia.com>
693
694         Bug 547944 – Self-reference in gtk_page_setup_load_file's docs
695
696         * gtk/gtkpagesetup.c: Fix the reference in gtk_page_setup_load_file()
697         documentation. Pointed out by Torsten Schoenfeld.
698
699 2008-08-15  Matthias Clasen  <mclasen@redhat.com>
700
701         Bug 547655 – gio_can_sniff configure test can fail if not installed
702         with prefix {/usr,/usr/local} and XDG_DATA_DIRS env not set
703
704         * README.in: Add a note about shared-mime-info and XDG_DATA_DIRS.
705
706 2008-08-15  Christian Dywan  <christian@imendio.com>
707
708         Bug 547846 – gtktestutils functions lack Since: tags
709
710         * gtk/gtktestutils.c: Add missing Since tags
711
712 2008-08-15  Christian Dywan  <christian@imendio.com>
713
714         Bug 547775 – Documentation of gtk-button-images is not correct
715
716         * gtk/gtkbutton.c (gtk_button_class_init): Improve documentation
717         of "gtk-button-images" setting
718
719 2008-08-13  Matthias Clasen  <mclasen@redhat.com>
720
721         Bug 547673 – Accessors for GtkFileSelection.font_entry and
722         font_style_entry
723
724         * gtk/gtk.symbols:
725         * gtk/gtkfontsel.[hc]: Don't add getters for widgets that are not
726         actually part of the font selection dialog in standard builds.
727         Pointed out by Torsten Schoenfeld
728
729 2008-08-13  Matthias Clasen  <mclasen@redhat.com>
730
731         Bug 547516 – Add comments for translators in gtkprintbackendcups.c
732
733         * modules/printbackends/cups/gtkprintbackendcups.c: Add translator
734         hints. Patch by Leonardo Ferreira Fontenelle
735
736 2008-08-13  Michael Natterer  <mitch@imendio.com>
737
738         * gtk/gtkmarshalers.list: get rid of the deprecated aliases NONE
739         and BOOL.
740
741         * gtk/gtkdialog.c
742         * gtk/gtkentrycompletion.c
743         * gtk/gtkmenuitem.c
744         * gtk/gtkoldeditable.c
745         * gtk/gtkrange.c
746         * gtk/gtktreeview.c
747         * gtk/gtkwidget.c: changed accordingly.
748
749 2008-08-13 Erwann Chenede - <erwann.chenede@sun.com>
750
751         Bug 547456 - gdk/x11/gdkscreen-x11.c : init_solaris_xinerama 
752         doesn't compile on Solaris
753
754         * gdk/x11/gdkscreen-x11.c: make init_solaris_xinerama () compile 
755         when HAVE_SOLARIS_XINERAMA is defined.
756
757 2008-08-13  Michael Natterer  <mitch@imendio.com>
758
759         * gtk/gtkstock.c (gtk_stock_lookup): cast the return value of
760         g_dgettext() to fix warning about discarded qualifier.
761
762 2008-08-12  Paolo Borelli  <pborelli@katamail.com>
763
764         * gtk/gtkclipboard.c (gtk_clipboard_store):
765         use canonical signal name.
766
767 2008-08-12  Paolo Borelli  <pborelli@katamail.com>
768
769         Bug 526234 - make shift+ctrl+del delete till the end of line
770
771         * gtk/gtktextview.c: add shift+ctrl+del and shift+ctrl+backspace
772         keyboard shortcuts to delete to the end/start of the current line.
773
774 2008-08-12  Michael Natterer  <mitch@imendio.com>
775
776         * gtk/gtklinkbutton.c (set_link_color): bail out if there is no
777         label to set the color on.
778
779         (gtk_link_button_add): call set_link_color() so the label gets
780         the right color no matter how the link button is created.
781
782 2008-08-12  Michael Natterer  <mitch@imendio.com>
783
784         * gtk/gtkassistant.c: remove unused variable and fix formatting of
785         some function headers.
786
787 2008-08-12  Michael Natterer  <mitch@imendio.com>
788
789         * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
790         global CFLAGS.
791
792         * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
793         visible for GDK_PIXBUF_COMPILATION.
794
795         * contrib/gdk-pixbuf-xlib/Makefile.am
796         * demos/Makefile.am
797         * demos/gtk-demo/Makefile.am
798         * gdk-pixbuf/pixops/Makefile.am
799         * gdk/Makefile.am
800         * gdk/x11/Makefile.am
801         * gtk/Makefile.am
802         * gtk/tests/Makefile.am
803         * gtk/theme-bits/Makefile.am
804         * modules/engines/ms-windows/Makefile.am
805         * modules/engines/pixbuf/Makefile.am
806         * modules/input/Makefile.am
807         * perf/Makefile.am
808         * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.
809
810 2008-08-12  Michael Natterer  <mitch@imendio.com>
811
812         * gtk/gtkstatusicon.c (gtk_status_icon_get_gicon): use
813         g_return_val_if_fail() now that the function has a return value.
814
815 2008-08-12  Sven Neumann  <sven@gimp.org>
816
817         * gtk/gtkaccellabel.c
818         * gtk/gtkaction.c
819         * gtk/gtkclist.c
820         * gtk/gtkcolorbutton.c
821         * gtk/gtkctree.c
822         * gtk/gtkdialog.c
823         * gtk/gtkdnd-quartz.c
824         * gtk/gtkdnd.c
825         * gtk/gtkentry.c
826         * gtk/gtkfilechooserdefault.c
827         * gtk/gtkfilesel.c
828         * gtk/gtkgamma.c
829         * gtk/gtkiconview.c
830         * gtk/gtkkeyhash.c
831         * gtk/gtklabel.c
832         * gtk/gtkmenu.c
833         * gtk/gtkmenubar.c
834         * gtk/gtkpaned.c
835         * gtk/gtkrecentchooserdialog.c
836         * gtk/gtkrecentchooserutils.c
837         * gtk/gtkselection.c
838         * gtk/gtksizegroup.c
839         * gtk/gtktextbtree.c
840         * gtk/gtktextbuffer.c
841         * gtk/gtktextview.c
842         * gtk/gtktoolbar.c
843         * gtk/gtktreemodel.c
844         * gtk/gtkuimanager.c
845         * gtk/gtkwindow-decorate.c
846         * gtk/gtkwindow.c: use canonical signal names in some more places
847         that I missed earlier. Also changed this in the documentation and
848         comments.
849
850 2008-08-12  Sven Neumann  <sven@gimp.org>
851
852         * gtk/gtknotebook.c
853         * gtk/gtkradiotoolbutton.c: property nick and blurb should be
854         marked with P_(), not _().
855
856 2008-08-12  Michael Natterer  <mitch@imendio.com>
857
858         * examples/gtkdial/gtkdial.c
859         * gdk/gdkapplaunchcontext.c
860         * gdk/gdkpango.c
861         * gtk/gtkcellrendererpixbuf.c
862         * gtk/gtkcellrenderertext.c
863         * gtk/gtkcellview.c
864         * gtk/gtkcombobox.c
865         * gtk/gtkfontsel.c
866         * gtk/gtkinvisible.c
867         * gtk/gtkliststore.c
868         * gtk/gtktexttag.c
869         * gtk/gtktexttagtable.c: remove dereferencing from some function
870         pointers i missed before.
871
872 2008-08-12  Michael Natterer  <mitch@imendio.com>
873
874         * gtk/gtkaccellabel.c
875         * gtk/gtkcalendar.c
876         * gtk/gtkclist.c
877         * gtk/gtkentry.c
878         * gtk/gtkeventbox.c
879         * gtk/gtkfilechooserbutton.c
880         * gtk/gtkfilechooserdefault.c
881         * gtk/gtkhandlebox.c
882         * gtk/gtkhsv.c
883         * gtk/gtkiconview.c
884         * gtk/gtkimage.c
885         * gtk/gtklayout.c
886         * gtk/gtklistitem.c
887         * gtk/gtkmenuitem.c
888         * gtk/gtkmessagedialog.c
889         * gtk/gtknotebook.c
890         * gtk/gtkpaned.c
891         * gtk/gtkpathbar.c
892         * gtk/gtkplug.c
893         * gtk/gtkprintunixdialog.c
894         * gtk/gtkrange.c
895         * gtk/gtkrecentchooserdefault.c
896         * gtk/gtkruler.c
897         * gtk/gtksocket.c
898         * gtk/gtktext.c
899         * gtk/gtktextview.c
900         * gtk/gtktoolbar.c
901         * gtk/gtktreeitem.c
902         * gtk/gtktreeview.c
903         * gtk/gtkviewport.c
904         * gtk/gtkwin32embedwidget.c: chain up unconditionally in
905         realize(), unrealize(), map(), unmap(), style_set(),
906         key_press_event() and size_request()
907
908 2008-08-12  Michael Natterer  <mitch@imendio.com>
909
910         * gtk/gtkwidget.c: change names of default implementations of
911         our own signals to consistently contain "real":
912
913         gtk_widget_style_set -> gtk_widget_real_style_set
914         gtk_widget_direction_changed -> gtk_widget_real_direction_changed
915
916 2008-08-12  Michael Natterer  <mitch@imendio.com>
917
918         * gtk/*.c: consistently chain up using
919         GTK_FOO_CLASS(parent_class)->bar(instance) instead of
920         (*GTK_FOO_CLASS(parent_class))->bar(instance).
921
922 2008-08-12  Matthias Clasen  <mclasen@redhat.com>
923
924         Bug 546730 – gtk_status_icon_get_gicon() should use a return instead
925         of an ouput parameter
926
927         * gtk/gtkstatusicon.[hc]: Change gtk_status_icon_get_gicon to
928         return the GIcon directly.
929         Complaint by Murray Cumming
930
931 2008-08-11  Michael Natterer  <mitch@imendio.com>
932
933         Bug 546754 – 2.13.6 update create rendering issue in the evolution
934         composer
935
936         * gtk/gtkadjustment.c: instead of CLAMP(), use
937
938         value = MIN (value, upper - page_size);
939         value = MAX (value, lower);
940
941         so we don't end up below lower if upper - page_size is smaller
942         than lower.
943
944 2008-08-11  Matthias Clasen  <mclasen@redhat.com>
945
946         Bug 546616 – CUPS print backend uses 1.2 API without guards
947
948         * modules/printbackends/cups/gtkcupsutils.[hc]: Make use
949         of cups 1.2 api dependent on the HAVE_CUPS_1_2 define.
950         Patch by Sven Herzberg and Richard Hult
951
952 2008-08-11  Michael Natterer  <mitch@imendio.com>
953
954         Bug 547270 – Make GtkHSV public
955
956         * gtk/Makefile.am
957         * gtk/gtk.h: install gtkhsv.h as public header (its symbols were
958         always public anyway).
959
960         * gtk/gtkhsv.h: add single-include guards, add class struct padding,
961         seal the instance member, cleanup.
962
963         * gtk/gtkhsv.c: center the widget in its allocation,
964         add "Since: 2.14", cleanup.
965
966 2008-08-11  Torsten Schoenfeld  <kaffeetisch@gmx.de>
967
968         * gtk/gtkcalendar.h: Fix the Since: tag of GtkCalendarDetailFunc
969         to correctly state 2.14, not 2.16.
970
971 2008-08-11  Sven Neumann  <sven@gimp.org>
972
973         * demos/gtk-demo/changedisplay.c
974         * demos/gtk-demo/clipboard.c
975         * demos/gtk-demo/drawingarea.c
976         * demos/gtk-demo/iconview.c
977         * demos/gtk-demo/images.c
978         * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos.
979
980 2008-08-11  Matthias Clasen  <mclasen@redhat.com>
981
982         Bug 547211 – Duplicated mnemonic
983
984         * gtk/gtkmountoperation.c: Change mnemonics around in 
985         the password dialog to avoid a conflict.
986         Reported by Gil Forcada
987
988 2008-08-11  Sven Neumann  <sven@gimp.org>
989
990         * gdk-pixbuf/gdk-pixbuf-loader.c: use canonical signal names.
991
992 2008-08-11  Sven Neumann  <sven@gimp.org>
993
994         * examples/*: updated the (quite outdated) examples to use
995         canonical signal names as well. Removed some unneeded casts and
996         trailing whitespace while I was on it...
997
998 2008-08-11  Sven Neumann  <sven@gimp.org>
999
1000         * modules/input/gtkimcontextime.c
1001         * modules/input/gtkimcontextmultipress.c
1002         * modules/input/gtkimcontextxim.c: use canonical signal names.
1003
1004 2008-08-11  Sven Neumann  <sven@gimp.org>
1005
1006         * gtk/gtkdnd-quartz.c
1007         * gtk/gtkdnd.c
1008         * gtk/gtkentry.c
1009         * gtk/gtkfilesel.c
1010         * gtk/gtkimcontextsimple.c
1011         * gtk/gtkimmulticontext.c
1012         * gtk/gtkoptionmenu.c
1013         * gtk/gtkplug.c
1014         * gtk/gtkrecentchooserdefault.c
1015         * gtk/gtkscrolledwindow.c
1016         * gtk/gtksocket-x11.c: use canonical signal names in some more
1017         places that I missed earlier.
1018
1019 2008-08-11  Sven Neumann  <sven@gimp.org>
1020
1021         * gtk/gtkaccelgroup.c
1022         * gtk/gtkactiongroup.c
1023         * gtk/gtkcalendar.c
1024         * gtk/gtkcelleditable.c
1025         * gtk/gtkclipboard-quartz.c
1026         * gtk/gtkclipboard.c
1027         * gtk/gtkcolorbutton.c
1028         * gtk/gtkcolorsel.c
1029         * gtk/gtkcontainer.c
1030         * gtk/gtkcurve.c: use canonical signal names.
1031
1032 2008-08-11  Sven Neumann  <sven@gimp.org>
1033
1034         * gtk/gtkentry.c
1035         * gtk/gtkentrycompletion.c
1036         * gtk/gtkhandlebox.c
1037         * gtk/gtkiconview.c
1038         * gtk/gtkimcontext.c
1039         * gtk/gtkinputdialog.c
1040         * gtk/gtktreeview.c: use canonical signal names.
1041
1042 2008-08-11  Sven Neumann  <sven@gimp.org>
1043
1044         * gtk/gtklabel.c
1045         * gtk/gtklayout.c
1046         * gtk/gtklist.c
1047         * gtk/gtklistitem.c: use canonical signal names.
1048
1049 2008-08-11  Sven Neumann  <sven@gimp.org>
1050
1051         * gtk/gtkmenu.c
1052         * gtk/gtkmenuitem.c
1053         * gtk/gtkmenushell.c
1054         * gtk/gtknotebook.c
1055         * gtk/gtkoldeditable.c
1056         * gtk/gtkpaned.c: use canonical signal names.
1057
1058 2008-08-11  Michael Natterer  <mitch@imendio.com>
1059
1060         * demos/gtk-demo/textscroll.c (create_text_view): don't use the
1061         deprecated gtk_box_pack_start_defaults().
1062
1063 2008-08-11  Sven Neumann  <sven@gimp.org>
1064
1065         * gtk/gtkaboutdialog.c
1066         * gtk/gtkcellrendereraccel.c
1067         * gtk/gtkcellrenderercombo.c
1068         * gtk/gtkcellrendererspin.c
1069         * gtk/gtkcellrenderertext.c
1070         * gtk/gtkclipboard.c
1071         * gtk/gtkcolorsel.c
1072         * gtk/gtkcombo.c
1073         * gtk/gtkcombobox.c
1074         * gtk/gtkdnd-quartz.c
1075         * gtk/gtkdnd.c
1076         * gtk/gtkentry.c
1077         * gtk/gtkentrycompletion.c
1078         * gtk/gtkfilechooserbutton.c
1079         * gtk/gtkfilechooserdefault.c
1080         * gtk/gtkfilechooserentry.c
1081         * gtk/gtkfontsel.c
1082         * gtk/gtkinputdialog.c
1083         * gtk/gtkmenutoolbutton.c
1084         * gtk/gtkpathbar.c
1085         * gtk/gtktooltip.c: use canonical signal names in g_signal_connect().
1086
1087 2008-08-11  Sven Neumann  <sven@gimp.org>
1088
1089         * gdk/gdkkeys.c
1090         * gdk/gdkscreen.c
1091         * gdk/gdkdisplaymanager.c: use canonical signal names.
1092
1093 2008-08-10  Richard Hult  <richard@imendio.com>
1094
1095         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_uris),
1096         (gtk_clipboard_request_uris): Implement missing functions.
1097
1098 2008-08-09  Sven Herzberg  <sven@imendio.com>
1099
1100         Bug 544863 – gtkquartz.h not included in released 2.13.5 package
1101
1102         * gtk/Makefile.am: always add gtkquartz.h to EXTRA_DIST
1103
1104 2008-08-08  Cody Russell  <bratsche@gnome.org>
1105
1106         Bug 547027 – menus are broken
1107
1108         * gtk/gtkmenushell.c
1109         * gtk/gtkmenu.c: In enter/leave notify events, check that the crossing
1110         mode is not GTK_GRAB, GTK_UNGRAB, or STATE_CHANGED.  Fixes regressions
1111         in menus caused by bug #56070.
1112
1113 2008-08-09  Sven Herzberg  <sven@imendio.com>
1114
1115         Get the gdk+cairo test to pass distcheck, too
1116
1117         * gdk/tests/Makefile.am: set GDK_PIXBUF_MODULE_FILE so the test can
1118         pick up the one created at build time
1119         * gdk/tests/check-gdk-cairo.c (main): delete the output files after a
1120         successful test run
1121
1122 2008-08-08  Sven Neumann  <sven@gimp.org>
1123
1124         * gtk/gtkscale.c
1125         * gtk/gtkscrolledwindow.c
1126         * gtk/gtksocket.c
1127         * gtk/gtkspinbutton.c
1128         * gtk/gtkstatusbar.c
1129         * gtk/gtkstatusicon.c: use canonical signal names.
1130
1131 2008-08-08  Sven Neumann  <sven@gimp.org>
1132
1133         * gtk/gtktext.c
1134         * gtk/gtktextbuffer.c
1135         * gtk/gtktextlayout.c
1136         * gtk/gtktexttagtable.c
1137         * gtk/gtktextview.c
1138         * gtk/gtktipsquery.c
1139         * gtk/gtktoolbar.c
1140         * gtk/gtktoolitem.c
1141         * gtk/gtktreeitem.c
1142         * gtk/gtktreemodelfilter.c
1143         * gtk/gtktreemodelsort.c
1144         * gtk/gtktreeviewcolumn.c: use canonical signal names.
1145
1146 2008-08-08  Sven Neumann  <sven@gimp.org>
1147
1148         * gtk/gtktree.c
1149         * gtk/gtktreemodel.c
1150         * gtk/gtktreesortable.c
1151         * gtk/gtktreeview.c
1152         * gtk/gtkuimanager.c
1153         * gtk/gtkviewport.c: use canonical signal names.
1154
1155 2008-08-08  Sven Neumann  <sven@gimp.org>
1156
1157         * gtk/gtkwidget.c:
1158         * gtk/gtkwindow.c: use canonical signal names.
1159
1160 2008-08-08  Sven Neumann  <sven@gimp.org>
1161
1162         * gtk/gtkadjustment.c
1163         * gtk/gtkclist.c
1164         * gtk/gtkcolorsel.c
1165         * gtk/gtkiconview.c
1166         * gtk/gtklayout.c
1167         * gtk/gtkprogress.c
1168         * gtk/gtkrange.c
1169         * gtk/gtkspinbutton.c
1170         * gtk/gtktext.c
1171         * gtk/gtktextview.c
1172         * gtk/gtktreeview.c
1173         * gtk/gtkviewport.c: use the canonical signal name "value-changed"
1174         instead of "value_changed".
1175
1176 2008-08-08  Tor Lillqvist  <tml@novell.com>
1177
1178         * gtk/gtk.symbols
1179         * gtk/makegtkalias.pl
1180         * gtk/gtkaccelmap.c
1181         * gtk/gtkfilechooser.c
1182         * gtk/gtkfilesel.c
1183         * gtk/gtkiconfactory.c
1184         * gtk/gtkicontheme.c
1185         * gtk/gtkimage.c
1186         * gtk/gtkrc.c
1187         * gtk/gtkuimanager.c
1188         * gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
1189         functions on Win64.
1190
1191 2008-08-07  Matthias Clasen  <mclasen@redhat.com>
1192
1193         * configure.in: Its g_content_type_from_mime_type, not 
1194         g_content_type_for_mime_type. Noticed by Roger Brown
1195
1196 2008-08-07 16:19:16  Tim Janik  <timj@imendio.com>
1197
1198         * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
1199         combination of g_warning+exit to avoid misleading the user.
1200
1201 2008-08-07  Michael Natterer  <mitch@imendio.com>
1202
1203         * gtk/gtkactiongroup.c
1204         * gtk/gtkcellrendererspin.c
1205         * gtk/gtkfilechooserbutton.c
1206         * gtk/gtktoolitem.c: chain up unconditionally in finalize().
1207
1208 2008-08-07  Michael Natterer  <mitch@imendio.com>
1209
1210         * gtk/gtkclist.c
1211         * gtk/gtkcontainer.c
1212         * gtk/gtkfilechooserbutton.c
1213         * gtk/gtkgamma.c
1214         * gtk/gtkmenutoolbutton.c
1215         * gtk/gtkoptionmenu.c
1216         * gtk/gtkradiobutton.c
1217         * gtk/gtkradiomenuitem.c
1218         * gtk/gtktipsquery.c
1219         * gtk/gtktree.c
1220         * gtk/gtktreeview.c: chain up unconditionally in destroy().
1221
1222         * gtk/gtkhandlebox.c: remove empty destroy() implementation.
1223
1224 2008-08-07  Michael Natterer  <mitch@imendio.com>
1225
1226         Bug 546756 – gnome-panel crashed with SIGSEGV in
1227         g_type_check_instance_cast()
1228
1229         * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
1230         and remove the image now that it's an internal child and isn't
1231         destroyed by gtk_container_destroy() any longer. Thanks to tml for
1232         helping bisecting this down.
1233
1234 2008-08-07  Sven Neumann  <sven@gimp.org>
1235
1236         Bug 546771 - Add writable property "visited" to GtkLinkButton
1237
1238         * gtk/gtk.symbols
1239         * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
1240         read-write property with getters and setters. Also move the nick
1241         and blurb of the "uri" property to the proper translation domain.
1242
1243 2008-08-07  Michael Natterer  <mitch@imendio.com>
1244
1245         * gtk/gtkicontheme.c (apply_emblems): move variables to local
1246         scopes, fix indentation and silence bogus warning about using
1247         uninitialized variables.
1248
1249 2008-08-07  Richard Hult  <richard@imendio.com>
1250
1251         Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
1252
1253         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1254         (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
1255         deadlock and missing events.
1256
1257 2008-08-07  Richard Hult  <richard@imendio.com>
1258
1259         * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
1260         (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
1261         Implement those, fixes loading python bindings.
1262
1263 2008-08-07  Emmanuele Bassi  <ebassi@gnome.org>
1264
1265         Bug 545031 – list of recently used files is created world-readable
1266
1267         * gtk/gtkrecentmanager.c:
1268         (gtk_recent_manager_real_changed): Set the recently-used.xbel
1269         file to 0600. (Guido Berhoerster)
1270
1271 2008-08-06  Michael Natterer  <mitch@imendio.com>
1272
1273         * modules/printbackends/cups/gtkcupsutils.c
1274         (gtk_cups_connection_test_free): remove return value, this
1275         function returns void.
1276
1277 2008-08-06  Michael Natterer  <mitch@imendio.com>
1278
1279         * gtk/gtkcombobox.c
1280         * gtk/gtkiconview.c
1281         * gtk/gtkrange.c
1282         * gtk/gtkscrolledwindow.c
1283         * gtk/gtktreeview.c: remove CLAMPing from values passed to
1284         gtk_adjustment_set_value() since it does it right now.
1285
1286 2008-08-05  Matthias Clasen  <mclasen@redhat.com>
1287
1288         * configure.in: Bump version
1289
1290         * === Released 2.13.6 ===
1291
1292         * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now,
1293         since it breaks make distcheck.
1294
1295 2008-08-05  Michael Natterer  <mitch@imendio.com>
1296
1297         * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
1298         early if priv->button is NULL to avoid zillions of warnings when
1299         destroying combo boxes that were working fine before the
1300         button sensitivity patch.
1301
1302 2008-08-05  Michael Natterer  <mitch@imendio.com>
1303
1304         Bug 544858 – Seal GtkAdjustment
1305
1306         * gtk/gtk.symbols
1307         * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
1308         members.
1309
1310         Add accessors for all properties and additionally a new function
1311         gtk_adjustment_configure() which sets all properties at
1312         once. Patch by Christian Dywan and myself.
1313
1314 2008-08-05  Michael Natterer  <mitch@imendio.com>
1315
1316         * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
1317         to [lower...upper-page_size] instead of only [lower...upper].
1318
1319         * README: add note about this change.
1320
1321         While this fix is correct and should have been there forever, it
1322         has the potential to break some corner cases, however these cases
1323         would set page_size to a value != 0 which suggests they want it
1324         honored.
1325
1326 2008-08-05  Michael Natterer  <mitch@imendio.com>
1327
1328         * tests/testiconview.c: don't use the deprecated
1329         gtk_box_pack_start_defaults().
1330
1331 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1332
1333         Bug 545982 – missing braces cause bogus warnings when using GtkBuilder
1334
1335         * gtk/gtkcelllayout.c:
1336         * gtk/gtkdialog.c:
1337         * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable
1338         implementations. Patch by Antti Kaijanmäki
1339
1340 2008-08-05  Tor Lillqvist  <tml@novell.com>
1341
1342         * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
1343         avoid warning on Win64.
1344
1345 2008-08-05  Tor Lillqvist  <tml@novell.com>
1346
1347         * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
1348         gintptr instead of long when calculating hash, so we get all of
1349         the pointer bits on Win64 where long is 32 bits.
1350
1351 2008-08-05  Tor Lillqvist  <tml@novell.com>
1352
1353         * gtk/gtkprintoperation-win32.c: Don't need to declare
1354         IPrintDialogCallback with mingw64 either. It seems to be provided
1355         with the newer versions of the headers included with mingw64.
1356
1357 2008-08-05  Tor Lillqvist  <tml@novell.com>
1358
1359         Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
1360
1361         * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
1362         as the GdkNativeWindow parameter to
1363         gtk_window_remove_embedded_xid(). Debugging printout format fixes.
1364
1365         * gtk/gtkwin32embed.h
1366         * gtk/gtkwin32embed.c: Change the types of wparam and lparam
1367         parameters to actually be WPARAM and LPARAM.
1368
1369         * gtk/gtkplug-win32.c: Adapt accordingly.
1370
1371 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1372
1373         * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
1374         a word, use 'audible' instead.
1375
1376 2008-08-05  Tor Lillqvist  <tml@novell.com>
1377
1378         * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
1379         with parens so cast covers all of it.
1380
1381 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1382
1383         Bug 382291 – Automatically dim the combobox when the model is empty
1384
1385         * gtk/gtk.symbols:
1386         * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
1387         property with getter and setter to control the sensitity of
1388         empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
1389         Christian Dywan and others.
1390
1391         * README.in: Add a note about automatic combobox sensitivity.
1392         
1393 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1394
1395         * gtk/tests/Makefile.am: Skip crossingevents test when
1396         running make check, since it doesn't work on a naked
1397         X server.
1398
1399 2008-08-05  Tor Lillqvist  <tml@novell.com>
1400
1401         Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
1402
1403         * gdk/gdkdnd.h
1404         * gdk/gdkdnd.c
1405         * gdk/win32/gdkdnd-win32.c
1406         * gdk/x11/gdkdnd-x11.c: Change return value and type of window id
1407         from guint32 to GdkNativeWindow for
1408         gdk_drag_get_protocol_for_display() and
1409         gdk_drag_get_protocol(). This is not an API break on existing
1410         platforms, as GdkNativeWindow has been guint32 for them
1411         already.
1412
1413         * gdk/gdkselection.h
1414         * gdk/gdkselection.c
1415         * gdk/win32/gdkselection-win32.c
1416         * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id
1417         parameter of gdk_selection_send_notify_for_display() and
1418         gdk_selection_send_notify().
1419
1420         * gdk/win32/gdkcursor-win32.c
1421         * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
1422         versa to avoid gcc 4.4 signedness warnings.
1423
1424         * gdk/win32/gdkevents-win32.c
1425         * gdk/win32/gdkproperty-win32.c
1426         * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
1427         casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
1428         values in debugging output using the %p format.
1429         
1430         * gdk/win32/gdkkeys-win32.c
1431         * gdk/win32/gdkfont-win32.c
1432         * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
1433  
1434         * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
1435         SetWindowLong().
1436
1437         * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
1438         HANDLE on Win64.
1439
1440         * gtk/gtkwindow.h
1441         * gtk/gtkwindow.c: Change the type of the xid parameter of the
1442         internal gtk_window_remove_embedded_xid() and
1443         gtk_window_add_embedded_xid() functions from guint to
1444         GdkNativeWindow.
1445
1446         * gtk/gtkwindow.c (send_client_message_to_embedded_windows):
1447         Instead of GPOINTER_TO_UINT(), just cast the gpointer to
1448         GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
1449         Win64.
1450
1451 2008-08-05  Tor Lillqvist  <tml@novell.com>
1452
1453         * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
1454         before doing bit tests on them.
1455
1456 2008-08-05  Tor Lillqvist  <tml@novell.com>
1457
1458         * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
1459         Windows, too. It just makes more sense, as a HWND *is* a kind of
1460         pointer.
1461
1462         * gdk/gdkconfig.h.win32: Ditto here.
1463
1464 2008-08-04  Björn Lindqvist  <bjourne@gmail.com>
1465
1466         Bug 534979 – GtkImageMenuItem is a bin but has two children.
1467
1468         * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
1469         include the image widget when iterating over non-internal
1470         children. Patch by rainwoodman.
1471
1472 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1473
1474         * NEWS: Updates
1475
1476 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1477
1478         * configure.in: Bump glib dependency to 2.17.6
1479
1480 2008-08-04  Michael Natterer  <mitch@imendio.com>
1481
1482         * gtk/gtkclist.c
1483         * gtk/gtkctree.c
1484         * gtk/gtkpixmap.c
1485         * gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
1486
1487         * gtk/gtktext.c: ditto, apart from the text cruft APIs.
1488
1489 2008-08-04  Michael Natterer  <mitch@imendio.com>
1490
1491         * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
1492         "gdkrgb" is in the debug flags.
1493
1494         * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
1495         here, this function is deprecated and the debug flag didn't work
1496         when using GDK properly.
1497
1498 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
1499
1500         * gtk/gtkicontheme.c: Update to handle GEmblem.
1501
1502 2008-08-04  Michael Natterer  <mitch@imendio.com>
1503
1504         * tests/prop-editor.c: undeprecate (apart from still using
1505         GtkOptionMenu).
1506
1507 2008-08-04  Michael Natterer  <mitch@imendio.com>
1508
1509         * gtk/gtkseparatortoolitem.c
1510         * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
1511
1512         * gtk/gtkcalendar.c (calendar_set_display_option): use
1513         gtk_calendar_set_display_options() instead of the deprecated
1514         gtk_calendar_display_options().
1515
1516 2008-08-04  Carlos Garnacho  <carlos@imendio.com>
1517
1518         * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
1519
1520 2008-08-04  Carlos Garnacho  <carlos@imendio.com>
1521
1522         * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
1523         to be the GtkNotebook background color. This is a workaround to
1524         prevent black pixels in rounded tabs when reordering. Improves
1525         #368234.
1526
1527 2008-08-04  Carlos Garnacho  <carlos@imendio.com>
1528
1529         * gtk/gtk.symbols:
1530         * gtk/gtkfilechooserbutton.[ch]:
1531         * gtk/gtkfilechooserdefault.[ch]:
1532         * gtk/gtkfilechooserdialog.[ch]:
1533         * gtk/gtkfilechooserwidget.[ch]: Deprecate
1534         gtk_file_chooser_*_new_with_backend(), since GIO is already used
1535         directly. Fixes #545976.
1536
1537 2008-08-04  Carlos Garnacho  <carlos@imendio.com>
1538
1539         * gtk/gtk.symbols:
1540         * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
1541         #545978.
1542         * gtk/gtkfilechooserbutton.c:
1543         * gtk/gtkfilechooserdefault.c:
1544         * gtk/gtkfilechooserutils.c: Update to use public GFile API.
1545
1546 2008-08-04  Michael Natterer  <mitch@imendio.com>
1547
1548         * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
1549
1550         Fix pltcheck.sh by restricting the visibility of deprecated
1551         symbols to the places where they are actually used:
1552
1553         * gtk/gtkclist.c
1554         * gtk/gtkctree.c
1555         * gtk/gtklistitem.c
1556         * gtk/gtklist.c
1557         * gtk/gtkprogressbar.c
1558         * gtk/gtkpixmap.c
1559         * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
1560         __GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
1561
1562         * gtk/gtkclist.h
1563         * gtk/gtkctree.h
1564         * gtk/gtklistitem.h
1565         * gtk/gtklist.h
1566         * gtk/gtkpixmap.h
1567         * gtk/gtkprogress.h: make the headers visible if the respective
1568         __GTK_FOO_C__ are defined.
1569
1570 2008-08-04  Michael Natterer  <mitch@imendio.com>
1571
1572         * gtk/gtkclist.c
1573         * gtk/gtklist.c
1574         * gtk/gtkoldeditable.c
1575         * gtk/gtkpixmap.c
1576         * gtk/gtktipsquery.c
1577         * gtk/gtktree.c
1578         * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
1579
1580 2008-08-04  Michael Natterer  <mitch@imendio.com>
1581
1582         * gtk/gtkclist.[ch]
1583         * gtk/gtkctree.[ch]
1584         * gtk/gtkitemfactory.[ch]
1585         * gtk/gtkobject.[ch]
1586         * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
1587
1588 2008-08-04  Sven Neumann  <sven@gimp.org>
1589
1590         * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
1591         color when the "visited" state is changed.
1592
1593 2008-08-04  Michael Natterer  <mitch@imendio.com>
1594
1595         * gtk/gtkwindow.c: move the code of the deprecated
1596         gtk_window_set_policy() to a new private function
1597         gtk_window_set_policy_internal() and call it from
1598         gtk_window_set_policy().
1599
1600         (gtk_window_set_resizable): use the new internal function in order
1601         to avoid our own deprecated public API.
1602
1603 2008-08-04  Michael Natterer  <mitch@imendio.com>
1604
1605         * gtk/gtkbindings.c: move the code of the deprecated
1606         gtk_binding_entry_clear() to a new private function
1607         gtk_binding_entry_clear_internal() and call it from
1608         gtk_binding_entry_clear().
1609
1610         (_gtk_binding_entry_add_signall)
1611         (gtk_binding_parse_bind): use the new internal function in order
1612         to avoid our own deprecated public API.
1613
1614 2008-08-04  Michael Natterer  <mitch@imendio.com>
1615
1616         * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
1617         avoid our own deprecated public API and use
1618         gtk_font_selection_get_font_internal() instead of
1619         gtk_font_selection_get_font().
1620
1621         (gtk_font_selection_get_font)
1622         (gtk_font_selection_dialog_get_font): Add missing
1623         "Deprecated: 2.0" to the api doc comments.
1624
1625 2008-08-04  Michael Natterer  <mitch@imendio.com>
1626
1627         * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
1628
1629 2008-08-04  Tor Lillqvist  <tml@novell.com>
1630
1631         * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
1632         Windows. AC_SUBST it.
1633
1634         * gdk/Makefile.am
1635         * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
1636
1637 2008-08-04  Tor Lillqvist  <tml@novell.com>
1638
1639         Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
1640
1641         * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
1642
1643         * gdk/gdkconfig.h.win32: Ditto here.
1644
1645 2008-08-04  Tor Lillqvist  <tml@novell.com>
1646
1647         * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
1648         s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
1649
1650 2008-08-04  Tor Lillqvist  <tml@novell.com>
1651
1652         * configure.in: Don't bother with the test "if gio can sniff png"
1653         if $gio_can_sniff has been already set. Preset it to "no" for
1654         Win32. This helps cross-compilation from 32-bit Windows to 64-bit,
1655         or from Unix to Windows in general. No idea how this should be
1656         handled for cross-compilation in general.
1657
1658 2008-08-04  Tor Lillqvist  <tml@novell.com>
1659
1660         * gdk/win32/gdkdisplay-win32.c: Don't bother looking up
1661         EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
1662         present in NT-based Windows since Windows 2000.
1663         (enum_monitor): For some reason the MONITORINFOEX struct in
1664         mingw-win64 is different than the proper one as in MSDN and 32-bit
1665         mingw, so just copy the proper definition here.
1666
1667 2008-08-03  Björn Lindqvist  <bjourne@gmail.com>
1668
1669         Bug 540379 – gtk_tree_view_enable_model_drag_dest and
1670         gtk_tree_view_enable_model_drag_source unsets reorderable property
1671
1672         * gtk/gtktreeview.c: Improve docstrings regarding reorderable
1673         property.
1674
1675 2008-08-03  Matthias Clasen  <mclasen@redhat.com>
1676
1677         * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
1678
1679 2008-08-03  Matthias Clasen  <mclasen@redhat.com>
1680
1681         Bug 546128 – Weirz string
1682
1683         * gtk/gtksettings.c: Add a translator hint.
1684         Requested by Ignacio Casal Quinteiro
1685
1686 2008-08-02  Tor Lillqvist  <tml@novell.com>
1687
1688         Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings
1689
1690         * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
1691         potential leak. Thanks to Morten Welinder.
1692
1693 2008-08-02  Tor Lillqvist  <tml@novell.com>
1694
1695         * gtk/gtkprint-win32.c
1696         * gtk/gtkprint-win32.h
1697         * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
1698         below.
1699
1700 2008-08-02  Tor Lillqvist  <tml@novell.com>
1701
1702         Bug 339699 - implement gtk_print_operation_set_show_dialog for
1703         Windows
1704         
1705         * gtk/gtkprint-win32.c
1706         * gtk/gtkprint-win32.h
1707         * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.
1708
1709 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
1710         
1711         Bug 544302 – GtkStatusIcon should support GIcon
1712
1713         * gtk/gtk.symbols:
1714         * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon.
1715         Patch by Christian Dywan
1716
1717 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
1718         
1719         Bug 429427 – Add "arrow-spacing" style property to GtkRange
1720
1721         * gtk/gtkrange.c: Add an arrow-spacing style property.
1722         Patch by Carlos Garnacho and Christian Dywan
1723
1724 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
1725
1726         Bug 429411 – add style properties to set minimum progressbar 
1727         width/height
1728
1729         * gtk/gtkprogressbar.c: Add style properties for minimum size.
1730         Patch by Carlos Garnacho and Christian Dywan
1731
1732 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
1733
1734         Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels
1735         documentation
1736
1737         * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve
1738         the docs.
1739
1740 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
1741
1742         Bug 523950 – GtkTreeModelFilter's visible function may get an empty
1743         row
1744
1745         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
1746         Explain and show how iterators pointing to empty rows should be
1747         handled in the visible function. Patch by Björn Lindqvist
1748
1749 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
1750
1751         Bug 539733 – No way to control treeview separator height
1752
1753         * gtk/gtktreeview.c: Respect the wide-separators and
1754         separator-height style properties when drawing separators.
1755         Patch by Christian Dywan
1756
1757 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
1758
1759         Bug 65818 – rename gtk_window_set_default() and add getter for it
1760
1761         * gtk/gtk.symbols:
1762         * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to
1763         gtk_window_get_default_widget. Patch by Christian Dywan
1764
1765 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
1766
1767         Bug 344383 – use po/LINGUAS
1768
1769         * po/LINGUAS: New file, to make translators happy.
1770         * configure.in: Use po/LINGUAS
1771         * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
1772         Patch by Claude Paroz
1773
1774 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
1775
1776         * gdk/gdkapplaunchcontext.c: Improve the docs
1777
1778 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
1779
1780         Bug 545931 – small documentation typos
1781
1782         * gtk/gtkcomboboxentry.c: Fix some typos in the documentation.
1783
1784 2008-08-01  Hans Breuer  <hans@breuer.org>
1785
1786         * gdk/makefile.msc : build gdkwindowimpl
1787
1788         * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
1789         start of a block
1790
1791         * tests/makefile.msc : update
1792
1793 2008-07-31  Cody Russell  <bratsche@gnome.org>
1794
1795         Bug 56070 – Can't click button after setting it sensitive.
1796
1797         * gtk/gtkwidget.[ch]
1798         * gtk/gtkwindow.c
1799         * gtk/gtkmain.c
1800         * gtk/gtkbutton.c
1801         * gtk/gtkprivate.h
1802         * gdk/gdkevents.h: Synthesize crossing events events where necessary.
1803
1804         * gtk/tests/crossingevents.c: Add unit tests for crossing events.
1805
1806         Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
1807         has worked on and helped out with this.
1808
1809 2008-07-31  Matthias Clasen  <mclasen@redhat.com>
1810
1811         Bug 424207 – printing hangs on unreachable cups server
1812
1813         * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a
1814         non-blocking test for reachability of the cups server.
1815
1816         * modules/printbackends/cups/gtkprintbackendcups.c: Don't block
1817         while trying to get the default printer. Patch by Marek Kasik.
1818
1819 2008-07-31  Matthias Clasen  <mclasen@redhat.com>
1820
1821         * modules/input/gtkimcontextmultipress.c: Use a second-granularity
1822         timer for automatic commit.
1823
1824         * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity
1825         timer for the store timeout.
1826
1827 2008-07-31  Matthias Clasen  <mclasen@redhat.com>
1828
1829         * gdk/gdk.[hc]:
1830         * gdk/gdk.symbols: Complete the set of thread-safe timeout function
1831         with second-granularity versions. Patch by Marek Kasik.
1832
1833 2008-07-30  Tor Lillqvist  <tml@novell.com>
1834
1835         * gtk/gtkprintoperation-win32.c: Fix problems in handling custom
1836         paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
1837         tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
1838         is in hundredths of a millimeter. Patch by Sven Neumann.
1839
1840 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
1841
1842         * gtk/gtktreemodel.c: Small doc improvements.
1843
1844 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
1845
1846         * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon
1847
1848         * gtk/gtkicontheme.c: Support rendering GEmblemedIcons.
1849
1850 2008-07-27  Sven Herzberg  <sven@imendio.com>
1851
1852         Bug 544863 – gtkquartz.h not included in released 2.13.5 package
1853
1854         * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST
1855
1856 2008-07-25  Murray Cumming  <murrayc@murrayc.com>
1857
1858         * gtk/gtkstatusicon.c (gtk_status_icon_class_init):
1859         Documented the activate and popup-menu signals as being for use 
1860         by applications and language bindings, though they are G_SIGNAL_ACTION, 
1861         as stated in bug #361561.
1862
1863 2008-07-24  Sebastien Bacher  <seb128@ubuntu.com>
1864
1865         * modules/printbackends/cups/gtkprintbackendcups.c:
1866         (cups_printer_get_options): don't try free gettext() values,
1867         fix a printing dialog crasher (bug 544390)
1868
1869 2008-07-24  Cody Russell  <bratsche@gnome.org>
1870
1871         Bug 544510 – SetTimer callback signatures has the wrong type
1872
1873         * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
1874         sync_timer_proc() to use UINT_PTR for the 'id' parameter
1875         instead of 'id'.  Patch by Richard Hult.
1876
1877 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
1878
1879         Bug 543915 – "Sole completion" translation issue
1880
1881         * gtk/gtkfilechooserentry.c: Add translator hints to a
1882         bunch of strings. Requested by Andre Klapper
1883
1884 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
1885
1886         Bug 544265 – GDK assumes XFIXES extension
1887
1888         * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
1889         Only call XFixes functions if the server has the extension.
1890         Reported by Ian Turner.
1891
1892 2008-07-22  Matthias Clasen  <mclasen@redhat.com>
1893
1894         * configure.in: Compare two content types, not content type
1895         and mime type.
1896
1897 2008-07-22  Sven Herzberg  <sven@imendio.com>
1898
1899         Fix svn:ignore and the include condition
1900
1901         * gdk/tests/check-gdk-cairo.c: ifndef => ifdef
1902
1903 2008-07-22  Tor Lillqvist  <tml@novell.com>
1904
1905         * configure.in: Workaround for what apparently is a bug in MSYS:
1906         returning -1 from main() is misinterpreted as exit status 0, so
1907         make sure we return 0 or 1. (The net effect of the bug was that no
1908         image loading worked on Windows.)
1909
1910 2008-07-22  Sven Herzberg  <sven@imendio.com>
1911
1912         Add a test for my fixes from July 20th.
1913
1914         * configure.in: create gdk/tests/Makefile
1915         * gdk/Makefile.am: include the tests subfolder
1916         * gdk/tests/Makefile.am: create and run my test
1917         * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
1918         (passes at least for x11 and quartz backends)
1919
1920 2008-07-22  Frederic Crozat  <fcrozat@mandriva.com>
1921
1922         * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
1923         if driver is detected as randr12_compat (ie X driver
1924         is not RandR 1.2 compliant). Fixes multihead with 
1925         such drivers. Bug #543317.
1926
1927 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
1928
1929         * configure.in: Default to linking against Xinerama again,
1930         so that we can fallback to Xinerama when broken X drivers
1931         make Xrandr useless. Sigh.
1932
1933 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
1934
1935         * configure.in: Bump version
1936
1937         * === Released 2.13.5 ===
1938
1939 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
1940
1941         * gtk/gtktestutils.c:
1942         * gtk/gtkscalebutton.c:
1943         * gtk/gtkmessagedialog.c:
1944         * gtk/gtkmenu.c:
1945         * gtk/gtkcontainer.c:
1946         * gtk/gtkcolorseldialog.c:
1947         * gtk/gtkaccelgroup.c:
1948         * gtk/gtkentry.c:
1949         * gtk/gtkfontsel.c: Fix some doc problems.
1950
1951 2008-07-21  Michael Natterer  <mitch@imendio.com>
1952
1953         * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
1954         the deprecated gtk_box_pack_start_defaults().
1955
1956         * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
1957         (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
1958         instead of the deprecated gtk_binding_entry_add_signall().
1959
1960 2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>
1961
1962         * gtk/gtkrecentmanager.c:
1963         (recent_app_info_new), (recent_app_info_free): Use GSlice to
1964         allocate the application data for recently used resources;
1965         do not call time() to initialize the timestamp, as it will
1966         be overwritten anyway later. (#535223, Michael Meeks)
1967
1968 2008-07-21  Kristian Rietveld  <kris@gtk.org>
1969
1970         Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
1971
1972         * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
1973         for width_changed != NULL.  (Patch by Josselin Mouette).
1974
1975 2008-07-21  Michael Natterer  <mitch@imendio.com>
1976
1977         Bug 442042 – GtkScaleButton is too limited
1978
1979         * tests/testvolumebutton.c: forgot to commit code that tests
1980         toggling the button's orientation. Also fixes the file's coding
1981         style.
1982
1983 2008-07-21  Cody Russell  <bratsche@gnome.org>
1984
1985         Bug 153567 – Repaint glitches in widgets
1986
1987         * gdk/win32/gdkevents-win32.c: Set a sync timer when
1988         we receive WM_SYNCPAINT, and RedrawWindow() once
1989         the timer expires.
1990
1991 2008-07-21  Michael Natterer  <mitch@imendio.com>
1992
1993         * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
1994         g_signal_override_class_handler() instead of
1995         g_signal_override_class_closure().
1996
1997         * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
1998
1999         (gtk_text_view_compat_move_focus): chain up using
2000         g_signal_chain_from_overridden_handler() instead of the generic
2001         g_signal_chain_from_overridden() which needs manual fiddling with
2002         millions of GValues.
2003
2004 2008-07-21  Michael Natterer  <mitch@imendio.com>
2005
2006         * gtk/gtkuimanager.c: remove redundant include.
2007
2008 2008-07-21  Michael Natterer  <mitch@imendio.com>
2009
2010         * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
2011
2012         * gtk/gtkfilechooserdefault.c
2013         * gtk/gtkmenu.c
2014         * gtk/gtkmenushell.c
2015         * gtk/gtkscalebutton.c
2016         * gtk/gtktextview.c
2017         * gtk/gtktoolbar.c
2018         * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
2019         some missing I_() to the signal names.
2020
2021 2008-07-21  Michael Natterer  <mitch@imendio.com>
2022
2023         * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
2024         functions and virtual function implementations. Some minor
2025         cleanups.
2026
2027 2008-07-20  Andre Klapper  <a9016009@gmx.de>
2028
2029         Bug 543915 - translation issues
2030
2031         * modules/printbackends/cups/gtkprintbackendcups.c:
2032         Add translator comments for several strings.
2033
2034 2008-07-20  Sven Herzberg  <sven@imendio.com>
2035
2036         reviewed by: Richard Hult
2037
2038         Fixes #543868: GdkPixmap is upside down on quartz
2039
2040         * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
2041         coordinate space from GTK+ orientation to CoreGraphics orientation
2042         before calling CoreGraphics code
2043         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
2044         coordinate space flipping (we always get it right, now)
2045         * gdk/quartz/gdkpixmap-quartz.c
2046         (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
2047         creating the CGContextRef
2048
2049 2008-07-20  Sven Herzberg  <sven@imendio.com>
2050
2051         reviewed by: Richard Hult
2052
2053         Extracted the CGContextRef creation into a virtual function of
2054         GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
2055         GdkWindow
2056
2057         * gdk/quartz/gdkdrawable-quartz.c
2058         (gdk_quartz_drawable_get_context): dropped the different
2059         implementations; forward to the virtual function now
2060         * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
2061         * gdk/quartz/gdkpixmap-quartz.c
2062         (gdk_pixmap_impl_quartz_get_context),
2063         (gdk_pixmap_impl_quartz_class_init): implemented get_context()
2064         * gdk/quartz/gdkwindow-quartz.c
2065         (gdk_window_impl_quartz_get_context),
2066         (gdk_window_impl_quartz_class_init): implemented get_context()
2067
2068 2007-08-19  Matthias Clasen  <mclasen@redhat.com>
2069
2070         * NEWS: Updates
2071
2072 2007-08-18  Matthias Clasen  <mclasen@redhat.com>
2073
2074         Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
2075         inside "apply" signal handler
2076
2077         * gtk/gtkassistant.c: Don't emit signals with extra parameters.
2078         Patch by Antti Kaijanmäki
2079
2080 2007-08-18  Matthias Clasen  <mclasen@redhat.com>
2081
2082         Bug 543217 – GTK application crashed with directfb backend
2083
2084         *  gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
2085         _gdk_visual_init().  Patch by Huimin He.
2086
2087 2008-07-18  Federico Mena Quintero  <federico@novell.com>
2088
2089         * gtk/updateiconcache.c (build_cache): If the resulting cache file
2090         would be empty, erase the old cache file as well as the temporary file.
2091
2092 2008-07-18  Federico Mena Quintero  <federico@novell.com>
2093
2094         * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
2095         do funny casts to avoid compiler warnings.
2096
2097         * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
2098
2099         * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
2100
2101         * gtk/gtkmodules.c (load_module): Likewise.
2102
2103         * gtk/gtkselection.c (gtk_selection_convert): Likewise.
2104
2105         * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
2106
2107         * gtk/queryimmodules.c (query_module): Likewise.
2108
2109         * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
2110         (find_widget_at_pointer): Likewise.
2111
2112 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
2113
2114         * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
2115         hunk of the previous commit.
2116
2117 2008-07-18  Sven Herzberg  <sven@imendio.com>
2118
2119         Make aliasfilecheck.sh pass for the quartz backend, too.
2120
2121         * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
2122
2123 2008-07-17  Runa Bhattacharjee <runabh@gmail.com>
2124
2125         * configure.in: Added Pashto (ps) to ALL_LINGUAS
2126
2127 2008-07-15  Paolo Borelli  <pborelli@katamail.com>
2128
2129         Bug 447998 - GtkBuilder does not support building parts of the xml tree
2130
2131         * gtk/gtkbuilder.c:
2132         * gtk/gtkbuilder.h:
2133         * gtk/gtkbuilderprivate.h:
2134         * gtk/gtkbuilderparser.c:
2135         * gtk/gtk.symbols:
2136         Add two new functions that allow cherry picking and construct
2137         objects from a ui description file or string.
2138
2139         * gtk/tests/builder.c: tests for the above.
2140
2141 2008-07-15  Paolo Borelli  <pborelli@katamail.com>
2142
2143         * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
2144         signal) case and plug a couple of leaks.
2145
2146 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
2147
2148         Bug 543244 – crashes when renaming a bookmark
2149
2150         * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
2151         free a GFile. Reported by Sebastien Bacher
2152
2153 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
2154
2155         Bug 339591 – Detect list of availible cover pages
2156
2157         Patch by Marek Kasik:
2158         * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
2159         available cover pages and the default front and back cover pages 
2160         from the cups server.
2161
2162 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
2163
2164         Bug 384940 – handle rejecting jobs and authentication meaningfully
2165
2166         Patch by Marek Kasik, icons by Mike Langlie:
2167         * gtk/gtk.symbols:
2168         * gtk/gtkprintbackend.h:
2169         * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
2170         and getters/setters.
2171
2172         * gtk/gtkstock.h:
2173         * gtk/gtkiconfactory.c:
2174         * gtk/Makefile.am:
2175         * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
2176
2177         * modules/printbackends/cups/gtkprintbackendcups.c: 
2178         * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting 
2179         printers.
2180
2181 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
2182
2183         * configure.in: Add a test to see if GIO can sniff image data,
2184         this should make gdk-pixbuf use its own sniffing again, on OS X.
2185
2186 2008-07-15  Xavier Claessens  <xclaesse@gmail.com>
2187
2188         Bug 542523 – GtkTextTag should handle setting properties to NULL
2189
2190         * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
2191         setting it to NULL instead of displaying a warning.
2192
2193 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
2194
2195         Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
2196
2197         * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
2198         Call shortcuts_check_popup_sensitivity() every time the
2199         menu is popped up. Problem reported by Hong Jen Yee
2200         
2201 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
2202
2203         Bug 488766 – GtkFileChooserButton doesn't clear icon after
2204         gtk_file_chooser_unselect_all
2205
2206         * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
2207         the image when the label is set to "(None)". Reported by
2208         Neil Roberts
2209
2210         * tests/testfilechooserbutton.c: Add an "Unselect all" button.
2211
2212 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
2213
2214         Bug 507394 – mem leak from gtk_selection_add_targets
2215
2216         * gtk/gtkoldeditable.c: Free target lists in finalize.
2217         Reported by Christian Persch
2218
2219 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
2220
2221         * gtk/gtk.symbols:
2222         * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
2223
2224 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
2225
2226         * gtk/gtklabel.c: Trivial doc fix.
2227
2228 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
2229
2230         Bug 542853 – jasper test fails due to incomplete library arguments
2231
2232         * configure.in: Add -ljpeg when checking for jasper.
2233         Reported by Mike Calmus
2234
2235 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
2236
2237         * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek 
2238         Kasik.
2239
2240 2008-07-11  Kristian Rietveld  <kris@gtk.org>
2241
2242         Bug 316087 - Resizing columns is chaotic
2243
2244         * gtk/gtktreeprivate.h: add new member fields.
2245
2246         * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
2247         validation flag,
2248         (gtk_tree_view_size_allocate_columns): rework the size allocation
2249         mechanism to only recalculate the expand values if the width of the
2250         widget, content or the column configuration has changed,
2251         (gtk_tree_view_size_allocate): move call to size_allocate_columns()
2252         to before the adjustment updates so the proper width is used after
2253         we updated it,
2254         (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
2255         use the column width minus the expand value for the resized width,
2256         (gtk_tree_view_move_column_after): update call to
2257         gtk_tree_view_size_allocate_columns().
2258
2259         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
2260         resized width to FALSE.
2261
2262         * tests/Makefile.am:
2263         * tests/testtreecolumnsizing.c: new interactive test program
2264         for testing column resizing with different column configurations.
2265
2266 2008-07-11  Simos Xenitellis  <simos@gnome.org>
2267
2268         * gtk/compose-parse.py:
2269         * gtk/gtkimcontextsimple.c:
2270         Fixed typo for the name of Markus Kuhn, issue mentioned 
2271         in bug #321896 (comment 61).
2272         
2273 2008-07-11  Simos Xenitellis  <simos@gnome.org> 
2274
2275         Bug 334418 – Support easy input of ellipsis
2276
2277         * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
2278         that listed the wrong codepoint.  Reported by Wouter Bolsterlee.
2279
2280 2008-07-03  Murray Cumming  <murrayc@murrayc.com>
2281
2282         * gtk/gtkwidget.c (gtk_widget_set_property):  tooltip-text and 
2283         tooltip-markup properties: Interpret an empty string as a NULL 
2284         string because an empty tooltip is silly. This will help 
2285         language bindings that do not bother to have the two types of 
2286         empty/null strings.
2287         Bug #541399.
2288
2289 2008-07-10  Matthias Clasen  <mclasen@redhat.com>
2290
2291         Bug 542234 – iconview a11y implementation segfaults
2292
2293         * gtk/gtkiconview.c: Fix a segfault in the a11y code.
2294         Patch by Li Yuan.
2295
2296 2008-07-08  Christian Neumair  <cneumair@gnome.org>
2297
2298         * gtk/gtkuimanager.c (update_node):
2299         Skip update of accelerator child node if it has no associated action.
2300         Fixes #541950.
2301
2302 2008-07-07  Cody Russell  <bratsche@gnome.org>
2303
2304         Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
2305
2306         * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
2307         existing modal hint value before setting it.
2308
2309 2008-07-07  Cody Russell  <bratsche@gnome.org>
2310
2311         Bug 540994 – [Win32] Some windows don't appear at the top when created
2312
2313         * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
2314
2315         I actually already committed this one by accident, probably when I committed
2316         #541305, but just wanted to document it here in the ChangeLog.
2317
2318 2008-07-07  Johan Dahlin  <johan@gnome.org>
2319
2320         * gtk/tests/builder.c (test_cell_view):
2321         Add a test case for 528845.
2322
2323 2008-07-07  Tor Lillqvist  <tml@novell.com>
2324
2325         * gdk/win32/gdkwindow-win32.c
2326         (gdk_window_foreign_new_for_display): Need to initialise
2327         private->impl here, too.
2328
2329 2008-07-07  Michael Natterer  <mitch@imendio.com>
2330
2331         * gtk/gtkfilesystem.c: include the two needed headers instead of
2332         <gtk/gtk.h>.
2333
2334 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2335
2336         Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
2337         GtkCellView
2338
2339         * gtk/gtkcellview.c: Don't blindly chain up in the buildable
2340         implementation.  Reported by Kevin Ryde.
2341
2342 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2343
2344         Bug 469068 – clarify gdk_cairo_create()
2345
2346         * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
2347         contexts cannot be cached for handling expose events.
2348         Proposed by Behdad Esfahbod.
2349
2350 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2351
2352         Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
2353
2354         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
2355         that the tooltip is set as markup. Proposed by Czirkos Zoltan.
2356
2357 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2358
2359         Bug 510225 – gtk_widget_get_composite_name retval should be freed
2360
2361         * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
2362         docs. Pointed out by Wolfgang Oertl
2363
2364 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2365
2366         Bug 531129 – gtk_style_copy() does not include a return value or 
2367         description
2368
2369         * gtk/gtkstyle.c: Document gtk_style_copy.
2370
2371 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2372
2373         Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
2374         Bug 513580 – Broken link in GTK+ FAQ
2375
2376         * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
2377
2378 2008-07-07  Christian Dywan  <christian@imendio.com>
2379
2380         * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
2381         erroneously added g_return_if_fail (bug #541811).
2382
2383 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2384
2385         Bug 343663 – source-buffer highlighting highlights "char" in
2386         gtk_text_iter_forward_char
2387
2388         * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
2389
2390 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2391
2392         Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
2393         
2394         * gtk/gtksettings.c: Improve the documentation of the
2395         gtk-icon-sizes setting. Proposed by Tommi Komulainen.
2396
2397 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2398
2399         Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
2400         invalid dates
2401
2402         * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
2403         Check that the cursor is over a valid date before retrieving
2404         its details.  Patch by Chris Wilson
2405
2406 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2407
2408         Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
2409
2410         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
2411         64-bit brokenness. Reported by Christian Hammond.
2412
2413 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2414
2415         Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
2416         contain ://
2417
2418         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
2419         Be more robust. Reported by  Jelte van der Hoek
2420
2421 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
2422
2423         Bug 540917 – deprecate pack_start_defaults()
2424
2425         * gtk/gtk.symbols:
2426         * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
2427         Proposed by Owen Taylor
2428
2429 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
2430
2431         * configure.in: Bump version
2432
2433 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
2434
2435         * === Released 2.13.4 ===
2436
2437 2008-07-05  Michael Natterer  <mitch@imendio.com>
2438
2439         * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
2440         deprecated section because it isn't deprecated.
2441
2442 2008-07-05  Michael Natterer  <mitch@imendio.com>
2443
2444         * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
2445         other include weirdness in this file.
2446
2447 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
2448
2449         * NEWS: Updates
2450
2451 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
2452
2453         * gtk/gtkiconview.c:
2454         * gtk/gtkfontsel.c:
2455         * gtk/gtkscalebutton.c: Small doc fixes.
2456
2457 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
2458
2459         * gdk/gdkevents.c:
2460         * gdk/x11/gdktestutils-x11.c: Small doc fixes
2461
2462 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
2463
2464         * gtk/tests/defaultvalue.c: Omit some more untestable properties.
2465
2466         * gtk/gtkmenu.c: Fix the initial value of the monitor property.
2467
2468         * gtk/gtkentry.c: Fix the property getter for text-length property.
2469
2470         * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
2471
2472 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
2473
2474         * gtk/gtkmenu.c: Debork the attach-widget property.
2475
2476 2008-07-04  Michael Natterer  <mitch@imendio.com>
2477
2478         Fix make check:
2479
2480         * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
2481         again :-(
2482
2483         * gtk/gtkclist.c
2484         * gtk/gtkcombo.c
2485         * gtk/gtkctree.c
2486         * gtk/gtklist.c
2487         * gtk/gtklistitem.c
2488         * gtk/gtknotebook.c
2489         * gtk/gtkobject.c
2490         * gtk/gtkoldeditable.c
2491         * gtk/gtkpixmap.c
2492         * gtk/gtktext.c
2493         * gtk/gtktipsquery.c
2494         * gtk/gtktree.c
2495         * gtk/gtktreeitem.c: don't #define it again before including
2496         gtkalias.h after it has been #undef'ed before.
2497
2498 2008-07-04  Michael Natterer  <mitch@imendio.com>
2499
2500         * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
2501         to FALSE instead of 0.
2502
2503 2008-07-04  Michael Natterer  <mitch@imendio.com>
2504
2505         Allocate with GSlice:
2506
2507         * gtk/gtkassistant.c: GtkAssistantPage
2508         * gtk/gtkcellview.c: GtkCellViewCellInfo
2509         * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
2510         * gtk/gtkfilefilter.c: FilterRule
2511         * gtk/gtknotebook.c: GtkNotebookPage
2512
2513 2008-07-04  Michael Natterer  <mitch@imendio.com>
2514
2515         * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
2516
2517 2008-07-04  Michael Natterer  <mitch@imendio.com>
2518
2519         * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
2520         variable to GtkWidget fo fix two warnings.
2521
2522 2008-07-04  Michael Natterer  <mitch@imendio.com>
2523
2524         Bug 539944 – Add GtkScaleButton API so struct fields can be marked
2525         as private
2526
2527         * gtk/gtk.symbols
2528         * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
2529         and _get_minus_button(). Patch by Christian Dywan.
2530
2531 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
2532
2533         * gtk/gtkscalebutton.c:
2534         * gdk/gdk.symbols: 
2535         * gdk/gdkwindowimpl.c: Fix make check.
2536
2537 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
2538
2539         Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
2540         constructed using GtkUIManager
2541
2542         * gtk/gtkmenuitem.c: Fall back to the default positioning when
2543         the menuitem is not realized. Patch by Björn Lindqvist.
2544
2545 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
2546
2547         Bug 540612 – mem leak in filechooser
2548
2549         * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
2550         Patch by Christian Persch.
2551
2552 2008-07-04  Tor Lillqvist  <tml@novell.com>
2553
2554         Bug 540861 - invalid UTF-8 in input device name
2555
2556         * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
2557         Unicode, and convert to UTF-8 for the GdkDevice's name field.
2558
2559 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
2560
2561         Bug 538863 – Fixes assertion on entering empty folder
2562
2563         * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
2564         select the first row if the folder is empty.
2565         Patch by Olle Bergkvist.
2566
2567 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
2568
2569         Bug 540915 – GtkBuilder sets properties in reverse order
2570
2571         * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order 
2572         in which they are specified in the xml file.  
2573
2574 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
2575         
2576         Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
2577         private
2578
2579         * gtk/gtk.symbols:
2580         * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
2581         accessor for the popup. Patch by Christian Dywan
2582
2583 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
2584
2585         Bug 535498 – Printing demo broken
2586
2587         * demos/gtk-demo/printing.c: Use monospace as font name, 
2588         not mono. Also use the right advance when moving from line to line.
2589         Patch by Yevgen Muntyan.
2590
2591 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
2592
2593         Bug 538547 – Update doc-shooter in gtk documentation
2594
2595         * docs/tools/Makefile.am:
2596         * docs/tools/folder.png:
2597         * docs/tools/gnome.png: New images
2598
2599         * docs/tools/widgets.c: Use the new images.
2600         Patch by Baptiste Mille-Mathias.
2601
2602 2008-07-03  Michael Natterer  <mitch@imendio.com>
2603
2604         * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
2605         names of binding signal implementations.
2606
2607 2008-07-03  Li Yuan  <li.yuan@sun.com>
2608
2609         * gail-uninstalled.pc.in:
2610         Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
2611
2612 2008-07-03  Cody Russell  <bratsche@gnome.org>
2613
2614         Bug 540529 – Remove all GIMP references
2615
2616         * gtk+-2.0.pc.in:
2617         * gdk-2.0.pc.in:
2618         * gtk+-unix-print-2.0.pc.in:
2619         * gtk+-2.0-uninstalled.pc.in:
2620         * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
2621         GTK+ Graphical UI Library in the pkg-config files.
2622
2623 2008-07-02  Cody Russell  <bratsche@gnome.org>
2624
2625         Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
2626
2627         * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
2628         works again.
2629
2630         * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
2631         * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
2632         warnings.
2633
2634 2008-07-02  Cody Russell  <bratsche@gnome.org>
2635
2636         Bug 541249 – [Win32] Fix some internal static methods
2637
2638         * gdk/gdkwindow-win32.c: Make the interface implementation methods
2639         static.
2640
2641 2008-07-02  Michael Natterer  <mitch@imendio.com>
2642
2643         Bug 537591 – Don't hardcode minimum width of menuitems
2644
2645         * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
2646         introduces a "width-chars" style property which replaces the
2647         hardcoded minimum width of menuitems with submenu. Patch
2648         extracted from Maemo-GTK+.
2649
2650 2008-07-02  Michael Natterer  <mitch@imendio.com>
2651
2652         * gtk/gtkfilechooserdefault.c: remove some of the million includes.
2653
2654 2008-07-02  Kristian Rietveld  <kris@imendio.com>
2655
2656         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
2657         Since s/2.16/2.14/ for the new gicon property.
2658
2659 2008-07-02  Kristian Rietveld  <kris@imendio.com>
2660
2661         Bug 455268 - Add gtk-enable-tooltips GtkSetting
2662
2663         * gtk/gtk.symbols:
2664         * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
2665
2666         * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
2667
2668         * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
2669         introduced XSetting into account.
2670
2671         * demos/gtk-demo/appwindow.c: don't use the now deprecated
2672         gtk_toolbar_set_tooltips().
2673
2674 2008-07-02  Cody Russell  <bratsche@gnome.org>
2675
2676         Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
2677
2678         * gdk/win32/gdkprivate-win32.h:
2679         * gdk/win32/gdkgeometry-win32.c:
2680         * gdk/win32/gdkevents-win32.c:
2681         * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
2682         the newly refactored GdkWindow code.
2683         
2684 2008-07-01  Cody Russell  <bratsche@gnome.org>
2685
2686         Bug 539164 – Windows' System Menu blocks main loop
2687
2688         * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
2689         receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
2690         GLib mainloop from there.
2691
2692 2008-07-01  Richard Hult  <richard@imendio.com>
2693
2694         Some aftermath from the window impl cleanups:
2695
2696         * gdk/quartz/gdkwindow-quartz.c:
2697         (gdk_window_merge_child_input_shapes): Rename and export again.
2698         (gdk_window_quartz_get_offsets): Make static.
2699
2700 2008-07-01  Michael Natterer  <mitch@imendio.com>
2701
2702         * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
2703
2704 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
2705
2706         539790 – [PATCH] Please add three new settings to GtkSettings
2707
2708         * gdk/x11/gdksettings.c: 
2709         * gtk/gtksettings.c: Add event sound settings.
2710         Patch by Lennart Poettering.
2711
2712 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
2713
2714         Bug 434535 – printoperation's create_surface doesn't check temp file
2715         creation for success
2716
2717         Patch by Marek Kasik:
2718
2719         * gtk/gtkprintoperation-unix.c
2720         (_gtk_print_operation_platform_backend_create_preview_surface): 
2721         Handle failure to create temp file by returning NULL.
2722
2723         * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
2724         Return FALSE if surface creation fails.
2725
2726         (print_pages): If the preiew signal is not handled, show an
2727         error dialog.
2728
2729 2008-07-01  Michael Natterer  <mitch@imendio.com>
2730
2731         Bug 442042 – GtkScaleButton is too limited
2732
2733         * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
2734         property that can be changed at any time after widget
2735         creation. Add public API for it.
2736
2737         * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
2738
2739 2008-06-30  Michael Natterer  <mitch@imendio.com>
2740
2741         Some unrelated cleanups found while reviewing
2742         the offscreen window patch:
2743
2744         * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
2745         functions, fix some function header indentation, update
2746         documentation of redirect_to_drawable().
2747
2748         * gdk/x11/gdkwindow-x11.c
2749         * gdk/x11/gdkpixmap-x11.c: fix function header
2750         formatting/indentation.
2751
2752         * gtk/gtkwidget.c: use I_() on "damage_event".
2753
2754 2008-06-30  Michael Natterer  <mitch@imendio.com>
2755
2756         * gdk/gdkinternals.h: remove duplicate declaration of
2757         _gdk_window_new().
2758
2759 2008-06-30  Michael Natterer  <mitch@imendio.com>
2760
2761         * gdk/Makefile.am: reorder source lists alphabetically.
2762
2763 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
2764
2765         Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
2766
2767         * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
2768         Patch by Owen Taylor
2769
2770 2008-06-29  Behdad Esfahbod  <behdad@gnome.org>
2771
2772         Bug 530255 – GtkAboutDialog cuts off comments label
2773         Followup patch from  Jan Arne Petersen
2774
2775         * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
2776
2777 2008-06-28  Michael Natterer  <mitch@imendio.com>
2778
2779         * gtk/gtkselection.h: properly indent the newly added
2780         GtkSelectionData accessors. Some newlines can't hurt either.
2781
2782 2008-06-27  Mikael Hallendal  <micke@imendio.com>
2783
2784         * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
2785
2786 2008-06-27  Mikael Hallendal  <micke@imendio.com>
2787
2788         * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
2789         Factored out gtk_box_pack from gtk_box_pack_start and use it from both
2790         pack_start and pack_end in order to reduce the code duplication.
2791
2792 2008-06-27  Michael Natterer  <mitch@imendio.com>
2793
2794         Bug 442042 – GtkScaleButton is too limited
2795
2796         * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
2797         "gtk-scalebutton-popup-window" on the popup window so it is
2798         properly themeable.
2799
2800 2008-06-27  Kristian Rietveld  <kris@imendio.com>
2801
2802         * gdk/quartz/gdkgeometry-quartz.c:
2803         * gdk/quartz/gdkwindow-quartz.c:
2804         * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
2805         interface.
2806
2807 2008-06-27  Carlos Garnacho  <carlos@imendio.com>
2808
2809         * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
2810         critical warnings. Bug #539470.
2811
2812 2008-06-27  Emmanuele Bassi  <ebassi@gnome.org>
2813
2814         Abstract some GdkWindow API into an interface that the backends
2815         must implement. (based on a patch by Alex Larsson)
2816
2817         * gdk/Makefile.am: Add gdkwindowimpl.[ch]
2818
2819         * gdk/gdk.symbols: Move symbols around.
2820
2821         * gdk/gdkinternals.h:
2822         * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
2823         from the backends to a GInterface that the backends should implement
2824         instead.
2825
2826         * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
2827         wrapper call around the GdkWindowImpl interface vtable.
2828
2829         * gdk/x11/gdkevents-x11.c:
2830         * gdk/x11/gdkgeometry-x11.c:
2831         * gdk/x11/gdkprivate-x11.h:
2832         * gdk/x11/gdkwindow-x11.c:
2833         * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
2834         the GdkWindowImpl interface.
2835
2836 2008-06-27  Martyn Russell  <martyn@imendio.com>
2837
2838         Bug 540318 - Invalid URL
2839         
2840         * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
2841         in the warning produced here.
2842
2843 2008-06-27  Michael Natterer  <mitch@imendio.com>
2844
2845         Bug 442042 – GtkScaleButton is too limited
2846
2847         * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
2848         stuff that is part of the public API continues to be created in
2849         init() to stay compatible. Move creating of the popup scale to
2850         constructor(). Add an internal HScale class. Changed popup
2851         positioning for horizontal scales accordingly.
2852
2853 2008-06-26  Michael Natterer  <mitch@imendio.com>
2854
2855         * gtk/gtkscalebutton.c
2856         * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
2857         prototypes, remove redundant includes, remove a little trailing
2858         whitespace.
2859
2860 2008-06-26  Richard Hult  <richard@imendio.com>
2861
2862         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
2863         * gtk/gtkquartz.c:
2864         (_gtk_quartz_get_selection_data_from_pasteboard),
2865         (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
2866         Christian Dywan to clean up selection data setting.
2867
2868 2008-06-26  Richard Hult  <richard@imendio.com>
2869
2870         * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
2871         deprecated function gtk_widget_ref, replace with g_object_ref.
2872
2873 2008-06-26  Michael Natterer  <mitch@imendio.com>
2874
2875         * gtk/gtkfilesystem.c: #include "config.h"
2876
2877 2008-06-26  Carlos Garnacho  <carlos@imendio.com>
2878
2879         * gtk/gtkfilechooserdefault.c
2880         (gtk_file_chooser_default_get_current_folder): current_folder can be
2881         NULL here, do not try to reference it (Bug #540235)
2882         (gtk_file_chooser_default_get_files): Deal better with
2883         gtk_file_chooser_default_get_current_folder() being able to return
2884         NULL.
2885
2886 2008-06-26  Michael Natterer  <mitch@imendio.com>
2887
2888         * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
2889         allocate the GtkTextUtilCallbackInfo structs with GSlice.
2890
2891 2008-06-25  Michael Natterer  <mitch@imendio.com>
2892
2893         * gtk/gtktypeutils.h: there is no reason to include
2894         <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
2895         replacing the <glib-object.h> include. Also move the remaining few
2896         non-deprecated things to the top and move some deprecated things
2897         around to clean up the mess with too many deprecated sections even
2898         more.
2899
2900 2008-06-24  Michael Natterer  <mitch@imendio.com>
2901
2902         * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
2903         (also for GTK_COMPILATION). Move some deprecated typedefs around
2904         to reduce the mess with zillions of deprecated sections.
2905
2906         * gtk/gtkmain.c (do_post_parse_initialization): replace the call
2907         to gtk_type_init() by g_type_init() and gtk_object_get_type() even
2908         though the latter is probably completely pointless.
2909
2910 2008-06-24  Michael Natterer  <mitch@imendio.com>
2911
2912         * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
2913         the dialog's vbox was added (bug #539732).
2914
2915 2008-06-24  Carlos Garnacho  <carlos@imendio.com>
2916
2917         * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
2918         thought for handling non-direct children. Fixes #539732.
2919         (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
2920         doesn't provide enough control to API users (removing, reordering...),
2921         this is better handled through:
2922         (gtk_dialog_get_content_area): New function which just returns
2923         dialog->vbox.
2924         * gtk/gtk.symbols: Modify accordingly.
2925         * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
2926         using gtk_dialog_get_[action|content]_area() instead of accessing
2927         dialog struct members directly.
2928
2929 2008-06-24  Michael Natterer  <mitch@imendio.com>
2930
2931         * gtk/gtkassistant.h
2932         * gtk/gtkcellrenderer.h
2933         * gtk/gtkfilechooserentry.h
2934         * gtk/gtkprivate.h
2935         * gtk/gtktooltip.h
2936         * gtk/gtktreeview.h
2937         * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
2938         if there is any other widget included, they all have to include
2939         their respective parent classes (the is-a relation works for
2940         includes too).
2941
2942 2008-06-24  Michael Natterer  <mitch@imendio.com>
2943
2944         * gtk/gtktextutil.h: remove includes from this internal header.
2945
2946         * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
2947
2948 2008-06-23  Michael Natterer  <mitch@imendio.com>
2949
2950         * gtk/gtkinvisible.h: formatting.
2951
2952 2008-06-23  Michael Natterer  <mitch@imendio.com>
2953
2954         * gtk/gtkaction.h
2955         * gtk/gtkbuildable.h
2956         * gtk/gtkbuilderprivate.h
2957         * gtk/gtkcelllayout.h
2958         * gtk/gtkentrycompletion.h
2959         * gtk/gtkfilechoosersettings.h
2960         * gtk/gtkfilesystem.h
2961         * gtk/gtkfilesystemmodel.h
2962         * gtk/gtkicontheme.h
2963         * gtk/gtklinkbutton.h
2964         * gtk/gtkpagesetup.h
2965         * gtk/gtkpapersize.h
2966         * gtk/gtkprintcontext.h
2967         * gtk/gtkprintoperation.h
2968         * gtk/gtkprintoperationpreview.h
2969         * gtk/gtkprintsettings.h
2970         * gtk/gtkrecentchooserprivate.h
2971         * gtk/gtkrecentmanager.h
2972         * gtk/gtksearchengine.h
2973         * gtk/gtktexttag.h
2974         * gtk/gtktreeselection.h
2975         * gtk/gtktreeviewcolumn.h
2976         * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
2977         <glib-object.h>. There is no point in relying on them being pulled
2978         in by other headers in some places and placing them explicitly in
2979         other places, so choose the "as little includes as possible"
2980         approach and get rid of them.
2981
2982 2008-06-23  Kristian Rietveld  <kris@imendio.com>
2983
2984         * gdk/gdkenumtypes.h.template:
2985         * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
2986         * gtk/gtktypebuiltins.h.template:
2987         * perf/typebuiltins.h.template: do not hard code the prefix of the
2988         enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
2989
2990 2008-06-23  Michael Natterer  <mitch@imendio.com>
2991
2992         * gtk/gtkmountoperation.h
2993         * gtk/gtktestutils.h
2994         * gtk/gtkshow.[ch]: remove as many includes as possible from these
2995         new files. They can't be included individually, so nothing can break.
2996
2997 2008-06-22  Michael Natterer  <mitch@imendio.com>
2998
2999         * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
3000         registering the "modifier-mask" property.
3001
3002 2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
3003
3004     * *.[ch]: Include "config.h" instead of <config.h>
3005         Command used:
3006         find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
3007         Rubberstamped by Mitch and Tim
3008
3009 2008-06-21  Carlos Garnacho  <carlos@imendio.com>
3010
3011         Bug 539466 – GtkMenuShell API/ABI break in trunk.
3012
3013         * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
3014         different name and packing width.
3015
3016 2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
3017
3018         * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
3019         a compiler warning.
3020
3021 2008-06-21  Michael Natterer  <mitch@imendio.com>
3022
3023         * gdk/gdkapplaunchcontext.h: remove redundant include, fix
3024         indentation, replace header by a GDK copyright header (don't say
3025         "The Gnome Library"), remove trailing whitespace.
3026
3027 2008-06-21  Hans Breuer  <hans@breuer.org>
3028
3029         * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible 
3030         types - from 'struct _cairo *' to 'struct _cairo_surface *' by
3031         passing the surface to cairo_surface_show_page(), not the context
3032         * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018: 
3033         '<' : signed/unsigned mismatch by using guint for the loop
3034
3035         * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is 
3036         an uint, gtk_menu_get_active() returns the widget pointer. Convert
3037         the latter to the former by calculating the index in menu::children
3038         Also fix some occurences of g_return_if_fail() where 
3039         g_return_val_if_fail() was meant
3040
3041 2008-06-21  Björn Lindqvist  <bjourne@gmail.com>
3042
3043         Bug 539363 – Segfault when creating GtkPlugs
3044
3045         * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
3046         property names. "socket window" => "socket-window"
3047
3048 2008-06-20  Jody Goldberg <jody@gnome.org>
3049
3050         * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) : 
3051           Fix life cycle to avoid crash. [#536966]
3052
3053 2008-06-20  Hans Breuer  <hans@breuer.org>
3054
3055         * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
3056         a value of the appropriate type with g_return_val_if_fail
3057         
3058         * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
3059
3060         * gtk/gtkfilesystem.c : don't add the "File System" on win32
3061
3062         * tests/makefile.msc : remove broken autotestfile(system|chooser) 
3063         from build
3064
3065 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
3066
3067         * gtk/gtkbutton.c: Document a style property
3068
3069         * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
3070
3071         * gtk/gtkbutton.c:
3072         * gtk/gtkcolorsel.c:
3073         * gtk/gtkentry.c:
3074         * gtk/gtkitemfactory.c:
3075         * gtk/gtknotebook.c:
3076         Fix up deprecated markup syntax. Add version numbers and
3077         a message on the remaning ones.
3078
3079 2008-06-20  Mikael Hallendal  <micke@imendio.com>
3080
3081         * tests/testthreads.c: Use g_signal_connect instead of
3082         gtk_signal_connect.
3083
3084         * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
3085         While the code is not built, people may still look at it.
3086
3087 2008-06-20  Kjartan Maraas  <kmaraas@gnome.org>
3088
3089         reviewed by: <Carlos Garnacho <garnacho@gnome.org>
3090
3091         * gtk/gtkbuilder.h:
3092         * gtk/gtkliststore.h:
3093         * gtk/gtkobject.h:
3094         * gtk/gtktextchild.h:
3095         * gtk/gtktreemodelfilter.h:
3096         * gtk/gtktreemodelsort.h:
3097         * gtk/gtktreestore.h:
3098         #include <gdkconfig.h> not <gdk/gdkconfig.h>
3099
3100 2008-06-20  Martyn Russell  <martyn@imendio.com>
3101
3102         * gtk/gtkaccelgroup.c: Fix warnings from calling
3103         g_object_notify() on a GtkAccelGroup without casting to a
3104         GObject.
3105
3106 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
3107
3108         * gtk/gtkcolorsel.c: Modernize and order things as most
3109         other objects. Defines at the top, class init before init
3110         before gobject methods before object method before widget
3111         methods. No changes to the logic done.
3112
3113 2008-06-20  Martyn Russell  <martyn@imendio.com>
3114
3115         * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
3116         properties that don't exist. Also, make sure we notify for
3117         the "is-locked" property.
3118
3119 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
3120
3121         * gtk/gtklayout.c (enum): Remove left-over unused property enum.
3122
3123 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
3124
3125         * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
3126
3127         * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
3128
3129         * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
3130         allocation to avoid compiler warnings
3131
3132 2008-06-20  Michael Natterer  <mitch@imendio.com>
3133
3134         * gtk/gtkaccellabel.h
3135         * gtk/gtkactiongroup.h
3136         * gtk/gtkalignment.h
3137         * gtk/gtkarrow.h
3138         * gtk/gtkaspectframe.h
3139         * gtk/gtkbin.h
3140         * gtk/gtkhandlebox.h
3141         * gtk/gtkprogressbar.h
3142         * gtk/gtkrange.h
3143         * gtk/gtkscale.h
3144         * gtk/gtkscalebutton.h
3145         * gtk/gtkselection.h: fix some formatting and spacing uglyness
3146         that got merged from the GSEAL branch.
3147
3148 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
3149
3150         * gtk/gtk.symbols:
3151         * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
3152         * gtk/gtkmessagedialog.h:
3153         Add missing accessor for sealed field GtkMessageDialog->image.
3154
3155 2008-06-20  Michael Natterer  <mitch@imendio.com>
3156
3157         * gtk/gtkprinter.h: the GSEAL branch added two includes for no
3158         reason.
3159
3160 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
3161
3162         * gtk/gtkaccelgroup.c:
3163         * gtk/gtkcolorseldialog.c:
3164         * gtk/gtkcontainer.c:
3165         * gtk/gtkdialog.c:
3166         * gtk/gtkentry.c (gtk_entry_class_init):
3167         * gtk/gtkfontsel.c:
3168         * gtk/gtkhandlebox.c:
3169         * gtk/gtklayout.c:
3170         * gtk/gtkmenu.c (gtk_menu_class_init):
3171         * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
3172         * gtk/gtkplug.c (gtk_plug_class_init):
3173         * gtk/gtkselection.c:
3174         * gtk/gtksocket.c:
3175         * gtk/gtktreeselection.c:
3176         * gtk/gtkwidget.c (gtk_widget_class_init):
3177         * gtk/gtkwindow.c:
3178         Add missing Since: gtk-doc markup for newly added GSEAL API.
3179         Change all Since: GSEAL-branch to Since: 2.14.
3180
3181 2008-06-20  Michael Natterer  <mitch@imendio.com>
3182
3183         * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
3184         the code merged from the GSEAL branch.
3185
3186 2008-06-20  Michael Natterer  <mitch@imendio.com>
3187
3188         * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
3189         value from GtkHButtonBox to GtkWidget.
3190
3191 2008-06-20  Michael Natterer  <mitch@imendio.com>
3192
3193         * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
3194         of sealed fields.
3195
3196 2008-06-20  Michael Natterer  <mitch@imendio.com>
3197
3198         * gtk/gtkwindow.[ch]
3199         * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
3200         gtk_window_group_list_windows().
3201
3202 2008-06-20 12:35:20 +0200 Tim Janik
3203
3204         * Fixed wrongly resolved merge conflicts.
3205
3206 2008-06-19 19:01:41 +0200 Carlos Garnacho
3207
3208         Add gtk_window_group_get_windows().
3209
3210         * gtk/gtk.symbols:
3211         * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
3212
3213 2008-06-19 18:39:47 +0200 Carlos Garnacho
3214
3215         Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
3216
3217         * gtk/gtkdialog.c: Add missing documentation for new fucntions.
3218
3219 2008-06-19 18:38:35 +0200 Carlos Garnacho
3220
3221         Document gtk_container_get_focus_child().
3222
3223         * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
3224
3225 2008-06-19 13:50:06 +0200 Christian Dywan
3226
3227         Add gtk_plug_get_socket_window
3228
3229 2008-06-19 13:11:52 +0200 Christian Dywan
3230
3231         Remove superflous gtkselection accessors and merge _get_data
3232
3233 2008-06-13 15:56:51 +0200 Christian Dywan
3234
3235         Implement gtk_selection_get_display, style fixes
3236
3237 2008-06-13 15:45:00 +0200 Christian Dywan
3238
3239         Fix indentation of a comment.
3240
3241 2008-06-13 15:10:08 +0200 Christian Dywan
3242
3243         Change docs and signature of gtk_widget_get_allocation
3244
3245 2008-06-13 14:22:17 +0200 Christian Dywan
3246
3247         Remove unneeded GtkColorSelectionDialog accessors
3248
3249 2008-06-13 12:57:54 +0200 Christian Dywan
3250
3251         Fix documentaion of gtk_menu_item_get_accel_path
3252
3253 2008-06-11 13:49:34 +0200 Christian Dywan
3254
3255         Fix gtk_widget_get_allocation
3256
3257 2008-06-07 15:37:18 +0200 Carlos Garnacho
3258
3259         Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
3260
3261         * gtk/gtkbox.h:
3262         * gtk/gtkbutton.h:
3263         * gtk/gtkcellrenderer.h:
3264         * gtk/gtkcellrenderertext.h:
3265         * gtk/gtkcheckmenuitem.h:
3266         * gtk/gtkcontainer.h:
3267         * gtk/gtkentry.h:
3268         * gtk/gtkhandlebox.h:
3269         * gtk/gtkimcontextsimple.h:
3270         * gtk/gtklabel.h:
3271         * gtk/gtkliststore.h:
3272         * gtk/gtkmenu.h:
3273         * gtk/gtkmenuitem.h:
3274         * gtk/gtkmenushell.h:
3275         * gtk/gtknotebook.h:
3276         * gtk/gtkpaned.h:
3277         * gtk/gtkplug.h:
3278         * gtk/gtkprintjob.h:
3279         * gtk/gtkprogressbar.h:
3280         * gtk/gtkrange.h:
3281         * gtk/gtkscale.h:
3282         * gtk/gtkscrolledwindow.h:
3283         * gtk/gtksizegroup.h:
3284         * gtk/gtksocket.h:
3285         * gtk/gtkspinbutton.h:
3286         * gtk/gtkstatusbar.h:
3287         * gtk/gtktable.h:
3288         * gtk/gtktearoffmenuitem.h:
3289         * gtk/gtktextbuffer.h:
3290         * gtk/gtktextview.h:
3291         * gtk/gtktogglebutton.h:
3292         * gtk/gtktoolbar.h:
3293         * gtk/gtktreestore.h:
3294         * gtk/gtktreeviewcolumn.h:
3295         * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
3296
3297 2008-06-06 19:02:17 +0200 Christian Dywan
3298
3299         Seal GtkWidget
3300
3301 2008-06-06 17:58:21 +0200 Christian Dywan
3302
3303         Seal GtkSelectionData
3304
3305 2008-06-06 17:57:23 +0200 Christian Dywan
3306
3307         Fix GtkDialog, don't add vbox via gtk_container_add.
3308
3309 2008-06-06 13:39:34 +0200 Kristian Rietveld
3310
3311         Make GtkCellRenderer::editing read-only.  (Catched by Matthias)
3312
3313 2008-06-03 09:11:50 +0200 Kristian Rietveld
3314
3315         Seal GtkTextView.
3316
3317 2008-05-30 16:48:12 +0100 Martyn Russell
3318
3319         Seal GtkFontSelection & GtkFontSelectionDialog
3320
3321 2008-05-29 10:35:29 +0200 Kristian Rietveld
3322
3323         Seal GtkTearoffMenuItem.
3324
3325         (the torn_off field is for internal state keeping, you can retrieve
3326         the value from the parent menu's tearoff_state).
3327
3328 2008-05-27 18:34:12 +0200 Christian Dywan
3329
3330         Seal GtkObject
3331
3332 2008-05-27 18:17:44 +0200 Christian Dywan
3333
3334         Seal GtkRange
3335
3336 2008-05-27 15:10:02 +0200 Christian Dywan
3337
3338         Seal GtkPlug
3339
3340 2008-05-27 14:17:45 +0200 Christian Dywan
3341
3342         Seal GtkMenuItem
3343
3344 2008-05-27 14:04:31 +0200 Christian Dywan
3345
3346         Seal GtkMenuShell
3347
3348 2008-05-27 12:40:08 +0200 Christian Dywan
3349
3350         Seal GtkInputDialog
3351
3352 2008-05-27 12:39:49 +0200 Christian Dywan
3353
3354         Seal GtkIMMultiContext
3355
3356 2008-05-27 12:39:17 +0200 Christian Dywan
3357
3358         Seal GtkIMContextSimple
3359
3360 2008-05-27 12:14:53 +0200 Christian Dywan
3361
3362         Seal GtkImage
3363
3364 2008-05-27 11:14:21 +0200 Christian Dywan
3365
3366         Seal GtkSocket
3367
3368 2008-05-27 10:54:20 +0200 Christian Dywan
3369
3370         Fix the build by including gdkconfig.h in gtkprinter.h.
3371
3372 2008-05-27 10:38:02 +0200 Christian Dywan
3373
3374         Seal GtkGammaCurve
3375
3376 2008-05-27 10:20:56 +0200 Christian Dywan
3377
3378         Seal GtkHandleBox
3379
3380 2008-05-26 17:58:19 +0200 Kristian Rietveld
3381
3382         Seal GtkInvisible.
3383
3384 2008-05-26 17:54:56 +0200 Kristian Rietveld
3385
3386         Seal GtkPrintJob.
3387
3388 2008-05-26 17:48:23 +0200 Kristian Rietveld
3389
3390         Seal GtkTextBuffer.
3391
3392 2008-05-26 17:39:38 +0200 Kristian Rietveld
3393
3394         Seal GtkSpinButton.
3395
3396 2008-05-26 17:31:06 +0200 Kristian Rietveld
3397
3398         Seal GtkTable.
3399
3400 2008-05-26 17:27:22 +0200 Kristian Rietveld
3401
3402         Seal GtkRuler.
3403
3404 2008-05-26 17:07:43 +0200 Kristian Rietveld
3405
3406         Seal GtkStatusBar.
3407
3408 2008-05-26 17:07:37 +0200 Kristian Rietveld
3409
3410         Seal GtkTextMark.
3411
3412 2008-05-26 16:39:27 +0200 Kristian Rietveld
3413
3414         Seal GtkTextTagTable.
3415
3416 2008-05-26 16:34:13 +0200 Kristian Rietveld
3417
3418         Seal GtkViewPort.
3419
3420 2008-05-26 17:08:19 +0200 Christian Dywan
3421
3422         Seal GtkSettings.h
3423
3424 2008-05-26 16:40:05 +0200 Christian Dywan
3425
3426         Seal GtkMenu
3427
3428 2008-05-26 16:37:54 +0200 Christian Dywan
3429
3430         Seal GtkLayout
3431
3432 2008-05-26 14:09:32 +0200 Kristian Rietveld
3433
3434         Seal priv pointer in GtkToggleToolButton.
3435
3436 2008-05-26 14:04:51 +0200 Kristian Rietveld
3437
3438         Seal priv pointer in GtkUIManager.
3439
3440 2008-05-26 14:01:32 +0200 Kristian Rietveld
3441
3442         Seal priv pointer in GtkToolItem.
3443
3444 2008-05-26 14:01:12 +0200 Kristian Rietveld
3445
3446         Seal priv pointer in GtkToolButton.
3447
3448 2008-05-26 14:00:24 +0200 Kristian Rietveld
3449
3450         Seal priv pointer in GtkToggleAction.
3451
3452 2008-05-26 13:58:01 +0200 Kristian Rietveld
3453
3454         Seal priv pointer in GtkStatusIcon.
3455
3456 2008-05-26 13:57:33 +0200 Kristian Rietveld
3457
3458         Seal priv pointer in GtkSeparatorToolItem.
3459
3460 2008-05-26 13:56:33 +0200 Kristian Rietveld
3461
3462         Seal priv pointer in GtkScaleButton.
3463
3464 2008-05-26 13:55:57 +0200 Kristian Rietveld
3465
3466         Seal priv pointer in GtkRecentManager.
3467
3468 2008-05-26 13:55:25 +0200 Kristian Rietveld
3469
3470         Seal priv pointer in GtkRecentChooserWidget.
3471
3472 2008-05-26 13:54:39 +0200 Kristian Rietveld
3473
3474         Seal priv pointer in GtkRecentChooserMenu.
3475
3476 2008-05-26 13:54:15 +0200 Kristian Rietveld
3477
3478         Seal priv pointer in GtkRecentChooserDialog.
3479
3480 2008-05-26 13:52:40 +0200 Kristian Rietveld
3481
3482         Seal priv pointer in GtkRecentAction.
3483
3484 2008-05-26 13:51:47 +0200 Kristian Rietveld
3485
3486         Seal priv pointer in GtkRadioAction.
3487
3488 2008-05-26 13:50:49 +0200 Kristian Rietveld
3489
3490         Seal priv pointer in GtkPrintUnixDialog.
3491
3492 2008-05-26 13:50:08 +0200 Kristian Rietveld
3493
3494         Seal priv pointer in GtkPrintOperation.
3495
3496 2008-05-26 13:49:41 +0200 Kristian Rietveld
3497
3498         Seal priv pointer in GtkPrinter.
3499
3500 2008-05-26 13:48:49 +0200 Kristian Rietveld
3501
3502         Seal priv pointer in  GtkPageSetupUnixDialog.
3503
3504 2008-05-26 13:47:39 +0200 Kristian Rietveld
3505
3506         Seal priv pointer in GtkMenuToolButton.
3507
3508 2008-05-26 13:47:29 +0200 Kristian Rietveld
3509
3510         Add gdkconfig.h include to GtkBuilder for GSEAL macro.
3511
3512 2008-05-26 13:23:45 +0200 Kristian Rietveld
3513
3514         Seal priv pointer in GtkLinkButton.
3515
3516 2008-05-26 13:22:25 +0200 Kristian Rietveld
3517
3518         Seal priv pointer in GtkIconView.
3519
3520 2008-05-26 13:22:04 +0200 Kristian Rietveld
3521
3522         Seal priv pointer in GtkIconTheme.
3523
3524 2008-05-26 13:13:49 +0200 Kristian Rietveld
3525
3526         Seal child_allocation field in GtkFrame.
3527
3528 2008-05-26 13:10:17 +0200 Kristian Rietveld
3529
3530         Sealed priv pointer in GtkFontButton.
3531
3532 2008-05-26 13:07:14 +0200 Kristian Rietveld
3533
3534         Seal priv pointer in GtkFileChooserButton.
3535
3536 2008-05-26 13:06:43 +0200 Kristian Rietveld
3537
3538         Seal priv pointer in GtkExpander.
3539
3540 2008-05-26 13:03:24 +0200 Kristian Rietveld
3541
3542         Sealed remaining (private) fields in GtkContainer.
3543
3544 2008-05-26 13:02:26 +0200 Kristian Rietveld
3545
3546         Seal priv pointer in GtkComboBoxEntry.
3547
3548 2008-05-26 13:01:40 +0200 Kristian Rietveld
3549
3550         Seal priv pointer in GtkComboBox.
3551
3552 2008-05-26 13:00:59 +0200 Kristian Rietveld
3553
3554         Seal private_data pointer in GtkColorSel.
3555
3556 2008-05-26 12:57:50 +0200 Kristian Rietveld
3557
3558         Seal 3 remaining fields in GtkButton.
3559
3560 2008-05-26 12:55:24 +0200 Kristian Rietveld
3561
3562         Seal priv pointer in GtkBuilder.
3563
3564 2008-05-26 12:52:44 +0200 Kristian Rietveld
3565
3566         Seal center_allocation field in GtkAspectFrame.
3567
3568 2008-05-26 12:48:18 +0200 Kristian Rietveld
3569
3570         Seal priv pointer in GtkAction.
3571
3572 2008-05-26 12:46:11 +0200 Kristian Rietveld
3573
3574         Seal priv pointer in GtkAboutDialog.
3575
3576 2008-05-26 12:41:46 +0200 Kristian Rietveld
3577
3578         Seal GtkSizeGroup.
3579
3580 2008-05-26 12:39:54 +0200 Kristian Rietveld
3581
3582         Seal GtkPaned.
3583
3584 2008-05-26 11:59:35 +0200 Kristian Rietveld
3585
3586         Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
3587
3588 2008-05-26 11:52:20 +0200 Kristian Rietveld
3589
3590         Add new GtkColorSelectionDialog accessors to gtk.symbols.
3591
3592 2008-05-26 11:41:47 +0200 Kristian Rietveld
3593
3594         gtklabel.h: include bit-size of fields inside GSEAL parens.
3595
3596 2008-05-26 11:40:07 +0200 Kristian Rietveld
3597
3598         gtktoolbar.h: include bit-size of fields inside GSEAL parens.
3599
3600 2008-05-26 11:39:35 +0200 Kristian Rietveld
3601
3602         gtkentry.h: include bit-size of fields inside GSEAL parens.
3603
3604 2008-05-26 11:34:14 +0200 Kristian Rietveld
3605
3606         Add new accessors for GtkEntry to gtk.symbols.
3607
3608 2008-05-26 11:23:56 +0200 Kristian Rietveld
3609
3610         Also seal GtkWindowGroup in gtkwindow.h
3611
3612 2008-05-26 10:48:48 +0200 Kristian Rietveld
3613
3614         Fix the build by including gdkconfig.h in gtktextchild.h.
3615
3616 2008-05-23 18:48:56 +0200 Christian Dywan
3617
3618         Seal GtkLabel
3619
3620 2008-05-23 18:28:39 +0200 Christian Dywan
3621
3622         Seal GtkToolbar
3623
3624 2008-05-23 18:28:07 +0200 Christian Dywan
3625
3626         Seal GtkColorSelectionDialog
3627
3628 2008-05-23 18:03:44 +0200 Carlos Garnacho
3629
3630         Seal GtkTextChildAnchor.
3631
3632         * gtk/gtktextchild.h: Sealed private member.
3633
3634 2008-05-23 17:42:01 +0200 Carlos Garnacho
3635
3636         Seal GtkWindow.
3637
3638         * gtk/gtkwindow.h: Seal all fields.
3639
3640 2008-05-23 17:40:09 +0200 Carlos Garnacho
3641
3642         Add gtk_window_get_default()
3643
3644         * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
3645         * gtk/gtk.symbols: same here.
3646
3647 2008-05-09 15:41:57 +0100 Martyn Russell
3648
3649         Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
3650
3651 2008-05-02 16:31:40 +0200 Martyn Russell
3652
3653         Seal GtkEntry
3654
3655 2008-05-02 16:30:09 +0200 Martyn Russell
3656
3657         Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
3658
3659 2008-04-27 18:49:50 +0200 Kristian Rietveld
3660
3661         Seal GtkToggleButton.
3662
3663         * gtk/gtktogglebutton.h: Seal all member fields.
3664
3665 2008-04-27 18:41:46 +0200 Kristian Rietveld
3666
3667         Seal GtkTreeViewColumn.
3668
3669         * gtk/gtktreeviewcolumn.h: Seal all public member fields.  The button field is
3670         still troublesome.  We are probably going to need an accessor for this and
3671         deprecated it immediately in GTK+ 3.0.  Accessors for requested_width and
3672         resized_width can be useful, but I really consider them to be private and
3673         of not much use to applications.
3674
3675 2008-04-27 18:23:23 +0200 Kristian Rietveld
3676
3677         Seal GtkRadioMenuItem.
3678
3679         * gtk/gtkradiomenuitem.h: Seal member field.
3680
3681 2008-04-27 18:21:29 +0200 Kristian Rietveld
3682
3683         Seal GtkRadioButton.
3684
3685         * gtk/gtkradiobutton.h: seal member field.
3686
3687 2008-04-27 18:11:41 +0200 Kristian Rietveld
3688
3689         Seal GtkTreeSelection.
3690
3691         * gtk/gtktreeselection.h: Seal all member fields.
3692
3693 2008-04-27 18:09:46 +0200 Kristian Rietveld
3694
3695         Add gtk_tree_selection_get_select_function().
3696
3697         * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
3698         function.
3699         * gtk/gtk.symbols: add new function.
3700
3701 2008-04-27 16:05:02 +0200 Kristian Rietveld
3702
3703         Seal GtkScrolledWindow.
3704
3705         * gtk/gtkscrolledwindow.h: Seal all object member fields.
3706
3707 2008-04-27 15:56:33 +0200 Kristian Rietveld
3708
3709         Seal GtkCellRenderer.
3710
3711         * gtk/gtkcellrenderer.h: seal all member fields.  All member fields are
3712         already accessible via GObject properties.
3713
3714 2008-04-27 15:56:01 +0200 Kristian Rietveld
3715
3716         Add "editing" GObject property to GtkCellRenderer.
3717
3718         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
3719         (gtk_cell_renderer_get_property),
3720         (gtk_cell_renderer_set_property): add the property and hook
3721         it up.
3722
3723 2008-04-27 15:42:08 +0200 Kristian Rietveld
3724
3725         Seal GtkCellRendererText.
3726
3727         * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
3728         marked as private).
3729
3730 2008-04-27 15:40:47 +0200 Kristian Rietveld
3731
3732         Seal GtkCellRendererCombo.
3733
3734         * gtk/gtkcellrenderercombo.h: seal all member fields.  The members fields
3735         that were not marked as private are already accessible via GObject properties.
3736
3737 2008-04-27 15:39:41 +0200 Kristian Rietveld
3738
3739         Seal GtkCellRendererAccel.
3740
3741         * gtk/gtkcellrendereraccel.h: seal all member fields that were already
3742         marked as private.
3743
3744 2008-04-18 16:55:44 +0200 Kristian Rietveld
3745
3746         Seal GtkTreeView
3747
3748         * gtk/gtktreeview.h: seal private pointer.
3749
3750 2008-04-18 16:52:54 +0200 Kristian Rietveld
3751
3752         Seal GtkTreeModelFilter
3753
3754         * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
3755         pointer.
3756
3757 2008-04-18 16:50:55 +0200 Kristian Rietveld
3758
3759         Seal GtkTreeModelSort
3760
3761         * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
3762         all public member fields.
3763
3764 2008-04-18 16:42:28 +0200 Kristian Rietveld
3765
3766         Seal GtkTreeStore
3767
3768         * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
3769         public member fields.
3770
3771 2008-04-18 16:37:43 +0200 Kristian Rietveld
3772
3773         Seal GtkListStore
3774
3775         * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
3776         public member fields.
3777
3778 2008-04-18 18:26:31 +0200 Carlos Garnacho
3779
3780         * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
3781
3782 2008-04-18 18:25:22 +0200 Carlos Garnacho
3783
3784         * gtk/gtkcontainer.h: seal members.
3785
3786 2008-04-11 17:28:54 +0200 Carlos Garnacho
3787
3788         * gtk/gtkmisc.h: seal members.
3789
3790 2008-04-11 17:28:05 +0200 Carlos Garnacho
3791
3792         *gtk/gtkfixed.h: seal members.
3793
3794 2008-04-11 16:04:23 +0200 Michael Natterer
3795
3796         * gtk/gtkcellrendererpixbuf.h: seal all members.
3797
3798 2008-04-11 16:01:19 +0200 Michael Natterer
3799
3800         * gtk/gtkcellrendererprogress.h: seal private member.
3801
3802 2008-04-11 15:43:22 +0200 Michael Natterer
3803
3804         * gtk/gtkcellrenderertoggle.h: seal all members.
3805
3806 2008-04-04 18:50:05 +0200 Carlos Garnacho
3807
3808         * gtk/gtkfilechooserwidget.h: Seal the private member.
3809
3810 2008-04-04 18:46:47 +0200 Carlos Garnacho
3811
3812         gtk/gtkfilechooserdialog.h: seal the private member.
3813
3814 2008-04-04 18:42:17 +0200 Carlos Garnacho
3815
3816         * gtk/gtkentrycompletion.h: Seal private member.
3817
3818 2008-04-04 18:36:35 +0200 Carlos Garnacho
3819
3820         * gtk/gtkcellview.h: Seal the private member.
3821
3822 2008-04-04 18:28:00 +0200 Carlos Garnacho
3823
3824         * gtk/gtkcolorbutton.h: seal private member.
3825
3826 2008-04-04 18:27:26 +0200 Carlos Garnacho
3827
3828         * gtk/gtkcheckmenuitem.h: seal public struct members.
3829
3830 2008-04-04 18:25:25 +0200 Carlos Garnacho
3831
3832         * gtk/gtkcalendar.h: seal public struct members.
3833
3834 2008-04-04 18:24:15 +0200 Carlos Garnacho
3835
3836         * gtk/gtkdialog.h: Also seal variables marked as private.
3837
3838 2008-04-04 17:35:48 +0200 Michael Natterer
3839
3840         * gtk/gtkimagemenuitem.h: seal private member.
3841
3842 2008-04-04 17:28:56 +0200 Michael Natterer
3843
3844         * gtk/gtkiconfactory.h: seal private member.
3845
3846 2008-03-28 16:56:53 +0000 Martyn Russell
3847
3848         Seal GtkActionGroup
3849
3850         * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
3851           member and clean up .c file to reflect this.
3852
3853 2008-03-28 15:00:09 +0100 Sven Herzberg
3854
3855         Seal GtkAccelLabel
3856
3857         gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
3858
3859 2008-03-28 16:38:00 +0100 Michael Natterer
3860
3861         * gtk/gtkdrawingarea.h: seal instance struct member.
3862
3863 2008-03-28 16:23:32 +0100 Christian Dywan
3864
3865         Seal GtkScaleButton public fields
3866
3867         * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
3868
3869 2008-03-28 16:07:50 +0100 Christian Dywan
3870
3871         Seal GtkScale public fields
3872
3873         * gtk/gtkscale.h: Deprecate direct access through GSEAL().
3874
3875 2008-03-14 20:45:34 +0100 Christian Dywan
3876
3877         Seal GtkProgressBar public fields
3878
3879
3880 2008-03-14 20:32:12 +0100 Christian Dywan
3881
3882         Seal GtkFrame public vars
3883
3884 2008-03-14 18:57:35 +0100 Carlos Garnacho
3885
3886         Deprecate direct access to public variables in GtkButton.
3887
3888         * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
3889
3890 2008-03-14 18:56:23 +0100 Carlos Garnacho
3891
3892         Deprecate direct access to public variables in GtkButtonBox.
3893
3894         * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
3895
3896 2008-03-14 18:54:35 +0100 Carlos Garnacho
3897
3898         Deprecate direct access to public variables in GtkBox.
3899
3900         * gtk/gtkbox.h: Deprecate direct access through GSEAL().
3901
3902 2008-03-09 11:50:41 +0100 Carlos Garnacho
3903
3904         Seal GtkMessageDialog public vars
3905
3906 2008-03-09 11:38:00 +0100 Carlos Garnacho
3907
3908         Seal GtkDialog public vars
3909
3910 2008-03-09 11:32:05 +0100 Carlos Garnacho
3911
3912         Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
3913
3914 2008-03-09 11:31:46 +0100 Carlos Garnacho
3915
3916         Seal GtkAssistant public fields
3917
3918 2008-03-09 11:31:30 +0100 Carlos Garnacho
3919
3920         Seal GtkNotebook public fields
3921
3922 2008-03-07 20:29:47 +0100 Mikael Hallendal
3923
3924         Deprecate direct access to child in GtkBin.
3925
3926         * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
3927
3928 2008-03-07 18:25:59 +0000 Martyn Russell
3929
3930         Sealed GtkAccelGroup and added
3931
3932         * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
3933           modifier_mask, acceleratables, n_accels and priv_accels. Added seal
3934           macro for public struct members which should be private.
3935
3936 2008-03-07 18:54:22 +0100 Mikael Hallendal
3937
3938         Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
3939
3940         * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
3941
3942 2008-03-07 18:48:29 +0100 Mikael Hallendal
3943
3944         Deprecate arrow_type and shadow_type direct access in GtkArrow.
3945
3946         * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
3947
3948 2008-03-07 18:35:12 +0100 Mikael Hallendal
3949
3950         Added GSEAL to GtkAlignment.
3951
3952         * gtk/gtkalignment.h: Seal the object data with GSEAL.
3953
3954 2008-03-07 15:24:27 +0100 Tim Janik
3955
3956         Introduce GSEAL() macro.
3957
3958         * configure.in: define GSEAL() when generating gdkconfig.h
3959
3960 2008-06-20  Michael Natterer  <mitch@imendio.com>
3961
3962         Bug 538395 – gtk_combo_box_append_text() on non-compliant model
3963         segfaults
3964
3965         * gtk/gtkcombobox.c (gtk_combo_box_append_text)
3966         (gtk_combo_box_insert_text)
3967         (gtk_combo_box_prepend_text)
3968         (gtk_combo_box_remove_text)
3969         (gtk_combo_box_real_get_active_text): apply patch from Christian
3970         Dywan which adds the needed g_return_if_fail() to prevent the
3971         crashes.
3972
3973 2008-06-20  Cody Russell  <cody@jhu.edu>
3974
3975         * gdk/directfb/gdkwindow-directfb.c:
3976
3977         Rename gdk_window_new -> _gdk_window_new and
3978         gdk_window_reparent -> _gdk_window_reparent to fix
3979         the build.  (#539095, Sebastien Bacher)
3980
3981 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
3982
3983         * gtk/gtkmenuitem.c: remove an unused variable and cast
3984         accel_path to gchar, just like in gtkmenu.c
3985
3986 2008-06-19  Matthias Clasen  <mclasen@redhat.com>
3987
3988         * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
3989         for this.
3990
3991 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
3992
3993         * gtk/gtkprintbackend.c: Fix a typo in a comment
3994
3995         * gtk/gtkhsv.c (paint_ring, paint_triangle):
3996         Cast buf to unsigned char to avoid two compiler
3997         warnings.
3998
3999         * gtk/gtkclist.c:
4000         * gtk/gtkstyle.c (gtk_style_finalize):
4001         Do not ignore the return value of g_slist_remove.
4002         gtkstyle.c changes rubberstamped by Owen.
4003
4004 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
4005
4006         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
4007         (gtk_tree_view_set_enable_tree_lines):
4008         gdk_gc_set_dashes expects a list of gint8, not guint8.
4009
4010 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
4011
4012         * gtk/gtkmenu.c (gtk_menu_set_accel_path):
4013         Remove an unused variable and cast to gchar to avoid a compiler
4014         warning.
4015
4016 2008-06-19  Christian Persch  <chpe@gnome.org>
4017
4018         * docs/reference/gtk/gtk-sections.txt:
4019         * gtk/gtk.symbols:
4020         * gtk/gtkclipboard.c:
4021         * gtk/gtkclipboard.h: Add clipboard convenience functions  for URI 
4022         targets. Bug #537639.
4023
4024 2008-06-19  Christian Persch  <chpe@gnome.org>
4025
4026         * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
4027         hardcoded target tables. Bug #516092.
4028
4029 2008-06-19  Christian Persch  <chpe@gnome.org>
4030
4031         * gdk-pixbuf/gdk-pixbuf-io.c:
4032         * gdk-pixbuf/gdk-pixdata.c:
4033         * gdk-pixbuf/io-ani.c:
4034         * gdk-pixbuf/io-bmp.c:
4035         * gdk-pixbuf/io-gdip-utils.c:
4036         * gdk-pixbuf/io-gif.c:
4037         * gdk-pixbuf/io-icns.c:
4038         * gdk-pixbuf/io-ico.c:
4039         * gdk-pixbuf/io-jasper.c:
4040         * gdk-pixbuf/io-jpeg.c:
4041         * gdk-pixbuf/io-pcx.c:
4042         * gdk-pixbuf/io-png.c:
4043         * gdk-pixbuf/io-pnm.c:
4044         * gdk-pixbuf/io-ras.c:
4045         * gdk-pixbuf/io-tga.c:
4046         * gdk-pixbuf/io-tiff.c:
4047         * gdk-pixbuf/io-wbmp.c:
4048         * gdk-pixbuf/io-xbm.c:
4049         * gdk-pixbuf/io-xpm.c:
4050         * gtk/gtkfilechooserdefault.c:
4051         * gtk/gtkfilesystemmodel.c:
4052         * gtk/gtkiconfactory.c:
4053         * gtk/gtkicontheme.c:
4054         * gtk/gtkmain.c:
4055         * gtk/gtkpagesetup.c:
4056         * gtk/gtkpapersize.c:
4057         * gtk/gtkprintoperation-win32.c:
4058         * gtk/gtktextbufferserialize.c:
4059         * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
4060
4061         * configure.in: Update glib requirement to 2.17.3.
4062
4063 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
4064
4065         * demos/testpixbuf.c (new_testrgb_window):
4066         * gtk/gtkctree.c (gtk_ctree_new_with_titles):
4067         * gtk/gtkitemfactory.c (gtk_item_factory_construct),
4068         (gtk_item_factory_create_item):
4069         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
4070         * gtk/gtkprogressbar.c (gtk_progress_bar_new),
4071         (gtk_progress_bar_new_with_adjustment):
4072         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
4073         * gtk/gtktext.c (gtk_text_new):
4074         * gtk/gtkviewport.c (gtk_viewport_new):
4075         * tests/simple.c (main):
4076         * tests/testgtk.c (create_statusbar), (create_get_image),
4077         (create_saved_position), (create_tooltips), (create_cursors),
4078         (create_display_screen), (create_progress_bar), (create_idle_test):
4079         * tests/testmultidisplay.c (make_selection_dialog), (main):
4080         * tests/testmultiscreen.c (main):
4081         * tests/testrgb.c (new_testrgb_window):
4082         Use g_object_new instead of gtk_widget_new
4083
4084 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
4085
4086         * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
4087
4088         * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
4089         an unused variable.
4090
4091         * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
4092         to avoid a gcc warning.
4093
4094 2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>
4095
4096         http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
4097         the filename in the name entry in CREATE_FOLDER mode when changing
4098         folders, so that you can enter a new subfolder name, double-click on a
4099         folder to change to it, and close the dialog.
4100
4101         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
4102         the filename in the entry in CREATE_FOLDER mode, either.
4103
4104 2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>
4105
4106         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
4107         chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
4108         it shouldn't.
4109
4110         * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
4111         clear the entry for CREATE_FOLDER either; this needs the same
4112         behavior as SAVE mode.
4113         (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
4114         modes.
4115
4116 2008-06-18  Matthias Clasen  <mclasen@redhat.com>
4117
4118         * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
4119         * gtk/gtkfilechooserbutton.c (change_icon_theme):
4120         (model_add_bookmarks):
4121         (model_update_current_folder):
4122         * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
4123         (shortcuts_reload_icons): Use standard icon names.
4124
4125 2008-06-18  Matthias Clasen  <mclasen@redhat.com>
4126
4127         * gtk/Makefile.am: Add some more aliases for standard
4128         icon names to the builtin icon theme: drive-harddisk,
4129         folder, folder-remote, text-x-generic.
4130
4131 2008-06-18  Michael Natterer  <mitch@imendio.com>
4132
4133         * gtk/gtkcalendar.c: set the maximum of the "year" property to
4134         G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
4135         calculations which in turn caused writing beyond the boundaries of
4136         the calendar->day_month[] and day[] arrays which in turn caused a
4137         SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
4138
4139 2008-06-18  Michael Natterer  <mitch@imendio.com>
4140
4141         * tests/Makefile.am
4142         * tests/autotestfilechooser.c
4143         * tests/buildertest.c
4144         * tests/defaultvaluetest.c
4145         * tests/floatingtest.c
4146         * tests/objecttests.c
4147         * tests/pixbuf-init.c
4148         * tests/textbuffertest.c: remove unit tests here...
4149
4150         * gtk/tests/Makefile.am
4151         * gtk/tests/builder.c
4152         * gtk/tests/defaultvalue.c
4153         * gtk/tests/filechooser.c
4154         * gtk/tests/floating.c
4155         * gtk/tests/object.c
4156         * gtk/tests/pixbuf-init.c
4157         * gtk/tests/textbuffer.c: ...and add them here.
4158
4159 2008-06-18  Michael Natterer  <mitch@imendio.com>
4160
4161         * gdk/gdk.h: deprecate GdkDestroyNotify.
4162
4163         * gdk/gdkevents.c
4164         * gdk/gdktypes.h
4165         * gdk/x11/gdkevents-x11.c
4166         * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
4167
4168 2008-06-18  Michael Natterer  <mitch@imendio.com>
4169
4170         * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
4171
4172         * gtk/gtkactiongroup.[ch]
4173         * gtk/gtkcombobox.[ch]
4174         * gtk/gtkcontainer.[ch]
4175         * gtk/gtkliststore.[ch]
4176         * gtk/gtkmain.[ch]
4177         * gtk/gtkmenu.c
4178         * gtk/gtkstock.[ch]
4179         * gtk/gtktreedatalist.[ch]
4180         * gtk/gtktreemodelfilter.[ch]
4181         * gtk/gtktreemodelsort.[ch]
4182         * gtk/gtktreeprivate.h
4183         * gtk/gtktreeselection.[ch]
4184         * gtk/gtktreesortable.[ch]
4185         * gtk/gtktreestore.[ch]
4186         * gtk/gtktreeview.[ch]
4187         * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
4188
4189 2008-06-18  Michael Natterer  <mitch@imendio.com>
4190
4191         * tests/testgtk.c: some more undeprecation.
4192
4193 2008-06-18  Michael Natterer  <mitch@imendio.com>
4194
4195         * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
4196         GTK_SIGNAL_FUNC().
4197
4198         (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
4199
4200 2008-06-18  Michael Natterer  <mitch@imendio.com>
4201
4202         * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
4203
4204         * gtk/gtk.symbols: changed accordingly.
4205
4206         * gtk/gtksettings.c (gtk_settings_install_property)
4207         (gtk_settings_install_property_parser): get rid of using
4208         gtk_type_class() by keeping a static reference to GtkSettingsClass
4209         around in both functions and passing that pointer on to
4210         settings_install_property_parser().
4211
4212         * tests/testgtk.c: use g_type_class_ref()/unref() instead of
4213         gtk_type_class().
4214
4215         * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
4216         gtktypeutils.h.
4217
4218 2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
4219
4220         * gtk/gtkstyle.c: Add deprecated version
4221         and change the deprecation markup used by ref/unref 
4222
4223 2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
4224
4225         * gtk/gtkwidget.c: 
4226         Add deprecated versions and fixup markup.
4227
4228 2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
4229
4230         * gtk/gtkaboutdialog.c:
4231         * gtk/gtkbutton.c (gtk_button_class_init):
4232         Don't markup deprecated in italics.
4233
4234 2008-06-18  Carlos Garnacho  <carlos@imendio.com>
4235
4236         * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
4237         GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
4238
4239 2008-06-17  Michael Natterer  <mitch@imendio.com>
4240
4241         * examples/gtkdial/gtkdial.[ch]: undeprecate.
4242
4243 2008-06-17  Michael Natterer  <mitch@imendio.com>
4244
4245         * gtk/gtkobject.c: remove bogus extern declaration of non-existing
4246         function gtk_object_init_type().
4247
4248 2008-06-17  Michael Natterer  <mitch@imendio.com>
4249
4250         * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
4251         * gtk/gtktoolbutton.c (gtk_tool_button_get_type): 
4252         * examples/gtkdial/gtkdial.h (gtk_dial_get_type): 
4253         s/GtkType/GType/
4254
4255 2008-06-17  Tor Lillqvist  <tml@novell.com>
4256
4257         * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
4258         #undef/#define dance here, too, because
4259         gtk_notebook_set_group_id() is deprecated but used here before it
4260         is defined, and gcc complains about conflicting type from the
4261         implicit int declaration when it sees the actual void definition.
4262
4263         * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
4264         GtkType macros.
4265
4266 2008-06-17  Michael Natterer  <mitch@imendio.com>
4267
4268         * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
4269
4270         * gtk/gtkclist.c
4271         * gtk/gtkcombo.c
4272         * gtk/gtkctree.c
4273         * gtk/gtklist.c
4274         * gtk/gtklistitem.c
4275         * gtk/gtkoldeditable.c
4276         * gtk/gtkpixmap.c
4277         * gtk/gtktext.c
4278         * gtk/gtktipsquery.c
4279         * gtk/gtktree.c
4280         * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
4281         actually use deprecated symbols (not just types or macros),
4282         #define it again before #include "gtkalias.h" so the symbols match
4283         and the beast links.
4284
4285 2008-06-17  Paolo Borelli  <pborelli@katamail.com>
4286
4287         * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
4288
4289 2008-06-17  Michael Natterer  <mitch@imendio.com>
4290
4291         * modules/input/gtkimcontextmultipress.h
4292         * modules/input/gtkimcontextthai.h
4293         * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
4294         type checking macros.
4295
4296 2008-06-17  Michael Natterer  <mitch@imendio.com>
4297
4298         * gtk/gtktypeutils.h: really move the GtkType typedef to an
4299         undeprecated section.
4300
4301 2008-06-17  Michael Natterer  <mitch@imendio.com>
4302
4303         * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
4304         GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
4305         Move the GtkType typedef to an undeprecated section.
4306
4307 2008-06-17  Michael Natterer  <mitch@imendio.com>
4308
4309         * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
4310         of GTK_CHECK ones because it's the parent class of an undeprecated
4311         class and the GTK_CHECK stuff will soon be deprecated.
4312
4313 2008-06-17  Michael Natterer  <mitch@imendio.com>
4314
4315         * gtk/gtkfilesel.c
4316         * gtk/gtkinputdialog.c
4317         * gtk/gtkmenutoolbutton.c
4318         * gtk/gtkoptionmenu.c
4319         * gtk/gtktoolitem.c
4320         * gtk/gtktooltips.c: add or move around
4321         #undef GTK_DISABLE_DEPRECATED so it's possible to build without
4322         deprecated stuff again (with the minor glitch that it doesn't
4323         link ;) but at least it's a tool to keep the code clean).
4324
4325 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
4326
4327         * gtk/gtkrecentmanager.c:
4328         (gtk_recent_manager_remove_item): Fix dumb typo in the previous
4329         commit.
4330
4331 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
4332
4333         * gtk/gtkrecentmanager.c:
4334         (gtk_recent_manager_remove_item),
4335         (gtk_recent_manager_move_item): Increase the consistency of the
4336         errors returned by GtkRecentManager. (Paolo Borelli)
4337
4338 2008-06-17  Paolo Borelli  <pborelli@katamail.com>
4339
4340         * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
4341
4342 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
4343
4344         * gtk/gtkrecentmanager.c:
4345         (gtk_recent_manager_remove_item): Consistently use the same
4346         error when removing a URI from an empty GtkRecentManager.
4347
4348 2008-06-17  Michael Natterer  <mitch@imendio.com>
4349
4350         * gtk/gtkfilechooserdefault.c: remove static integer variables
4351         which hold the number of members in GtkTargetEntry arrays and use
4352         G_N_ELEMENTS() directly instead.
4353
4354 2008-06-17  Michael Natterer  <mitch@imendio.com>
4355
4356         * gtk/gtk.symbols: move some deprecated symbols into
4357         #ifndef GTK_DISABLE_DEPRECATED.
4358
4359 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
4360
4361         * gtk/gtkfilechooserdefault.c:
4362         (gtk_file_chooser_default_init),
4363         (gtk_file_chooser_default_constructor),
4364         (gtk_file_chooser_default_screen_changed),
4365         (recent_start_loading): Remove the GtkRecentManager screen
4366         dance, as it has been deprecated since 2.12. Now we get the
4367         GtkRecentManager singleton whewn we create the FileChooserDefault
4368         instance. (Michael Natterer)
4369
4370 2008-06-17  Michael Natterer  <mitch@imendio.com>
4371
4372         * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
4373         toplevel to GtkWindow when passing to gtk_window_set_type_hint().
4374
4375 2008-06-17  Michael Natterer  <mitch@imendio.com>
4376
4377         * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
4378         includes a bit.
4379
4380         * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
4381         in via deprecated headers.
4382
4383 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
4384
4385         Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
4386
4387         * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
4388         against XKB being stupid. Reported by Pedro Villavicencio.
4389
4390 2008-06-17  Michael Natterer  <mitch@imendio.com>
4391
4392         * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
4393         and unref() instead of the deprecated gtk_widget_ref() and unref().
4394
4395 2008-06-16  Michael Natterer  <mitch@imendio.com>
4396
4397         * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
4398         svn since 2.8 but was never used.
4399
4400 2008-06-16  Michael Natterer  <mitch@imendio.com>
4401
4402         * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
4403         gtk_binding_entry_clear() instead of gtk_binding_entry_add()
4404         (the former is deprecated and #defined to gtk_binding_entry_clear)
4405
4406 2008-06-16  Michael Natterer  <mitch@imendio.com>
4407
4408         * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
4409         unused) "gtkmarshal.h".
4410
4411 2008-06-16  Behdad Esfahbod  <behdad@gnome.org>
4412
4413         Bug 538182 – pango_cairo_context_update_layout is not noop after
4414         gtk_widget_create_pango_layout
4415
4416         * gtk/gtksettings.c (settings_update_font_options): Make sure all
4417         font option fields are set to non-DEFAULT values.
4418
4419 2008-06-16  Michael Natterer  <mitch@imendio.com>
4420
4421         * gtk/gtkfontsel.c
4422         * gtk/gtkrc.c
4423         * gtk/gtkstyle.c
4424         * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
4425         gtk_rc_style_unref().
4426
4427 2008-06-16  Michael Natterer  <mitch@imendio.com>
4428
4429         * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
4430         _gtk_marshal_BOOLEAN__VOID instead of the deprecated
4431         gtk_marshal_BOOLEAN__VOID.
4432
4433 2008-06-16  Michael Natterer  <mitch@imendio.com>
4434
4435         * gtk/gtkcellrendereraccel.h
4436         * gtk/gtkiconview.h
4437         * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
4438         macros for type checking.
4439
4440         (gtk_object_get_type): change prototype to return GType instead of
4441         GtkType.
4442
4443 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
4444
4445         * gtk/Makefile.am: Make folder, user-home and user-desktop links 
4446         to gtk-directory in the builtin icon theme, so that we can
4447         use these icon names without risk of ending up without an icon.
4448
4449 2008-06-16  Tor Lillqvist  <tml@novell.com>
4450
4451         Bug 538362 - Get Win32 icons back in the file chooser
4452
4453         * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
4454         reference to an icon resource in a DLL or .EXE in the same format
4455         as the DefaultIcon strings in the Registry. In that case, extract
4456         the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
4457         code has to be in sync with the corresponding code in
4458         glib/gio/gcontenttype.c.
4459
4460 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
4461
4462         * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
4463         to the builtin icon theme, to avoid showing broken images when
4464         there is no icon theme around.  The new icons are thanks to
4465         Lapo Calamandrei.
4466
4467 2008-06-16  Michael Natterer  <mitch@imendio.com>
4468
4469         * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
4470         GtkFileChooserDefault struct.
4471
4472         * gtk/gtkfilechooserdefault.c: don't allocate and free the
4473         GtkTooltips.
4474
4475 2008-06-16  Carlos Garnacho  <carlos@imendio.com>
4476
4477         Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
4478         anymore
4479
4480         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
4481         Allow again setting any of the properties to render an image back to
4482         NULL.
4483
4484 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
4485
4486         * gtk/gtkimage.c: When pixel-size is specified, use
4487         GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
4488
4489 2008-06-15  Carlos Garnacho  <carlos@imendio.com>
4490
4491         * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full 
4492         path here as expected, not just the basename.
4493
4494         * gtk/gtkfilechooserdefault.c
4495         (gtk_file_chooser_default_update_current_folder): Ensure that we keep
4496         a reference to file, since it can be destroyed when switching back to
4497         browse mode.
4498
4499         * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
4500         and desktop directories are dealt by the filechooser as normal files,
4501         not volumes, so the icon for these is handled directly by GIO.
4502         (_gtk_file_system_volume_render_icon): Update caller.
4503
4504 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
4505
4506         * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
4507
4508 2008-06-14  Cody Russell  <bratsche@gnome.org>
4509
4510         * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
4511
4512         Initialize hwnd to NULL.  This fixes OpenClipboard() failure and,
4513         according to MSDN docs, associates the open clipboard with the
4514         current task.  (#378158, reported by Andreas Köhler)
4515
4516 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
4517
4518         * configure.in: Bump version
4519
4520         * === Released 2.13.3 ===
4521
4522 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
4523
4524         * gtk/gtkaccelgroup.c: Add some docs
4525
4526         * gdk/gdkwindow.c: Fix doc typos
4527
4528 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
4529
4530         * gtk/gtkfilesystem.c: Avoid PLT entries by including
4531         gtkalias.h
4532
4533 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
4534
4535         * gtk/gtkfilechooserbutton.c:
4536         * gtk/gtkfilechooserdefault.c:
4537         * gtk/gtkfilechooserentry.c:
4538         * gtk/gtkfilesystem.c:
4539         * gtk/gtkfilesystem.h:
4540         * gtk/gtkfilesystemmodel.c:
4541         * gtk/gtkpathbar.c: Really make GtkFileSystem private
4542         by _-prefixing all functions.
4543
4544 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
4545
4546         * docs/RELEASE-HOWTO: Updates
4547         * INSTALL.in: Bump version
4548
4549 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
4550
4551         * NEWS: Updates
4552
4553 2008-06-13  Michael Natterer  <mitch@imendio.com>
4554
4555         * gtk/gtkcellrendereraccel.h
4556         * gtk/gtkfilechooser.h
4557         * gtk/gtkfilechooserdialog.h
4558         * gtk/gtkfilechooserwidget.h
4559         * gtk/gtkmenutoolbutton.h
4560         * gtk/gtkpagesetup.h
4561         * gtk/gtkpapersize.h
4562         * gtk/gtkprintcontext.h
4563         * gtk/gtkprintoperation.h
4564         * gtk/gtkprintoperationpreview.h
4565         * gtk/gtkprintsettings.h
4566         * gtk/gtkradiotoolbutton.h
4567         * gtk/gtkrecentchooser.h
4568         * gtk/gtkrecentchooserdialog.h
4569         * gtk/gtkrecentchoosermenu.h
4570         * gtk/gtkrecentchooserwidget.h
4571         * gtk/gtkseparatortoolitem.h
4572         * gtk/gtkshow.h
4573         * gtk/gtktoggletoolbutton.h
4574         * gtk/gtktoolbar.h
4575         * gtk/gtktoolbutton.h
4576         * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
4577         "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
4578
4579 2008-06-13  Michael Natterer  <mitch@imendio.com>
4580
4581         * gtk/gtktexttagtable.h: remove double inclusion of
4582         <gtk/gtktexttag.h>.
4583
4584 2008-06-13  Michael Natterer  <mitch@imendio.com>
4585
4586         * gtk/gtkaction.c (gtk_action_set_short_label): change type of
4587         local "image" variable from GtkImage to GtkWidget to fix warning.
4588
4589 2008-06-13  Michael Natterer  <mitch@imendio.com>
4590
4591         * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
4592         toplevel to GtkWindow when passing to gtk_window_set_type_hint().
4593
4594 2008-06-13  Michael Natterer  <mitch@imendio.com>
4595
4596         * gtk/gtkuimanager.c (start_element_handler): silently skip
4597         unknown attributes instead of bailing out with an error in order
4598         to be compatible with possible future attribute names.
4599
4600         This is related to the discussion in bug #516425 but actually
4601         needed for any kind of XML format extension.
4602
4603 2008-05-23  Hans Breuer  <hans@breuer.org>
4604
4605         * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
4606         Avoids crashing when the target can not be written, bug #537685
4607
4608         * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
4609
4610         * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
4611         it was not needed here anyway.
4612
4613 2008-06-13 Matthias Clasen  <mclasen@redhat.com>
4614
4615         * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
4616         Patch by Jan Arne Peterson
4617
4618 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
4619
4620         Bug 537985 – gtk_init_with_args() doesn't open a display after
4621         gtk_parse_args()
4622
4623         * gtk/gtkmain.c (gtk_init_with_args): Open the default display
4624         even when gtk_parse_args() has already been called.
4625         Patch by Mathias Hasselmann
4626
4627 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
4628
4629         Bug 524222 – GtkToolbar with mix of buttons with and without 
4630         icons looks "bad"
4631
4632         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
4633         Improve appearance of "both vertical" mode toolbuttons.
4634         Patch by Peter Johanson
4635
4636 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
4637
4638         Bug 519092 – Add accessibility support to GtkVolumeButton
4639
4640         * gtk/gtkvolumebutton.c: Set accessibility descriptions.
4641         Patch by Jonh Wendell
4642
4643 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
4644
4645         Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
4646         GtkAction has problems
4647         Patch by Peter Johanson
4648
4649         * gtk/gtkaction.c (connect_proxy): Set the image of a button
4650         proxy to the "icon-name" property.
4651
4652         (gtk_action_set_short_label):  If the "image" property is set 
4653         on the button proxy, also tries to set the "label" property on 
4654         the GtkButton.
4655
4656 2008-06-12  Michael Natterer  <mitch@imendio.com>
4657
4658         * gtk/gtkmain.c
4659         * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
4660         in via "gtkintl.h" from <glib/gi18n-lib.h>.
4661
4662 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
4663
4664         RH bug 248245 and 449379: cups client printing from gnome
4665         applications fail
4666
4667         * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
4668         printer URI construction. Patch by Marek Kasik
4669         
4670 2008-06-12  Michael Natterer  <mitch@imendio.com>
4671
4672         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
4673         limit the number of displayed items by the actual screen height
4674         instead of some arbitrary value (Bug #408154, Xan Lopez and
4675         Christian Dywan).
4676
4677 2008-06-11  Behdad Esfahbod  <behdad@gnome.org>
4678
4679         Bug 503071 – Application direction changes to right to left even if
4680         theres no translation
4681
4682         * configure.in: Bump glib requirement.
4683
4684         * gtk/gtkaccellabel.c
4685         (_gtk_accel_label_class_get_accelerator_label):
4686         * gtk/gtkactiongroup.c (dgettext_swapped):
4687         * gtk/gtkbuilder.c (gtk_builder_class_init):
4688         * gtk/gtkbuilderparser.c (_dpgettext),
4689         (_gtk_builder_parser_translate):
4690         * gtk/gtkfilechooserdefault.c (list_size_data_func):
4691         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
4692         * gtk/gtkintl.h:
4693         * gtk/gtkmain.c (setlocale_initialization),
4694         (do_pre_parse_initialization), (gettext_initialization):
4695         * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
4696         Use g_dgettext() and g_dngettext().
4697
4698 2008-06-11  Matthias Clasen <mclasen@redhat.com>
4699
4700         * docs/RELEASE-HOWTO: Updates
4701
4702 2008-06-11  Tor Lillqvist  <tml@novell.com>
4703
4704         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
4705         support Win9x anyway, we can use ProcessIdToSessionId()
4706         unconditionally.
4707
4708 2008-06-11  Michael Natterer  <mitch@imendio.com>
4709
4710         * gtk/gtkfilechooserbutton.c: fix local prototype of
4711         _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
4712
4713 2008-06-10  Matthias Clasen <mclasen@redhat.com>
4714
4715         Bug 536765 – GtkComboBox should set COMBO type hint for its menu
4716
4717         * gtk/gtkoptionmenu.c:
4718         * gtk/gtkcombobox.c: Set the window type hint on popups.
4719         Patch by Danny Baumann
4720
4721 2008-06-10  Matthias Clasen <mclasen@redhat.com>
4722
4723         * gtk/gtkfilesystem.c (get_icon_for_special_directory):
4724         (gtk_file_system_volume_render_icon): Add standard icon names,
4725         and also fall back to builtin gtk stock icons.
4726
4727 2008-06-10  Christian Persch  <chpe@gnome.org>
4728
4729         * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
4730         (gtk_tree_view_maybe_begin_dragging_row),
4731         (gtk_tree_view_set_reorderable),
4732         (gtk_tree_view_enable_model_drag_source),
4733         (gtk_tree_view_enable_model_drag_dest),
4734         (gtk_tree_view_unset_rows_drag_source),
4735         (gtk_tree_view_unset_rows_drag_dest): Make
4736         gtk_tree_view_enable_model_drag_[source|dest] compatible with
4737         gtk_drag_[source|dest]_add_*_targets. Bug #506853.
4738
4739 2008-06-10  Christian Persch  <chpe@gnome.org>
4740
4741         * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
4742         (dest_row_free), (set_dest_row), (ensure_info),
4743         (gtk_tree_view_remove), (gtk_tree_view_put),
4744         (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
4745         bug #506853.
4746
4747 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
4748
4749         * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
4750         use g_file_new_for_uri.
4751
4752 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
4753
4754         * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
4755         leak the GIcon.
4756
4757 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
4758
4759         * configure.in:
4760         * gtk/Makefile.am:
4761         * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
4762         #520874, comment #8. It's no longer used directly by GTK+.
4763
4764 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
4765
4766         Bug 520874 - Should use gio directly.
4767
4768         * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
4769         provides helper functions for asynchronous calls, folder abstraction
4770         and uniform handling of volumes/drives/mounts.
4771
4772         * gtk/gtkfilesystemwin32.[ch]:
4773         * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
4774
4775         * gtk/gtkfilechooser.c:
4776         * gtk/gtkfilechooserbutton.c:
4777         * gtk/gtkfilechooserdefault.c:
4778         * gtk/gtkfilechooserentry.[ch]:
4779         * gtk/gtkfilechooserprivate.h:
4780         * gtk/gtkfilechooserutils.c:
4781         * gtk/gtkfilesystemmodel.[ch]:
4782         * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
4783         Do not load filesystem implementation modules.
4784
4785         * gtk/Makefile.am:
4786         * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
4787         anymore, nor the unix/win32 implementations.
4788
4789         * README.in: Add blurb about these changes.
4790
4791 2008-06-09  Kristian Rietveld  <kris@gtk.org>
4792
4793         Bug 526987 - GtkCellRendererCombo should allow model to be NULL
4794
4795         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4796         (gtk_cell_renderer_combo_set_property),
4797         (gtk_cell_renderer_combo_editing_done),
4798         (gtk_cell_renderer_combo_start_editing): introduce private class
4799         struct, allow model to be set to NULL.
4800
4801 2008-06-08  Björn Lindqvist  <bjourne@gmail.com>
4802
4803         Bug 131920 – gtkNotebook sends incorrect switch_page value
4804
4805         * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
4806         signal send correct page index when page index 0 is active and
4807         removed. (#131920, Samuel Fogh)
4808
4809 2008-06-08  Kristian Rietveld  <kris@gtk.org>
4810
4811         Bug 536730 - memory corruption in gtktreeview
4812
4813         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
4814         remove the expand/collapse timeout and node, then free the rbtree.
4815
4816 2008-06-08  Kristian Rietveld  <kris@gtk.org>
4817
4818         Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
4819
4820         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
4821         find path if we found valid nodes, return FALSE otherwise.  (Patch
4822         from Matthias Clasen).
4823
4824 2008-06-08  Matthias Clasen  <mclasen@redhat.com>
4825
4826         * gtk/gtkrecentmanager.c:
4827         * gtk/gtkrecentfilter.c:
4828         * gtk/gtkfilefilter.c: Replace uses of xdgmime with
4829         g_content_type.
4830         
4831 2008-06-08  Christian Persch <chpe@gnome.org>
4832
4833         Bug 535608 – do not string-copy accel paths in the menu code
4834
4835         * gtk/gtkaccelgroup.c:
4836         * gtk/gtkaccelmap.c:
4837         * gtk/gtkaction.c:
4838         * gtk/gtkmenu.c:
4839         * gtk/gtkmenuitem.c:
4840         * gtk/gtkwidget.c:  Don't store the accel path as a string in
4841         gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
4842         keeping a string copy around is just a waste of memory.
4843         Improve the documentation to mention this.
4844
4845 2008-06-07  Tor Lillqvist  <tml@novell.com>
4846
4847         Bug 536990 - updateiconcache.c: 'close ()' is redundant
4848
4849         * gtk/updateiconcache.c (build_cache): Drop redundant close()
4850         calls. fclose() on a fdopen()ed stream closes the underlying file
4851         descriptor.
4852
4853 2008-06-06  Matthias Clasen  <mclasen@redhat.com>
4854
4855         Bug 536757 – regression: openoffice.org menus are placed at wrong
4856         position since 2.12.10
4857
4858         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4859         Return the right coordinates.  
4860
4861 2008-06-06  Behdad Esfahbod  <behdad@gnome.org>
4862
4863         Bug 536185 – monitor font configuration
4864
4865         * configure.in:
4866         * gdk/x11/gdksettings.c:
4867         * gtk/gtksettings.c (gtk_settings_class_init),
4868         (gtk_settings_notify), (settings_update_fontconfig):
4869         Monitor xsettings key Fontconfig/Timestamp and upon change,
4870         reread fontconfig configuration, clear Pango's caches, and
4871         redraw all widgets.
4872
4873 2008-06-06  Ross Burton  <ross@burtonini.com>
4874
4875         * gtk/gtkwindow.c:
4876         Fix trivial typo in documentation.
4877
4878 2008-06-06  Tor Lillqvist  <tml@novell.com>
4879
4880         * config.h.win32.in: Slight update to match what configure
4881         produces.
4882
4883 2008-06-05  Johan Dahlin  <jdahlin@async.com.br>
4884
4885         * gtk/gtkbuilder.h (enum): Add the new version mismatch error
4886         constant to the end of the list, to avoid breaking the stable ABI
4887
4888 2008-06-05  Michael Natterer  <mitch@imendio.com>
4889
4890         * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
4891
4892 2008-06-05  Li Yuan  <li.yuan@sun.com>
4893
4894         * gail-uninstalled.pc.in:
4895         Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
4896         Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
4897
4898 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
4899
4900         * docs/RELEASE-HOWTO: Update a bit
4901
4902 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
4903
4904         * configure.in: Bump version
4905
4906         * === Released 2.13.2 ===
4907
4908 2008-06-03  Federico Mena Quintero  <federico@novell.com>
4909
4910         * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
4911         If the user presses Tab while the completion feedback window is
4912         active, then we'll assert.  Remove the assertion and just re-set
4913         the timer.  Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
4914
4915 2008-06-03  Colin Walters  <walters@redhat.com>
4916         
4917         Bug 535303 – add _get_implementation to GtkStatusIcon
4918
4919         * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
4920         function to retrieve internal X11 window ID, useful for libnotify.
4921         * gtk/gtkstatusicon.h: Prototype it.
4922         * docs/reference/gtk/gtk-sections.txt: Add to docs.
4923         * gtk/gtk.symbols: Export it.
4924
4925 2008-06-03  Tor Lillqvist  <tml@novell.com>
4926
4927         * gtk/updateiconcache.c (build_cache): Use g_open().
4928
4929 2008-06-03  Michael Natterer  <mitch@imendio.com>
4930
4931         * gtk/gtkclist.h
4932         * gtk/gtkctree.h: revert includes to how they have been before the
4933         GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
4934         that you can't include <gtk/gtk.h> from two headers where one is a
4935         parent class of the other and expect them both to be includable
4936         individually.
4937
4938 2008-06-03  Michael Natterer  <mitch@imendio.com>
4939
4940         * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
4941
4942 2008-06-02  Matthias Clasen  <mclasen@redhat.com>
4943         
4944         Bug 536092 – GtkEntryCompletion's popup window should set type hint
4945
4946         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
4947         a type hint on the popup window to help compiz.
4948         Patch by Vaclav Slavik.
4949
4950 2008-06-02  Claudio Saavedra  <csaavedra@igalia.com>
4951
4952         Bug 535862 – gtk_action_create_icon can't create icons from the
4953         icon themes
4954
4955         * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
4956         the default factories as it's supposed.
4957
4958 2008-06-02  Yevgen Muntyan  <muntyan@tamu.edu>
4959
4960         Bug 535497 – Print preview doesn't work.
4961
4962         * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
4963         instead of launching Preview.app directly.
4964
4965 2008-06-02  Michael Natterer  <mitch@imendio.com>
4966
4967         * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
4968         in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
4969         (bug #536126).
4970
4971 2008-05-31  Emmanuele Bassi  <ebassi@gnome.org>
4972
4973         Bug 535830 – wrong content type adding an item
4974
4975         * gtk/gtkrecentmanager.c:
4976         (gtk_recent_manager_add_item_query_info): Use the correct API
4977         for retrieving the fast MIME type of a URI. (Carlos Garcia
4978         Campos)
4979
4980 2008-05-31  Kristian Rietveld  <kris@imendio.com>
4981
4982         Bug 530146 - Setting non-string tooltip with
4983         gtk_tree_view_set_tooltip_column() segfaults
4984
4985         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
4986         gtk_tree_model_get_value() and explicitly transform the value to a
4987         string before setting it as tooltip.
4988
4989 2008-05-30  Tor Lillqvist  <tml@novell.com>
4990
4991         * modules/engines/ms-windows/msw_style.h
4992         * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
4993
4994 2008-05-30  Michael Natterer  <mitch@imendio.com>
4995
4996         * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
4997         GDestroyNotify when using it in g_object_set_data_full().
4998
4999 2008-05-30  Michael Natterer  <mitch@imendio.com>
5000
5001         * gdk/gdkapplaunchcontext.h
5002         * gdk/gdktestutils.h
5003         * gtk/gtkmountoperation.h
5004         * gtk/gtkshow.h
5005         * gtk/gtktestutils.h
5006         * gtk/gtktoolshell.h: no need to allow disabling single includes
5007         conditionally in these new files. Simply forbid including them
5008         individually from the beginning.
5009
5010 2008-05-30  Tor Lillqvist  <tml@novell.com>
5011
5012         Bug 533108 - leak of GDI region in function 'handle_wm_paint'
5013
5014         * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
5015         Atallah.
5016
5017 2008-05-29  Matthias Clasen <mclasen@redhat.com>
5018
5019         * configure.in: Bump version 
5020
5021         * === Released 2.13.1 ===
5022
5023         * NEWS: Updates
5024
5025 2008-05-29  Matthias Clasen <mclasen@redhat.com>
5026
5027         * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
5028
5029 2008-05-29  Matthias Clasen <mclasen@redhat.com>
5030
5031         * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
5032
5033 2008-05-29  Tor Lillqvist  <tml@novell.com>
5034
5035         Bug 535526 - updateiconcache.c: using open/close without prototype
5036
5037         * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
5038         g_utime() when available instead of utime() for UTF-8 pathname
5039         support on Windows.
5040
5041 2008-05-29  Jan Arne Petersen  <jpetersen@jpetersen.org>
5042
5043         Bug 56355 – GtkLabel - Not all changes propagate correctly
5044
5045         * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
5046         (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
5047         (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
5048         Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
5049         notifications of mnemonic-keyval changes.
5050
5051 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5052
5053         Bug 522084 – GIcon support for GtkIconTheme & GtkImage
5054
5055         * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
5056         * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
5057         * gtk/gtk.symbols: Additions
5058         * tests/testimage.c: Add a GIcon test
5059
5060 2008-05-29  Michael Natterer  <mitch@imendio.org>
5061
5062         * gtk/Makefile.am
5063         * gtk/gtkunixprint.h: add a single-include header for the unix
5064         print stuff.
5065
5066         * gtk/gtkpagesetupunixdialog.h
5067         * gtk/gtkprinter.h
5068         * gtk/gtkprintjob.h
5069         * gtk/gtkprintunixdialog.h: add single-include guards that #error
5070         out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
5071         files is included individually.
5072
5073         * gtk/gtkprintbackend.h
5074         * gtk/gtkprinter-private.h
5075         * modules/printbackends/cups/gtkprintbackendcups.c
5076         * modules/printbackends/cups/gtkprintercups.h
5077         * modules/printbackends/lpr/gtkprintbackendlpr.c
5078         * tests/buildertest.c
5079         * tests/defaultvaluetest.c
5080         * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
5081         individual files.
5082
5083 2008-05-28  Michael Natterer  <mitch@imendio.com>
5084
5085         * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
5086         excess newlines and sprinkled some newlines where needed. Zero
5087         code or formatting changes included.
5088
5089 2008-05-28  Michael Natterer  <mitch@imendio.com>
5090
5091         * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
5092
5093 2008-05-28  Michael Natterer  <mitch@imendio.com>
5094
5095         * gtk/gtkcolorbutton.h: fix comment: the widget is called
5096         GtkColorButton, not GtkColorSelectButton. Remove trailing
5097         whitespace and excess newlines.
5098
5099 2008-05-28  Michael Natterer  <mitch@imendio.com>
5100
5101         * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
5102         GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
5103         to CPPFLAGS so it's impossible to commit code that would break
5104         apps which use DISABLE_INCLUDE defines.
5105
5106 2008-05-28  Michael Natterer  <mitch@imendio.com>
5107
5108         * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
5109         headers.
5110
5111         * gtk/gtktypebuiltins.h.template
5112         * gtk/gtkversion.h.in
5113         * gtk/gtk*.h: add single-include guards that #error out if
5114         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
5115         included individually.
5116
5117         * gtk/gtkprintbackend.h
5118         * gtk/gtkprinter-private.h
5119         * gtk/gtktextlayout.h
5120         * gtk/gtktexttagprivate.h
5121         * gtk/gtktexttypes.h
5122         * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
5123         headers in these private or semi-private headers.
5124
5125         * gtk/gtkimmodule.h: also here because it's not in gtk.h.
5126
5127         * gtk/gtkpagesetupunixdialog.h
5128         * gtk/gtkprinter.h
5129         * gtk/gtkprintjob.h
5130         * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
5131
5132         * gtk/gtkclist.h
5133         * gtk/gtkcombo.h
5134         * gtk/gtkctree.h
5135         * gtk/gtkfilesel.h
5136         * gtk/gtkitemfactory.h
5137         * gtk/gtklist.h
5138         * gtk/gtklistitem.h
5139         * gtk/gtkoldeditable.h
5140         * gtk/gtkoptionmenu.h
5141         * gtk/gtkpixmap.h
5142         * gtk/gtkpreview.h
5143         * gtk/gtksignal.h
5144         * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
5145         instead of individual headers in these deprecated headers. They
5146         don't get included at all when GTK_DISABLE_DEPRECATED is defined,
5147         so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
5148         and include them individually, which should continue to work.
5149
5150         * gtk/gtkclist.c: include "gtkctree.h" because of the change
5151         above.
5152
5153 2008-05-28  Kristian Rietveld  <kris@imendio.com>
5154
5155         Bug 449625 - crash in gtk_tree_view_real_move_cursor at
5156         gtktreeview.c:9641
5157
5158         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
5159         cursor_offset *must* be larger than background height of the cursor
5160         node, not just equal otherwise there is no guarantee there is a next
5161         node.
5162
5163 2008-05-28  Michael Natterer  <mitch@imendio.com>
5164
5165         * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
5166
5167 2008-05-28  Michael Natterer  <mitch@imendio.com>
5168
5169         * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
5170         headers.
5171
5172         * gdk/gdkenumtypes.h.template
5173         * gdk/gdk*.h: add single-include guards that #error out if
5174         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
5175         included individually. Also removed some redundant includes and
5176         did some tiny trailing whitespace removal that's not worth to
5177         commit separately.
5178
5179         * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
5180         files.
5181
5182         * gdk/win32/gdkwin32.h
5183         * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
5184         other includes.
5185
5186 2008-05-28  Kristian Rietveld  <kris@imendio.com>
5187
5188         Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
5189         current widget again.
5190
5191         * gtk/gtktooltip.c (gtk_tooltip_set_custom),
5192         (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
5193         custom_was_reset field to check if the custom widget is set again in
5194         the query-tooltip callback; if not, we set it to NULL.  Based on a
5195         patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
5196         and Christian Persch.
5197
5198 2008-05-28  Michael Natterer  <mitch@imendio.com>
5199
5200         * modules/printbackends/cups/gtkcupsutils.c
5201         * modules/printbackends/cups/gtkprintbackendcups.c
5202         * modules/printbackends/file/gtkprintbackendfile.c
5203         * modules/printbackends/lpr/gtkprintbackendlpr.c: include
5204         <gtk/gtk.h> instead of individual files.
5205
5206 2008-05-28  Michael Natterer  <mitch@imendio.com>
5207
5208         * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
5209         individual files.
5210
5211 2008-05-28  Kristian Rietveld  <kris@imendio.com>
5212
5213         Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
5214
5215         * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
5216         ->priv->tree != NULL.  Suggestion from Stefan Kost.
5217
5218 2008-05-28  Kristian Rietveld  <kris@imendio.com>
5219
5220         Bug 324282 - add selected signal to cell renderer combo.
5221
5222         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
5223         (gtk_cell_renderer_combo_changed),
5224         (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
5225         that will be emitted as soon as the combo box emitted changed and has
5226         an active iterator.  (Modified patch based on work by James
5227         Pelletier).
5228
5229         * gtk/gtkmarshalers.list: add marshaler.
5230
5231 2008-05-28  Kristian Rietveld  <kris@imendio.com>
5232
5233         Refactor expand/collapse timeout handling (amendment to bug 511217).
5234
5235         * gtk/gtktreeview.c (add_expand_collapse_timeout),
5236         (remove_expand_collapse_timeout): new functions, the remove function
5237         also clears expanded_collapsed_node,
5238         (cancel_arrow_animation): moved to be next to the add/remove timeout
5239         functions,
5240         (gtk_tree_view_unrealize),
5241         (gtk_tree_view_row_deleted),
5242         (gtk_tree_view_set_model),
5243         (cancel_arrow_animation),
5244         (gtk_tree_view_real_expand_row),
5245         (gtk_tree_view_real_collapse_row): use the new add/remove functions.
5246
5247 2008-05-28  Kristian Rietveld  <kris@imendio.com>
5248
5249         Amendment of bug 485218 - Strange warning encountered.
5250
5251         * gtk/gtktreemodelsort.[ch]
5252         (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
5253         indication whether or not the conversion had succeeded.
5254
5255 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5256
5257         Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
5258
5259         * modules/printbackends/cups/gtkprintbackendcups.c
5260         (cups_printer_create_cairo_surface): Fall back to PostScript level 2
5261         if the printer does not support level 3. Patch by Marek Kašík.
5262
5263 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5264
5265         Bug 404571 - Scroll arrow backgrounds should be painted with different
5266         detail
5267
5268         * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down" 
5269         as detail when drawing scroll arrow backgrounds. Proposed by
5270         Tommi Komulainen.
5271         
5272 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5273
5274         Bug 511217 - potential memory corruption after refreshing a tree_view
5275
5276         * gtk/gtktreeview.c (cancel_arrow_animation): Reset
5277         expanded_collapsed_node when canceling the animation.
5278         Patch by Nicholas Setton.
5279
5280 2008-05-28  Michael Natterer  <mitch@imendio.com>
5281
5282         * modules/input/gtkimcontextime.h
5283         * modules/input/gtkimcontextmultipress.h
5284         * modules/input/gtkimcontextthai.h
5285         * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
5286         individual files.
5287
5288         * modules/input/gtkimcontextime.c
5289         * modules/input/gtkimcontextmultipress.c
5290         * modules/input/gtkimcontextxim.c
5291         * modules/input/imam-et.c
5292         * modules/input/imcedilla.c
5293         * modules/input/imcyrillic-translit.c
5294         * modules/input/iminuktitut.c
5295         * modules/input/imipa.c
5296         * modules/input/imti-er.c
5297         * modules/input/imti-et.c
5298         * modules/input/imviqr.c: ditto. Some minor cleanups like moving
5299         "gtk/gtkintl.h" to the end of includes.
5300
5301 2008-05-28  Michael Natterer  <mitch@imendio.com>
5302
5303         * modules/engines/pixbuf/pixbuf-style.h
5304         * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
5305         instead of individual files.
5306
5307 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5308
5309         Bug 485218 - Strange warning encountered
5310
5311         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
5312         (gtk_tree_model_sort_convert_child_iter_to_iter):
5313         (gtk_tree_model_sort_build_level): Better warnings. Patch
5314         by Kristian Rietveld.
5315
5316 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5317
5318         Bug 351910 - Search column setting lost
5319
5320         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
5321         the docs. Patch by Matt Barnes.
5322
5323 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5324
5325         Bug 477278 - avoid unnecessary pointer subtraction
5326
5327         * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer 
5328         subtraction that sparse complains about. Patch by Christian
5329         Persch.
5330
5331 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5332
5333         Bug 106574 - Inconsistent increment behavior for gtkspinbutton
5334
5335         * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
5336         Commit the entry text before doing an increment. Patch by
5337         Björn Lindqvist.
5338
5339 2008-05-27  Federico Mena Quintero  <federico@novell.com>
5340
5341         http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
5342         drag and drop from the file list into itself, as it doesn't make
5343         sense (it would just change the current folder).
5344
5345         * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
5346         GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
5347         itself.
5348
5349 2008-05-27  Michael Natterer  <mitch@imendio.com>
5350
5351         * gtk/gtksignal.h: move deprecated guards around everything,
5352         including includes and include guards (just as in all other
5353         deprecated files).
5354
5355 2008-05-27  Tor Lillqvist  <tml@novell.com>
5356
5357         * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
5358         on Windows. (No S_I?GRP and S_I?OTH bits are defined in
5359         <sys/stat.h> on Windows, and the mode used in open() doesn't
5360         matter much as there are no rwxrwxrwx bits on Windows anyway.)
5361         Open file in binary mode. Passing "b" to fdopen() later isn't
5362         enough.
5363
5364 2008-05-27 10:33:41  Tim Janik  <timj@imendio.com>
5365
5366         * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
5367         invalid or invisible widgets.
5368
5369 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5370
5371         Bug 531008 – Crash in gtkprintunixdialog.c
5372
5373         * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
5374         the dialog closes. Patch by Yevgen Muntyan.
5375
5376 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
5377
5378         RH bug 248245: cups client printing from gnome applications fail
5379
5380         * modules/printbackends/cups/gtkprintbackendcups.c
5381         (gtk_print_backend_cups_print_stream): Specify the right server.
5382
5383 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
5384
5385         * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
5386         rubberbanding when "select-multiple" is TRUE. Bug #446068.
5387
5388 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
5389
5390         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
5391         correctly dialog buttons sensitivity when the anonymous option is
5392         enabled by default. Bug #531865.
5393
5394 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
5395
5396         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
5397         password dialog modal and transient for the parent window also if it
5398         was specified in the constructor. Bug #531864.
5399
5400 2008-05-26  Richard Hult  <richard@imendio.com>
5401
5402         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
5403         setting the default font, might need to tweak this.
5404
5405 2008-05-26  Michael Natterer  <mitch@imendio.com>
5406
5407         * examples/gtkdial/gtkdial.h
5408         * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
5409
5410 2008-05-26  Michael Natterer  <mitch@imendio.com>
5411
5412         * gtk/gtkimmodule.h: fix indentation.
5413
5414 2008-05-26  Michael Natterer  <mitch@imendio.com>
5415
5416         * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
5417
5418         * gtk/gtkshow.c: remove inclusion of single files from gdk/
5419
5420         Removed trailing whitespace in both files.
5421
5422 2008-05-26  Richard Hult  <richard@imendio.com>
5423
5424         Bug 530353 – Mac-like gtk_accelerator_get_label()
5425
5426         * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
5427         (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
5428         On quartz, make gtk_accelerator_get_label() format a Mac-like
5429         string, using unicode characters for modifier keys, arrows, delete
5430         etc. Patch from Yevgen Muntyan.
5431
5432 2008-05-26  Richard Hult  <richard@imendio.com>
5433
5434         Bug 534869 – Length miscalculation in
5435         _gtk_quartz_get_selection_data_from_pasteboard
5436
5437         * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
5438         Get the number of bytes, not the number of characters, patch from
5439         Yevgen Muntyan.
5440
5441 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
5442
5443         * gtk/gtkwidget.c: Some doc formatting fixes.
5444
5445 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
5446
5447         Bug 511163 – Remove pango_extents_to_pixels() calls
5448
5449         * gtk/gtkcellrenderertext.c (get_size): Use
5450         pango_layout_get_pixel_extents.
5451
5452         * configure.in: Bump Pango requirement to 1.20
5453
5454         * INSTALL.in: Update required versions
5455
5456 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
5457
5458         Bug 513811 – Use cairo_format_stride_for_width()
5459
5460         * gtk/gtkhsv.c (paint_ring, paint_triangle):
5461         * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
5462         cairo_format_stride_for_width, proposed by Behdad Esfahbod.
5463
5464         * configure.in: Bump cairo requirement to 1.6.0
5465
5466         * INSTALL.in: Update required versions
5467
5468 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
5469
5470         * gtk/gtkshow.[hc]: Formatting fixes
5471
5472         * gtk/gtkmountoperation.c: Add docs
5473
5474 2008-05-25  Cody Russell  <bratsche@gnome.org>
5475
5476         Bug 507389 – use gslice for gtksettings
5477
5478         * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
5479         Report and patch by Christian Persch.
5480
5481 2008-05-25  Cody Russell  <bratsche@gnome.org>
5482
5483         Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
5484         when options are missing
5485
5486         * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
5487         that other processes that try to open it will fail gracefully.  Also
5488         fix a crasher caused by lack of a NULL check.  Report and patch
5489         by Erwann Chenede.
5490
5491 2008-05-25  Cody Russell  <bratsche@gnome.org>
5492
5493         Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
5494
5495         * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
5496         !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
5497         so that we also take into account for foreign windows.
5498         Report and patch by Nathaniel Smith.
5499
5500 2008-05-25  Cody Russell  <bratsche@gnome.org>
5501
5502         Bug 525461 - Don't invalidate under an input-only child
5503
5504         * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
5505         Check that the window is not input-only before invalidating.
5506         Report and patch by Owen Taylor.
5507
5508 2008-05-25  Cody Russell  <bratsche@gnome.org>
5509
5510         Bug 524110 - Gdk should not assume reparenting WMs when retrieving
5511         window frame extents
5512
5513         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
5514         Use _NET_FRAME_EXTENTS, if available.  Patch by Danny Baumann.
5515
5516 2008-05-25  Cody Russell  <bratsche@gnome.org>
5517
5518         Bug 522269 - Evince windows sometimes incorrectly unmaximized,
5519         caused by missing flag initialization
5520
5521         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
5522         top-level private flags correctly.  Patch by Danny Baumann.
5523
5524 2008-05-25  Cody Russell  <bratsche@gnome.org>
5525
5526         Bug 534463 - non-editable GtkTextView should not call
5527         gtk_im_context_focus_in in focus event
5528
5529         * gtk/gtktextview.c: Add checks to see if the textview is
5530         editable.  Patch by Wang Diancheng.
5531
5532 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
5533
5534         Bug 501730 – use GSlice for small allocs
5535
5536         * gtk/gtkmenuitem.c:
5537         * gtk/gtkmenu.c: Use the slice allocator for small allocations.
5538         Patch by Christian Persch.
5539         
5540 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
5541
5542         Bug 523930 – sort -> search in gtktreeview.c
5543
5544         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
5545         glitch, pointed out by Björn Lindqvist.
5546
5547 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
5548
5549         Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
5550
5551         * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
5552         doc glitch, pointed out by Christian Persch.
5553
5554 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
5555
5556         Bug 534694 – Col id in GtkListStore could be out of range
5557
5558         * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
5559         a bit. Pointed out by Jan Arne Petersen.
5560
5561 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
5562
5563         Bug 532497 – Configure problem when cross-compiling
5564
5565         * configure.in: Use AC_CHECK_TOOLS to find C++ compiler, 
5566         pointed out by Marko Lindqvist.
5567
5568 2008-05-25  Richard Hult  <richard@imendio.com>
5569
5570         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
5571         Slight coding style cleanup.
5572
5573 2008-05-25  Tristan Van Berkom <tvb@gnome.org>
5574
5575         * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
5576         Added support for parsing required toolkit versions (so that ui descriptions
5577         can target specific versions of the backend widget libraries) bug 527612.
5578
5579         * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5580         for the added xml tags to the ui description.
5581
5582         * tests/buildertest.c: Enhanced pango attribute tests, Added tests
5583         for requires tag handling.
5584
5585 2008-05-25  Richard Hult  <richard@imendio.com>
5586
5587         * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
5588         gtk_drag_source_info_destroy in an idle, workaround for bug
5589         #501588, that makes any code that uses the context returned from
5590         gtk_drag_begin() crash, like treeview/iconview dnd.
5591         (GdkDragSourceOwner::provideDataForType): only use the data if we
5592         got any.
5593
5594 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
5595
5596         * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
5597         to the drag actions to allow trash (#137717).
5598
5599 2008-05-25  Josselin Mouette  <joss@malsain.org>
5600
5601         reviewed by: Matthias Clasen
5602
5603         * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
5604         check that tracker is actually working before using it. Fixes
5605         bug #479197.
5606
5607 2008-05-25  Sven Neumann  <sven@gimp.org>
5608
5609         * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
5610         (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
5611         and don't create an output window if it is set.
5612
5613         * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
5614         drawing areas. Fixes bug #519317.
5615
5616 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
5617
5618         * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
5619         (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
5620         * gtk/gtkentry.h:
5621         * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
5622         (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
5623         (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
5624         (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
5625         (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
5626         (start_spinning), (gtk_spin_button_button_release),
5627         (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
5628         (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
5629         (gtk_spin_button_update): Reorder strange window hierarchy of the
5630         GtkSpinButton (#466000).
5631
5632 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
5633
5634         * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
5635         fix the wrong position for right and center justified labels with
5636         logical.x > 0 (#530255).
5637
5638 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
5639
5640         * gtk/gtkfilechooserdefault.c:
5641         (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
5642         errors (#532262).
5643
5644 2008-05-25  Björn Lindqvist  <bjourne@gmail.com>
5645
5646         * tests/pixbuf-lowmem.c
5647         * tests/pixbuf-random.c
5648         * tests/pixbuf-randomly-modified.c
5649         * tests/pixbuf-read.c
5650         * tests/pixbuf-threads.c
5651         * tests/testgtk.c
5652         * tests/testtreeview.c: Fix remaining compiler warnings in these
5653         files (#523751).
5654
5655 2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>
5656
5657         reviewed by: Matthias Clasen
5658
5659         * gtk/Makefile.am:
5660         * gtk/gtk.h:
5661         * gtk/gtk.symbols:
5662         * gtk/gtkshow.c: (gtk_show_uri):
5663         * gtk/gtkshow.h:
5664         Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
5665
5666 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
5667
5668         * gtk/gtkliststore.c: (list_store_text): Use type of the correct
5669         column (#529535).
5670         * tests/buildertest.c: (test_list_store): Add test.
5671
5672 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
5673
5674         Bug 520989 – icon factory buildable too strict
5675
5676         * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
5677         an optional attribute.
5678
5679 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
5680
5681         Bug 387972 – gtkassistant drawing problem
5682
5683         * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make 
5684         GtkAssistant work better in glade. 
5685
5686 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
5687
5688         * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
5689         properties "expand" and "homogeneous" from TRUE to FALSE (as they are
5690         used in GtkToolItem) (#532787).
5691
5692 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
5693
5694         * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
5695         try to toggle the visibility of the location entry field in search and
5696         recent mode (#526422).
5697
5698 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
5699
5700         * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
5701         (shortcuts_list_create): Show parse name as tooltip for path
5702         shortcuts (#137503).
5703
5704 2008-05-24  Björn Lindqvist  <bjourne@gmail.com>
5705
5706         * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
5707         pango_color_parse, do not reference XParseColor forms (#434991).
5708
5709 2008-05-24  James Sharpe <jsharpe@gnome.org>
5710
5711         * gdk/gdk.symbols: Remove duplicate
5712         gdk_window_redirect_to_drawable and gdk_window_remove_redirection
5713         * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
5714         
5715 2008-05-23  Hans Breuer  <hans@breuer.org>
5716
5717         * **/makefile.msc gtk/makefile.msc.in : updated
5718         * gtk/gtkwidget.c : fix c99ism (variable at start of block
5719         * gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
5720         redirection
5721         * gtk/gtkfilechooserdefault.c : #include <locale.h> for 
5722         setlocale(LC_ALL, ...)
5723
5724 2008-05-23  Tor Lillqvist  <tml@novell.com>
5725
5726         * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
5727         gdk_window_remove_redirection.
5728
5729         * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
5730         (_gdk_window_reparent): Rename to adapt to the offscreen rendering
5731         changes. Remove now unnecessary parameter checks as the caller
5732         does that already.
5733
5734         * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
5735
5736 2008-05-23  Tor Lillqvist  <tml@novell.com>
5737
5738         * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
5739         anything if style doesn't change. Improve debugging output.
5740
5741 2008-05-23  Michael Natterer  <mitch@gimp.org>
5742
5743         * perf/widgets.h
5744         * tests/print-editor.c
5745         * tests/prop-editor.h
5746         * tests/testmountoperation.c
5747         * tests/testmultidisplay.c
5748         * tests/testnouiprint.c
5749         * tests/testprint.c
5750         * tests/testprintfileoperation.h
5751         * tests/testtreesort.c
5752         * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
5753         files. Remove some redundant includes.
5754
5755 2008-05-22  Hiroyuki Ikezoe  <poincare@ikezoe.net>
5756
5757         * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
5758         GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
5759
5760 2008-05-21  Richard Hult  <richard@imendio.com>
5761
5762         * gdk/quartz/gdkwindow-quartz.c:
5763         (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
5764         offscreen rendering changes, fixes build.
5765
5766 2008-05-21 21:10:15  Tim Janik  <timj@imendio.com>
5767
5768         * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
5769
5770         * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
5771         return snapshot pixmap coordinates widget relative in *clip_rect.
5772
5773         * tests/testgtk.c: fixed bogus NULL pointer unref.
5774
5775 2008-05-21 21:04:28  Tim Janik  <timj@imendio.com>
5776
5777         * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
5778         widget's allocation to cover extra widget windows placed outside the
5779         widget allocation (spinbutton arrows are the prime example for this).
5780
5781 2008-03-18 10:49:20  Tim Janik  <timj@imendio.com>
5782
5783         * Applied pixmap redirection patch by Alexander Larsson with
5784         various updates from:
5785         Bug 318807 – Offscreen windows and window redirection.
5786
5787
5788         Updates:
5789
5790         * updated docs to mention "Since 2.16".
5791
5792         * tests/testgtk.c: fixed snapshooting pixmap leak.
5793         convert pixmap to pixbuf after snapshooting, to compensate for different
5794         bit depths (occurs when snapshooting ARGB visuals and displaying the
5795         pixmap in an RGB visual).
5796
5797         * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
5798
5799         * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
5800         need for it. enqueue damage notification as GDK_DAMAGE events
5801         for each painting redirection at the start of the event queue.
5802         consider windows with a redirection fully visible when invalidating,
5803         and when updating from backing store. cleaned up stale variables.
5804
5805         * gdk/gdkevents.c: added _gdk_event_queue_prepend().
5806
5807         * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
5808         gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
5809         tree, drawingarea, text, handlebox, etc.
5810         clip the redirected window hierarchy to window sizes, the visible
5811         rectangles don't need to be taken into account here.
5812         extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
5813         in case pixmap visuals could mismatch.
5814
5815         * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
5816
5817
5818         Base patch:
5819
5820         * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
5821         of possibly obscured widgets into an offscreen pixmap.
5822
5823         * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
5824         gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
5825
5826         * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
5827
5828         * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
5829         implementations here, adapted them to propagate redirects to child windows.
5830         gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
5831         clipped to visible region. queue GDK_DAMAGE event delivery.
5832         gdk_window_redirect_to_drawable(): install window painting redirection.
5833         gdk_window_remove_redirection(): remove previously installed redirection.
5834
5835         * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
5836         renamed _gdk_window_new() and _gdk_window_reparent().
5837
5838         * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
5839         gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
5840
5841         * gdk/gdkevents.h: added GDK_DAMAGE event type.
5842
5843         * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
5844
5845         * gdk/gdkinternals.h: added internal prototypes.
5846
5847 2008-05-21  Michael Natterer  <mitch@imendio.com>
5848
5849         * gtk/gtkalignment.c
5850         * gtk/gtkarrow.c
5851         * gtk/gtkbbox.c
5852         * gtk/gtkcalendar.c
5853         * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
5854
5855 2008-05-20  Matthias Clasen  <mclasen@redhat.com>
5856
5857         RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
5858         was chosen
5859
5860         Patch by Marek Kasik.
5861
5862         * gtk/gtk.symbols:
5863         * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
5864         
5865         * gtk/gtkprintbackend.[hc]: Add fallback implementation.
5866
5867         * modules/printbackends/file/gtkprintbackendfile.c:
5868         * modules/printbackends/cups/gtkprintbackendcups.c: Implement
5869         get_default_page_size.
5870
5871         * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
5872         select its default paper size.
5873
5874         * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
5875         use the printer default.
5876
5877         * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
5878         if we don't have a default page setup.
5879
5880 2008-05-20  Gian Mario Tagliaretti  <gianmt@gnome.org>
5881
5882         * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
5883         can accept NULL for none. Fixes bug #533920.
5884
5885 2008-05-20  Björn Lindqvist  <bjourne@gmail.com>
5886
5887         * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
5888         gtk_spin_button_update): Remove two chunks of duplicated
5889         code (#533733).
5890
5891 2008-05-20 14:27:34  Tim Janik  <timj@imendio.com>
5892
5893         * reverted recent unapproved changes by Yair Hershkovitz,
5894         regarding: Bug 503071 – Application direction changes to right
5895         to left even if theres no translation.
5896
5897 2008-05-19  Richard Hult  <richard@imendio.com>
5898
5899         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
5900         (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
5901         SetSystemUIMode instead of hiding and showing the menubar.
5902
5903 2008-05-19  Federico Mena Quintero  <federico@novell.com>
5904
5905         http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
5906         can't be resized until you expand the "Browse for other folders"
5907         section.
5908
5909         * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
5910         Removed the "get_resizable" method.
5911         (_gtk_file_chooser_embed_get_resizable): Removed.
5912
5913         * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
5914
5915         * gtk/gtkfilechooserdefault.c: Likewise.
5916
5917         * gtk/gtkfilechooserdialog.c
5918         (file_chooser_widget_default_size_changed): Act as if the dialog
5919         were always resizable.
5920
5921 2008-05-19  Michael Natterer  <mitch@imendio.com>
5922
5923         * gtk/gtkcellrenderer.c
5924         * gtk/gtkcellrendererpixbuf.c
5925         * gtk/gtkcellrenderertoggle.c
5926         * gtk/gtkimagemenuitem.c
5927         * gtk/gtkmenutoolbutton.c
5928         * gtk/gtkoptionmenu.c
5929         * gtk/gtkstatusbar.c
5930         * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
5931
5932 2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>
5933
5934         * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
5935         g_disable_setlocale().
5936
5937 2008-05-17  Richard Hult  <richard@imendio.com>
5938
5939         * gdk/quartz/gdkwindow-quartz.c:
5940         (gdk_window_impl_quartz_invalidate_maybe_recurse):
5941         (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
5942         of g_idle_add. Add a temporary check if the window is already in
5943         the updates list, since update_area currently doesn't always match
5944         the backend's state, see bug #530801.
5945
5946 2008-05-13  Tor Lillqvist  <tml@novell.com>
5947
5948         Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
5949
5950         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
5951         the "packet rate" of devices to zero instead of 50. This is
5952         reported to help significantly with Wacom tablet behaviour in GIMP
5953         and Inkscape. Patch from Thomas Bleeker.
5954
5955 2008-05-12  Richard Hult  <richard@imendio.com>
5956
5957         * gdk/quartz/gdkevents-quartz.c:
5958         * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
5959         as it's no longer necessary; instead the added quartz API to get
5960         the nsevent from an event should be used. Also move the global
5961         filter up so it's done before the check for window-less events.
5962
5963 2008-05-12  Tor Lillqvist  <tml@novell.com>
5964
5965         Bug 532558 - Cannot build dll when using separate builddir
5966
5967         * gdk/Makefile.am
5968         * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
5969         Lindqvist.
5970
5971 2008-05-12  Yair Hershkovitz  <yairhr@gmail.com>
5972
5973         * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
5974
5975 2008-05-12  Tor Lillqvist  <tml@novell.com>
5976
5977         Bug 532059 - Leak in win32 clipboard manipulation
5978
5979         * gdk/win32/gdkselection-win32.c
5980         (gdk_win32_selection_add_targets): Plug memory leak. Patch by
5981         Daniel Atallah.
5982
5983 2008-05-11  Yair Hershkovitz  <yairhr@gmail.com>
5984
5985         * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
5986         gettext_initialization only once.
5987
5988         *  gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
5989         duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext 
5990         with the extended functionality that was in the removed dpgettext().
5991
5992         * gtk/gtkaccellabelc:
5993         * gtk/gtkstock.c:
5994         * gtk/gtkimmulticontext.c:
5995         * gtk/gtkactiongroup.c:
5996         * gtk/gtkintl.h: use glib i18n api.
5997
5998 2008-05-08  Richard Hult  <richard@imendio.com>
5999
6000         * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
6001         currently invalidated region. Fixes bug #532048, patch by Yevgen
6002         Muntyan.
6003
6004 2008-05-08  Richard Hult  <richard@imendio.com>
6005
6006         * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
6007         fd's revents, not the first one. Fixes bug #531056, spotted by
6008         Yevgen Muntyan.
6009
6010 2008-05-07  Tor Lillqvist  <tml@novell.com>
6011
6012         * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
6013         to the dev zipfile.
6014
6015 2008-05-05  Matthias Clasen  <mclasen@redhat.com>
6016
6017         Apply a patch by Marek Kasik <mkasik@redhat.com> to display
6018         more printer status information in the print dialog. 
6019
6020         * modules/printbackends/cups/gtkprintbackendcups.c: Translate
6021         printer-state-reasons into suitable messages and icons.
6022
6023         * gtk/stock-icons/16/gtk-print-error.{svg,png}:
6024         * gtk/stock-icons/16/gtk-print-report.{svg,png}:
6025         * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
6026         * gtk/Makefile.am: 
6027         * gtk/gtkiconfactory.c:
6028         * gtk/gtkstock.h: New stock icons to display printer state.
6029
6030 2008-05-07  Michael Natterer  <mitch@imendio.com>
6031
6032         * gdk/gdkinternals.h
6033         * gdk/gdkevents.c
6034         * gdk/directfb/gdkevents-directfb.c
6035         * gdk/quartz/gdkevents-quartz.c
6036         * gdk/win32/gdkevents-win32.c
6037         * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
6038         order parameters src,dest and make src const.
6039
6040 2008-05-06  Richard Hult  <richard@imendio.com>
6041
6042         * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
6043         * gdk/gdkinternals.h: Add private backend data to events, and
6044         handle it when copying/freeing events. Currently only needed in
6045         the quartz backend.
6046
6047         * gdk/directfb/gdkevents-directfb.c:
6048         * gdk/quartz/gdkevents-quartz.c:
6049         * gdk/win32/gdkevents-win32.c:
6050         * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
6051         (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
6052         directfb. Implement for quartz. Part of fixing bug #473822.
6053
6054 2008-05-05  Richard Hult  <richard@imendio.com>
6055
6056         * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
6057         framework if there is one.
6058
6059 2008-05-05  Michael Natterer  <mitch@imendio.com>
6060
6061         * gtk/gtkcellrenderercombo.h
6062         * gtk/gtkcellrendererspin.h
6063         * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
6064         consistency.
6065
6066         * gtk/gtkfilechooserdialog.h
6067         * gtk/gtkfilechooserwidget.h
6068         * gtk/gtkscalebutton.h: reorder instance and class structs to be
6069         in canonical order.
6070
6071 2008-05-04  Richard Hult  <richard@imendio.com>
6072
6073         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
6074         gdk_unicode_to_keyval() worked before using the result. Makes
6075         function keys work, bug #530156. Also add F16 to the function key
6076         map.
6077
6078 2008-05-04  Richard Hult  <richard@imendio.com>
6079
6080         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
6081         semicolon after if statement. Fixes bug #530963, patch from Yevgen
6082         Muntyan.
6083
6084 2008-05-02  Michael Natterer  <mitch@imendio.com>
6085
6086         * gtk/gtk.h: add 15 files that were missing (they all got included
6087         indirectly by including gtk.h, so should have been here in the
6088         first place).
6089
6090 2008-05-02  Michael Natterer  <mitch@imendio.com>
6091
6092         * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
6093
6094 2008-05-01  Richard Hult  <richard@imendio.com>
6095
6096         * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
6097         Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
6098
6099 2008-05-01  Matthias Clasen  <mclasen@redhat.com>
6100
6101         * modules/imput/imthai.c: Register the right translation domain.
6102
6103 2008-04-30  Matthias Clasen  <mclasen@redhat.com>
6104
6105         Bug 529386 – Printing options hidden by blacklisted option
6106
6107         * modules/printbackend/cups/gtkprintbackendcups.c
6108         (cups_printer_get_options): Fix the blacklist handling. 
6109         Patch by Marek Kašík.
6110         
6111 2008-04-30  Richard Hult  <richard@imendio.com>
6112
6113         * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
6114         area.
6115
6116 2008-04-30  Richard Hult  <richard@imendio.com>
6117
6118         * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
6119         nsevents with the gdk lock held, fixes deadlock when doing manual
6120         window resizing with threading enabled.
6121
6122 2008-04-30  Richard Hult  <richard@imendio.com>
6123
6124         * gdk/quartz/gdkevents-quartz.c:
6125         (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
6126         Alt to Alt and Cmd to Meta. This is not only more logical but also
6127         makes it easier to have Mac-like behavior.
6128
6129 2008-04-25  Björn Lindqvist  <bjourne@gmail.com>
6130
6131         * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
6132         painting the flat box instead of recalculating it. (#437493,
6133         Ricardo Cruz)
6134
6135 2008-04-25  Michael Emmel  <mike.emmel@gmail.com>
6136
6137         Bug 529841 – incorrect position in directfb 
6138
6139         * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x 
6140
6141 2008-04-25  Johan Dahlin  <jdahlin@async.com.br>
6142
6143         * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
6144
6145 2008-04-25  Michael Natterer  <mitch@imendio.com>
6146
6147         * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
6148         <pango/pango-layout.h>.
6149
6150         * gtk/gtkiconfactory.c
6151         * gtk/gtkimmodule.c
6152         * gtk/gtkmain.c
6153         * gtk/gtkmodules.c
6154         * gtk/queryimmodules.c: remove inclusion of single files from
6155         pango, none of them was actually needed.
6156
6157         * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
6158         <pango/pango-utils.h>.
6159
6160 2008-04-25  Michael Natterer  <mitch@imendio.com>
6161
6162         * gdk/gdkfont.h: include <pango/pango.h> instead of
6163         <pango/pango-font.h>.
6164
6165 2008-04-25  Michael Natterer  <mitch@imendio.com>
6166
6167         * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
6168         <gdk/gdkscreen.h>.
6169
6170 2008-04-21  Michael Natterer  <mitch@imendio.com>
6171
6172         * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
6173         crashing when NULL pointers get passed.
6174
6175 2008-04-18  Michael Natterer  <mitch@imendio.com>
6176
6177         * gtk/gtkenums.h: move a few '{' to their own lines so all enums
6178         here have the same style.
6179
6180 2008-04-18  Michael Natterer  <mitch@imendio.com>
6181
6182         * gtk/gtkicontheme.h
6183         * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
6184         <gdk/gdkscreen.h>.
6185
6186         * gtk/gtkbuilderparser.c
6187         * gtk/gtklinkbutton.c
6188         * gtk/gtkpreview.c
6189         * gtk/gtkrecentchooserdefault.c
6190         * gtk/gtkrecentchoosermenu.c
6191         * modules/input/gtkimcontextthai.c: remove inclusion of single
6192         files from gdk, none of the includes was actually needed.
6193
6194 2008-04-18  Michael Natterer  <mitch@imendio.com>
6195
6196         * gdk/gdk.h: reorder one include so they are all alphabetical.
6197
6198 2008-04-18  Michael Natterer  <mitch@imendio.com>
6199
6200         * modules/printbackends/cups/gtkprintercups.[ch]
6201         (gtk_printer_cups_get_ppd_name): change return value and local
6202         variable to const gchar* to fix warning about discarding const
6203         qualifier.
6204
6205 2008-04-18  Emmanuele Bassi  <ebassi@gnome.org>
6206
6207         * gtk/gtkrecentmanager.c:
6208         (gtk_recent_manager_set_filename): Keep the default storage
6209         file in $HOME, as we don't have a migration code in place yet.
6210
6211 2008-04-18  Michael Natterer  <mitch@imendio.com>
6212
6213         * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
6214         g_strfreev() the uris returned by g_bookmark_file_get_uris().
6215
6216 2008-04-17  Michael Natterer  <mitch@imendio.com>
6217
6218         * gtk/gtkiconfactory.c (get_default_icons): register the
6219         GTK_STOCK_PAGE_SETUP icon.
6220
6221 2008-04-17  Michael Natterer  <mitch@imendio.com>
6222
6223         * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
6224         g_return_if_fail(tooltips != NULL);
6225
6226 2008-04-16  Tristan Van Berkom <tvb@gnome.org>
6227
6228         * gtk/gtkwindow.c: Chain up in buildable_finish()
6229
6230         * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
6231         cases where g_path_get_dirname() returns "."
6232
6233         * docs/reference/gtk/tmpl/gtklabel.sgml, 
6234         docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
6235         for the <attributes> tags on GtkLabel
6236
6237 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
6238
6239         * gtk/gtkrecentmanager.c:
6240         (gtk_recent_manager_real_changed): Fix last commit, and
6241         complete the gtk-recent-files-max-age semantics: if the
6242         property is set to 0 then purge the list.
6243
6244 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
6245
6246         Bug 488507 – boundless growth of .recently-used.xbel file
6247         slows down applications
6248
6249         * gtk/gtkrecentmanager.c:
6250         (gtk_recent_manager_init),
6251         (gtk_recent_manager_real_changed),
6252         (gtk_recent_manager_set_filename),
6253         (gtk_recent_manager_clamp_to_age): Clamp the recently
6254         used resources list by the age of its items, using
6255         the newly added GtkSettings property.
6256
6257         * gtk/gtksettings.c (gtk_settings_class_init): Add the
6258         gtk-recent-files-max-age property, controlling the
6259         maximum age of the items in the recently used resources
6260         list.
6261
6262 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
6263
6264         * gtk/gtkrecentmanager.c:
6265         (gtk_recent_manager_add_item_query_info),
6266         (gtk_recent_manager_add_item): Emit the ::changed signal
6267         at the end of the asynchronous MIME type query.
6268
6269 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
6270
6271         Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
6272         every 5 seconds
6273
6274         * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
6275         changes in the recently used resources storage file, and
6276         drop the timeout-based poll.
6277
6278         * ChangeLog: Fix attribution of the patch of the previous
6279         commit.
6280
6281 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
6282
6283         Bug 506062 – gtk_recent_manager_add_item does not detect mime
6284         type on Windows
6285
6286         * configure.in: Depend on gio-2.0
6287
6288         * gtk/gtkrecentmanager.c:
6289         (gtk_recent_manager_add_item_query_info_cb),
6290         (gtk_recent_manager_add_item): Use GIO to (asynchronously)
6291         query the MIME type of the passed URI (based on a patch by
6292         Armin Burgmeier)
6293
6294 2008-04-11  Carlos Garnacho  <carlos@imendio.com>
6295
6296         * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
6297         page to visited page list instead of next current page. (#527466,
6298         patch by Marcus Brinkmann)
6299
6300 2008-04-11  Tristan Van Berkom <tvb@gnome.org>
6301
6302         * gtk/gtklabel.c: Added <attributes> / <attribute>
6303         custom tags to parse pango attributes into labels (#527486).
6304
6305         * tests/buildertest.c: Added tests for GtkLabel custom
6306         tag parsing.
6307
6308 2008-04-10  Carlos Garnacho  <carlos@imendio.com>
6309
6310         * gtk/gtknotebook.c (hide_drag_window): Do not call
6311         gtk_widget_set_parent_window(), using widget->window instead of NULL
6312         to unset is the wrong thing, and gtk_widget_unparent() will already 
6313         take care of this (#467698, patch by Sébastien Granjoux)
6314
6315 2008-04-08  Tor Lillqvist  <tml@novell.com>
6316
6317         * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
6318         these functions with G_MODULE_EXPORT.
6319
6320 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
6321
6322         * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
6323         (gtk_file_system_volume_render_icon):
6324         Fix fallback icon rendering size
6325
6326 2008-04-08  Michael Natterer  <mitch@imendio.com>
6327
6328         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
6329         touchscreen-mode keynav corner case: when navigating to the parent
6330         menu, make sure we don't close two menus at the same time in case
6331         the deepest open menu has no selectable items.
6332
6333 2008-04-06  Tristan Van Berkom <tvb@gnome.org>
6334
6335         * gtk/gtkwidget.c: Clarified a g_warning message regarding
6336         parsing accelerators from builder files.
6337
6338 2008-04-03  Cody Russell  <bratsche@gnome.org>
6339
6340         * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
6341         of the block. (#526021, reported by Kazuki IWAMOTO)
6342
6343 2008-04-03  Tor Lillqvist  <tml@novell.com>
6344
6345         Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
6346         strange behavior
6347
6348         * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
6349         workaround for a specific kind of screwed up locale setting.
6350
6351 2008-04-02  Matthias Clasen  <mclasen@redhat.com>
6352
6353         * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
6354         colormaps.  Found by Daniel Berrange.
6355
6356 2008-04-02  Björn Lindqvist  <bjourne@gmail.com>
6357
6358         * tests/autotestfilechooser.c: Cover
6359         GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
6360         name. (#346058, Joe Halliwell)
6361
6362 2008-04-02  Federico Mena Quintero  <federico@novell.com>
6363
6364         Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
6365         chooser incorrectly substitutes and expands a ~ when you type it
6366         in the filename entry.
6367
6368         * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
6369         basenames result in a slash-terminated pathname.
6370         gtk_file_system_unix_parse() is correct, but it was splitting
6371         "/home/username" into path="/home" and file_part="username", which
6372         is not what the caller wants when the entry has just "~" or
6373         "~username".
6374
6375 2008-04-02  Tor Lillqvist  <tml@novell.com>
6376
6377         * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
6378         and gtksearchenginetracker.c on Windows.
6379
6380         * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
6381         on Windows.
6382
6383 2008-04-01  Cody Russell  <bratsche@gnome.org>
6384
6385         * configure.in: Bump required Cairo to 1.5.2.
6386
6387         * gtk/gtkprintoperation-win32.c: Add support for using the new
6388         cairo_win32_printing_surface for printing.  Also fixed to use
6389         cairo_surface_show_page(). (#488833 and #521178)
6390
6391 2008-03-31  Cody Russell  <bratsche@gnome.org>
6392
6393         * demos/gtk-demo/printing.c (draw_page): Move down each line in         
6394         units of text_height rather than in units of data->font_size.
6395         (totally awesome catch by Dom Lachowicz)
6396
6397 2008-03-28  Richard Hult  <richard@imendio.com>
6398
6399         * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
6400         (_gdk_quartz_events_trigger_crossing_events): Defer the generated
6401         event to the mainloop and don't generate one at all if the
6402         toplevel didn't change. Use the actual window and not the toplevel
6403         as event window. These changes make the generated crossing events
6404         match the X11 behavior and fixes issues with e.g. tooltips,
6405         comboboxes and menus.
6406
6407         * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
6408         the view has no window, it will be updated as soon as it's put
6409         inside a window.
6410
6411         * gdk/quartz/gdkwindow-quartz.c:
6412         (_gdk_quartz_window_debug_highlight): Make it possible to track
6413         multiple windows with debug highlighting.
6414         (show_window_internal): Remove workaround for tooltips and popups
6415         that is no longer needed with the above changes.
6416
6417 2008-03-26  Federico Mena Quintero  <federico@novell.com>
6418
6419         * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
6420         helper function; factored out from the functions that commit the
6421         current suggested autocompletion and that refresh the entry's paths.
6422         (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
6423         (_gtk_file_chooser_entry_get_file_part): Likewise.
6424         (_gtk_file_chooser_entry_get_current_folder): Likewise.  This
6425         makes the entry have the correct paths when *not* using any form
6426         of completion (and makes the file chooser work when clicking the
6427         OK button).
6428
6429 2008-03-25  Richard Hult  <richard@imendio.com>
6430
6431         * gdk/quartz/gdkevents-quartz.c:
6432         (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
6433         can't find a matching window.
6434
6435         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
6436         comment, and only trigger an event for non-temp windows, fixes
6437         problems for tooltips caused by the workarounds for the
6438         problematic tracking rect API.
6439
6440 2008-03-25  Richard Hult  <richard@imendio.com>
6441
6442         * gdk/quartz/gdkwindow-quartz.c:
6443         (gdk_window_quartz_process_all_updates): Plug a leak and add a
6444         check that we have a toplevel before accessing it.
6445
6446 2008-03-24  Tor Lillqvist  <tml@novell.com>
6447
6448         Bug 524151 - Dragging of 0-byte files results in an empty filename
6449         on Windows XP and above
6450
6451         * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
6452         being empty first. For some reason ISHellLink and IPersistFile
6453         succeeds in interpreting empty files as shortcuts, claiming the
6454         target of the shortcut is an empty path.
6455
6456         Change the function to take the wide character file name that the
6457         caller already has anyway, to avoid a superfluous conversion from
6458         UTF-8 to UTF-16.
6459
6460 2008-03-23  Björn Lindqvist  <bjourne@gmail.com>
6461
6462         * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
6463         against NULL pointer. (#467051, Gian Mario Tagliaretti)
6464
6465 2008-03-23  Cody Russell  <bratsche@gnome.org>
6466
6467         * gdk/win32/gdkevents-win32.c (show_window_recurse):
6468         Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
6469         ShowWindow (SW_RESTORE).  This fixes a problem where tearing off
6470         menus from a maximized window would force the window to restore
6471         its size. (#518846)
6472
6473 2008-03-23  Johan Dahlin  <johan@gnome.org>
6474
6475         * gtk/gtk-builder-convert:
6476         Properly convert GtkImageMenuItems which use stock labels but don't
6477         have any children.
6478         (#523932, Brian Pepple)
6479         
6480 2008-03-22  Matthew Barnes  <mbarnes@redhat.com>
6481
6482         * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
6483         New function implements GtkCellLayoutClass::get_cells.  (#523787)
6484
6485 2008-03-22  Tor Lillqvist  <tml@novell.com>
6486
6487         Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
6488
6489         * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
6490         GDK_THREADS_LEAVE() call. Approved by mclasen.
6491
6492 2008-03-22  Björn Lindqvist  <bjourne@gmail.com>
6493
6494         * gtk/gtkexpander.c (gtk_expander_get_label):
6495         gtk_label_get_label() should be used instead of
6496         gtk_label_get_text(). (#353088, Xan Lopez)
6497
6498 2008-03-21  Tor Lillqvist  <tml@novell.com>
6499
6500         Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
6501         Lachowicz and Alberto Ruiz into the GTK+ tree, from the
6502         gdip-pixbuf-loader module.
6503
6504         * configure.in: Add switch --disable-gdiplus-loaders that disables
6505         building of the GDI+ loaders.
6506
6507         When including loaders in the gdk-pixbuf library, and building
6508         GDI+ loaders, either build in all the GDI+ loaders or none of
6509         them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
6510         signal building them in.
6511
6512         Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
6513         whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
6514         indicate whether they should be built-in.
6515         
6516         For the rest of the changes, see gdk-pixbuf/ChangeLog.
6517         
6518 2008-03-20  Tor Lillqvist  <tml@novell.com>
6519
6520         * gtk/Makefile.am: Revert accidental change that went in as part
6521         of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
6522         Darwin. On Windows one has to use a newer GNU grep that has -o,
6523         for instance the one from gnuwin32, instead of the oldish one in
6524         MSYS that doesn't have -o.
6525
6526 2008-03-20  Tor Lillqvist  <tml@novell.com>
6527
6528         * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
6529         pass NULL for %s to g_message().
6530         (main): Drop unnecessary call to gtk_widget_destroy().
6531
6532 2008-03-20  Tor Lillqvist  <tml@novell.com>
6533
6534         Bug 314084 - GTK+ dialogs should not be placed partially offscreen
6535
6536         * gtk/gtkwindow.c (clamp): New function. Clamps a window position
6537         in one dimension, or centered in case it doesn't fit.
6538         (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
6539         dimensions.
6540
6541 2008-03-18  Tor Lillqvist  <tml@novell.com>
6542
6543         Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
6544         
6545         * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
6546         G_MODULE_ENTRY decoration can be put in a more correct place.
6547
6548 2008-03-18  Sven Neumann  <sven@gimp.org>
6549
6550         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
6551         alternative button order on the password dialog.
6552
6553 2008-03-18  Tor Lillqvist  <tml@novell.com>
6554
6555         Bug 99192 - Add --with-include-input-modules
6556
6557         * configure.in: Add --with-included-immodules switch. Handled in a
6558         similar way as the --with-included-loaders switch. For each input
6559         method module foo: Collect the list of input modules to be built
6560         into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
6561         -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
6562         Define Automake conditionals INCLUDE_IM_FOO.
6563
6564         * modules/input/Makefile.am: For modules to be included in libgtk,
6565         build a static library.
6566         
6567         * modules/input/im*.c: Use MODULE_ENTRY macros much like in
6568         gdk-pixbuf to get unique names for the functions called by libgtk
6569         in the included case. Use G_MODULE_EXPORT in the non-included case
6570         so that we don't unnecessarily export unneeded random global
6571         symbols on Windows.
6572
6573         * gtk/Makefile.am: Build the included modules and link them into libgtk.
6574
6575         * gtk/gtkimmodule.c: Handle the built-in modules. Remove
6576         copy/paste leftover mentions of "themes" in comments.
6577
6578 2008-03-18  Tor Lillqvist  <tml@novell.com>
6579
6580         * tests/Makefile.am: Build testmountoperation only on Unix for now.
6581
6582 2008-03-17  Christian Kellner  <gicmo@gnome.org>
6583
6584         Implement GtkMountOperation, a subclass of GMountOperation
6585         to be used with gio wherever there is the need to ask the
6586         user for credentials or questions while mounting a volume.
6587         This is bug #522245
6588
6589         * gtk/gtkmountoperation.c:
6590         * gtk/gtkmountoperation.h:
6591         Implement GtkMountOperation.
6592         
6593         * gtk/gtk.h: Add gtkmountoperation.h
6594         * gtk/Makefile.am: Add gtkmountoperation.[hc]
6595         * gtk/gtk.symbols: Add symbols of GtkMountOperation.
6596         * tests/testmountoperation.c: Test program for it.
6597         * tests/Makefile.am: Add testmountoperation.
6598
6599 2008-03-17  Emmanuele Bassi  <ebassi@gnome.org>
6600
6601         * gtk/gtkcontainer.c: Properly document
6602         gtk_container_set_focus_child(). (#521739, Andrew Cowie)
6603
6604 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
6605
6606         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
6607         style names for the ComboBox thickness style
6608
6609 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
6610
6611         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
6612         * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
6613         (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
6614         intelligent separation for the xp theming engine and the classic
6615         theme while drawing the GtkComboBox button.  combobox_draw_arrow
6616         is not used anymore, commented.  The style has been updated to fix
6617         border/thickness glitches in the combobox according to the fixes
6618         commited regarding bug #521442. (bug #461805)
6619
6620 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
6621
6622         * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
6623         now aware of both the combobox and frame (if has-frame is set)
6624         thickness and border. (bug #521442)
6625
6626 2008-03-15  Andre Klapper  <a9016009@gmx.de>
6627
6628         * configure.in: Added "si" to ALL_LINGUAS.
6629
6630 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
6631
6632         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
6633         Set window type hint on the search popup.  (#522279, Danny Baumann)
6634
6635 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
6636
6637         * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
6638         appropriate.  (#521934, Huang Peng)
6639
6640 2008-03-14  Michael Natterer  <mitch@imendio.com>
6641
6642         * gdk/gdkspawn.h
6643         * gtk/gtkbuilderprivate.h
6644         * gtk/gtkfilechoosersettings.c
6645         * gtk/gtksearchenginesimple.c
6646         * gtk/tests/liststore.c
6647         * gtk/tests/treestore.c: remove single-file includes of GLib
6648         headers or replace them by <glib.h> where needed.
6649
6650 2008-03-14  Michael Natterer  <mitch@imendio.com>
6651
6652         * gtk/gtkadjustment.c: coding style cleanup.
6653
6654         (gtk_adjustment_set_property): no need to call g_object_notify()
6655         on the set properties.
6656
6657         Implement GObject::dispatch_properties_changed() and make sure we
6658         emit "changed" when anything but the "value" property changes.
6659
6660 2008-03-14  Tor Lillqvist  <tml@novell.com>
6661
6662         * gdk/win32/gdkevents-win32.c: Drop the support for the
6663         MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
6664         Win95. Thanks to mitch for noticing this obsolete code.
6665
6666 2008-03-14  Cody Russell  <bratsche@gnome.org>
6667
6668         * examples/scribble-xinput/scribble-xinput.c: Changed
6669         'void int main()' to 'int main()'. (#522211, Liqing Huang)
6670         
6671 2008-03-14  Richard Hult  <richard@imendio.com>
6672
6673         * gdk/quartz/gdkwindow-quartz.c:
6674         (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
6675         only flush the toplevel once per update.
6676
6677 2008-03-13  Federico Mena Quintero  <federico@novell.com>
6678
6679         * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
6680         Set the mouse cursor of the feedback window to invisible, so that
6681         we respect GtkEntry's invisible cursor while typing.
6682
6683 2008-03-13  Federico Mena Quintero  <federico@novell.com>
6684
6685         * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
6686         the feedback window at entry_height/2 pixels to the right of the
6687         cursor, for a cheap "M-width / 2" spacing.
6688
6689 2008-03-13  Sven Neumann  <sven@gimp.org>
6690
6691         * gtk/gtkfilechooserdefault.c
6692         * gtk/gtkprintunixdialog.c: set alternative button order for
6693         overwrite confirmation dialogs (bug #522191).
6694
6695 2008-03-13  Sven Neumann  <sven@gimp.org>
6696
6697         * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
6698         (overwrite_confirmation_dialog): added some line-breaks for
6699         readability.
6700
6701 2008-03-12  Federico Mena Quintero  <federico@novell.com>
6702
6703         Rework the way completion works in GtkFileChooserEntry.  Fixes
6704         http://bugzilla.gnome.org/attachment.cgi?bugid=314873 - 
6705         Tab completion should work even if the cursor is not at the end of
6706         the entry.
6707
6708         * gtk/gtkfilechooserentry.c: Change the strategy by which we do
6709         completion.
6710
6711         We distinguish between two cases:
6712
6713                 - autocompletion - happens only in the Open modes by
6714                   inserting and selecting the common prefix as you type.
6715
6716                 - explicit completion - happens when you hit Tab.
6717
6718         When some type of completion needs to happen, the entry first
6719         parses its input and sees if it needs to initiate a folder load.
6720         Completion will not happen until the folder finishes loading.
6721
6722         If the folder is already completely loaded, then completion is
6723         performed immediately.  Otherwise, the entry queues a pending
6724         completion and starts loading the new folder (or waits until the
6725         current folder is completely loaded).
6726
6727         Tab completion is allowed to happen even if the cursor is not at
6728         the end of the entry.
6729
6730         There is a new feedback mechanism for explicit completion, so that
6731         you will get an Emacs-like tip whenever there are ambiguities in
6732         completion, no matches, etc.  (This needs to be polished so that
6733         we support RTL entries and all the fancy Pango layout in GtkEntry).
6734
6735         The only remaining thing to fix is the popup suggestion window.
6736         Unfortunately, GtkEntryCompletion does not let us do what we want,
6737         and will need further changes.
6738
6739 2008-03-12  Tor Lillqvist  <tml@novell.com>
6740
6741         Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
6742
6743         * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
6744         for the TaskbarCreated message in the window procedure for the
6745         dummy "tray observer" window we create. When we get a
6746         TaskbarCreated message, iterate over the status icons and re-add
6747         them to the task bar, and update them by calling
6748         gtk_status_icon_update_image().
6749
6750         Move some ifdefs around to avoid unused functions.
6751
6752 2008-03-12  Tor Lillqvist  <tml@novell.com>
6753
6754         * config.h.win32.in: Update to match what configure produces.
6755
6756 2008-03-12  Jens Granseuer  <jensgr@gmx.net>
6757
6758         * modules/printbackends/cups/gtkprintbackendcups.c:
6759         (cups_printer_prepare_for_print): Don't define variables in the
6760         middle of a block. (#522067)
6761
6762 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
6763
6764         * gtk/gtkprintunixdialog.c: Add an overwrite confirmation 
6765         dialog for print-to-file.  (#474302, Marek Kašík)
6766
6767 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
6768
6769         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
6770         (#469210, Wouter Bolsterlee)
6771
6772 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
6773
6774         * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak 
6775         paper_size here.  (#488820, Morten Welinder)
6776
6777 2008-03-12  Michael Natterer  <mitch@imendio.com>
6778
6779         * acconfig.h: remove this deprecated file.
6780
6781         * configure.in: added comments to all instances of AC_DEFINE() so
6782         config.h can be completely generated from configure.in.
6783
6784 2008-03-12  Michael Natterer  <mitch@imendio.com>
6785
6786         * modules/printbackends/cups/gtkprintbackendcups.c: include
6787         <glib/gstdio.h> for g_fopen().
6788
6789 2008-03-11  Matthias Clasen  <mclasen@redhat.com>
6790
6791         * modules/printbackends/cups/gtkprintbackendcups.c: Use
6792         g_ascii_formatd when formatting custom paper sizes, since
6793         cups doesn't handle , as decimal separator.  (#521548)
6794
6795 2008-03-11  Tor Lillqvist  <tml@novell.com>
6796
6797         Bug 469868 - Filenames with colon ":" are not saved correctly
6798
6799         * gtk/gtkfilechooserentry.c (insert_text_callback)
6800         (delete_text_callback) [Win32]: New functions to make sure that
6801         colons used otherwise than as a separator after a drive letter, or
6802         characters that are always illegal in file names, are rejected on
6803         input. This means that the GTK+ file chooser can't be used to
6804         input full names of alternate data streams, but oh well. There are
6805         still more checks that could be done on the file names, see the
6806         bug report. But this will do for now.
6807         (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
6808
6809 2008-03-11  Jordi Mallach  <jordi@sindominio.net>
6810
6811         * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
6812
6813 2008-03-11  Michael Natterer  <mitch@imendio.com>
6814
6815         * gdk/linux-fb/*: removed linux-fb backend files.
6816
6817         * acconfig.h
6818         * config.h.win32.in
6819         * docs/README.linux-fb
6820         * gtk/Makefile.am: remove remaining traces of linux-fb.
6821
6822         * gtk/gtkwindow-decorate.c: same here. There is some code that
6823         calls into linux-fb to set window move/resize callbacks. I put it
6824         in #if 0 as a reminder because we did use decorated windows with
6825         the DirectFB backend and it did work, so I don't really know why
6826         this code is needed or how it could work with DirectFB back then.
6827         The file does actually compile now if DECORATE_WINDOWS is defined,
6828         but I didn't test with DirectFB to check if it does anything.
6829
6830 2008-03-11  Alberto Ruiz  <aruiz@gnome.org>
6831
6832         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
6833         Take thickness into account in the size allocation of the child widgets in
6834         list mode.
6835         Fixes #521442
6836
6837 2008-03-11  Richard Hult  <richard@imendio.com>
6838
6839         * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
6840
6841 2008-03-10  Tor Lillqvist  <tml@novell.com>
6842
6843         * tests/teststatusicon.c (do_exit, popup_menu): Add the
6844         possibility to test what happens if the process just calls exit()
6845         without any orderly cleanup of GTK+.
6846
6847 2008-03-10  Tor Lillqvist  <tml@novell.com>
6848
6849         * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
6850
6851 2008-03-10  Tor Lillqvist  <tml@novell.com>
6852
6853         Bug 520286 - Non-deletable window has no minimize / maximize buttons
6854
6855         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
6856         New debugging output function that decodes a set of WS_* bits.
6857
6858         * gdk/win32/gdkprivate-win32.h: Declare it.
6859
6860         * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
6861         New function that enables or disables one menu entry in the system
6862         menu of a top-level window. (The corresponding decoration will
6863         then also be enabled or disabled (grayed).)
6864
6865         (update_style_bits): Do as the comment says and don't try to
6866         update the window style based on the GdkWMFunctions set for the
6867         window.
6868                    
6869         (update_system_menu): New function that enables or disables the
6870         system menu entries based on a window's stored set of
6871         GdkWMFunctions.
6872
6873         (gdk_window_set_functions): Call update_system_menu() instead of
6874         update_style_bits().
6875
6876 2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>
6877
6878         * README.in: Reword the 2.14 release notes entry about the
6879         deprecation of the gtkitemfactory.h header, and fix typos
6880         and grammar.
6881
6882 2008-03-08  Alberto Ruiz  <aruiz@gnome.org>
6883
6884         * modules/engines/ms-windows/msw_style.c (draw_shadow):
6885         Do not draw frame if parent if combobox.
6886         (draw_box):
6887         Uses scrollbar width system metrics for combobox button.
6888         Fixes #461805 for XP theme engine.
6889
6890 2008-03-07  Johan Dahlin  <johan@gnome.org>
6891
6892         * gtk/gtkbuilder.c:
6893         * gtk/gtkbuilderparser.c:
6894         * gtk/gtkbuilderprivate.h:
6895         * gtk/gtkiconfactory.c:
6896         * tests/buildertest.c:
6897         - Treat enums like enums and not values
6898         - Avoid invalid free, in case of more than two sources
6899         - Add better error messages
6900         - Add much improved tests
6901         (#520979, Christian Persch)
6902
6903 2008-03-07  Carlos Garnacho  <carlos@imendio.com>
6904
6905         * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
6906         Fix build.
6907
6908 2008-03-06  Federico Mena Quintero  <federico@novell.com>
6909
6910         Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
6911         GtkFileChooserDialog should set a default response button if the
6912         app doesn't set it.  Based on a patch by Chris Wang <chris.wang@sun.com>.
6913
6914         * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
6915         function, refactor from where there was duplicated code.
6916         (gtk_file_chooser_dialog_map): Look at the buttons in our
6917         action_area.  If the response ID for a button is one of the stock
6918         ones, make it the default response button.
6919
6920 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
6921
6922         * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
6923         * gtk/gtkbuilder.c:
6924         * gtk/gtkbuilderprivate.h:
6925         * gtk/gtkiconfactory.c:
6926         * tests/buildertest.c:
6927         Implement GtkBuildable on GtkIconFactory, to make
6928         it possible to register custom stock icons.
6929         Fixes #517066
6930
6931 2008-03-06  Johan Dahlin  <johan@gnome.org>
6932
6933         Make gtk-doc happy:
6934         
6935         * gtk/gtkstyle.c: npoints->n_points.
6936         * gtk/gtktestutils.h: widget->spinner
6937         * gtk/gtktestutils.c: argc->argcp, argv->argvp
6938
6939 2008-03-06  William Lachance <wrlach@gmail.com>
6940
6941         * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" 
6942         string localizable (as it should be). 
6943
6944 2008-03-06  William Lachance <wrlach@gmail.com>
6945
6946         * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
6947         the time for today's date. It's redudant. (see bug #410517).
6948
6949 2008-03-06  Xan Lopez  <xan@gnome.org>
6950
6951         * gtk/gtkfixed.c: fix typo in documentation.
6952
6953 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
6954
6955         * gtk/gtkitemfactory.h:
6956         * gtk/gtktypeutils.h:
6957         Move GtkTranslateFunc to gtktypeutils.h so we can completely
6958         deprecate gtkitemfactory.h. 
6959
6960         * gtk/gtkactiongroup.h:
6961         * gtk/gtkstock.h:
6962         Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
6963
6964         * README.in: 
6965         Add a note describing this slight incompatible change
6966         
6967 2008-03-06  Johan Dahlin  <johan@gnome.org>
6968
6969         * gtk/gtkpreview.h: Avoid double-deprecation.
6970
6971 2008-03-06  Michael Natterer  <mitch@imendio.com>
6972
6973         * gtk/gtk.h
6974         * gtk/Makefile.am: move the remaining deprecated widgets to the
6975         separate sections and replaced spaces by tabs in Makefile.am
6976
6977 2008-03-05  Johan Dahlin  <johan@gnome.org>
6978
6979         * configure.in: Add --disable-cups option.
6980         (#513826, Alberto Ruiz)
6981
6982         * gtk/gtk.h: 
6983         * gtk/Makefile.am:
6984         Separate broken and deprecated sources and headers into different sections
6985
6986         * tests/buildertest.c (test_list_store): Restore accidentally broken test.
6987
6988 2008-03-05  Kristian Rietveld  <kris@imendio.com>
6989
6990         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
6991         short-circuit in case an empty root level would be build (and thus
6992         directly destroyed) if no virtual root has been set.
6993
6994 2008-03-04  Matthias Clasen  <mclasen@redhat.com>
6995
6996         * modules/printbackends/cups/gtkprintbackendcups.c: 
6997         Honor cups user default options from ~/.cups/lpoptions
6998         (#469210, Stijn Hoop)
6999
7000 2008-03-04  Michael Natterer  <mitch@imendio.com>
7001
7002         * gtk/gtkcellview.c
7003         * gtk/gtkcolorbutton.c
7004         * gtk/gtkentrycompletion.c
7005         * gtk/gtkfontbutton.c
7006         * gtk/gtkiconview.c
7007         * gtk/gtkobject.c
7008         * gtk/gtkpaned.c
7009         * gtk/gtkpreview.c: don't include "gtksignal.h".
7010
7011         * gtk/gtkfilefilter.c
7012         * gtk/gtkrecentchoosermenu.c
7013         * gtk/gtkrecentfilter.c
7014         * gtk/gtktext.c: don't include "gtkobject.h".
7015
7016 2008-03-04  Simos Xenitellis  <simos@gnome.org>
7017
7018         Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
7019         - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
7020         
7021         * gdk/gdkkeysyms.h: Updated file from upstream (using script from 
7022         same directory).
7023         
7024         * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New 
7025         file, contains compose sequences that used to exist in 
7026         gtk/gtkimcontextsimple.c
7027
7028         * gtk/compose-parse.py: Script to generate compose 
7029         sequences from upstream (Xorg).
7030
7031         * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, 
7032         check_algorithmically): New functions. First two search in
7033         gtk_compose_seqs_compact[] for matching compose sequence, third
7034         tries NFC normalisation on incoming compose sequence.
7035         (gtk_im_context_simple_filter_keypress): 
7036         Adds searching with check_compact_table(), check_algorithmically().
7037
7038 2008-03-03  Carlos Garnacho  <carlos@imendio.com>
7039
7040         Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
7041         scrollwheel work in GtkPathBar.
7042
7043         * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
7044
7045         * gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
7046         an input-only window, event_window, which we'll use to capture
7047         scroll events.
7048         (gtk_path_bar_map): Show the event_window under the rest of the
7049         windows, so it will be a catch-all for unhandled events.
7050
7051 2008-03-03  Sven Neumann  <sven@gimp.org>
7052
7053         * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
7054         typo in the documentation of the GtkFileChooserButtons::file-set
7055         signal (see bug #353196).
7056
7057 2008-03-03  Tor Lillqvist  <tml@novell.com>
7058
7059         * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
7060         location.
7061
7062 2008-03-02  Johan Dahlin  <johan@gnome.org>
7063
7064         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
7065         Remove left-over focus_pad variable.
7066         (#490892, Claudio Saavedra)
7067
7068         * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
7069         (#518166, Matt Kraai)
7070
7071 2008-03-02  Johan Dahlin  <johan@gnome.org>
7072
7073         * docs/tutorial/gtk-tut.sgml: Add a missing space
7074         (#517954, Matt Kraai)
7075
7076 2008-03-03  Tor Lillqvist  <tml@novell.com>
7077
7078         * modules/engines/ms-windows/msw_style.c (draw_box): Check that
7079         the widget is a GtkButton before casting.
7080
7081 2008-03-02  Johan Dahlin  <johan@gnome.org>
7082
7083         * configure.in: Compare using = instead of ==, which is portable.
7084         (#490787, Thomas Klausner)
7085
7086 2008-03-02  Johan Dahlin  <johan@gnome.org>
7087
7088         * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
7089         fixes non-C++ build.
7090         (#496032, Nelson Benitez)
7091
7092 2008-02-29  Johan Dahlin  <johan@gnome.org>
7093
7094         * demos/gtk-demo/demo.ui:
7095         * gtk/gtkbuilderparser.c:
7096         * gtk/gtkbuilderprivate.h:
7097         * gtk/gtkliststore.c:
7098         * tests/buildertest.c:
7099         Add translatable/context and comment attributes on
7100         <col> tags under a GtkListStore. Refactor parts of the
7101         translation api and make it available inside gtk+ itself.
7102         Update tests and example.
7103         Fixes a part of #518642
7104
7105 2008-02-29  Johan Dahlin  <johan@gnome.org>
7106
7107         * gtk/gtkbuilder.c:
7108         Add missing g_return_val_if_fail checks for public API.
7109
7110         * gtk/gtkbuilderparser.c:
7111         * gtk/gtkbuilderprivate.h:
7112         Do not use g_error for a few more errors, instead set
7113         the GError sent in through add_from_file/add_from_string.
7114         * tests/buildertest.c:
7115         Add a couple of new parsing tests.
7116         (#519199, Pavel Syomin)
7117
7118 2008-02-29  Federico Mena Quintero  <federico@novell.com>
7119
7120         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
7121         refreshing an existing folder (i.e. when we are about to reload
7122         its file list), turn off the folder's is_finished_loading flag.
7123         Otherwise callers which do ::is_finished_loading() followed by
7124         ::list_children() will get nothing.
7125
7126 2008-02-29  Cody Russell  <bratsche@gnome.org>
7127
7128         * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
7129         say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
7130
7131 2008-02-28  Matthias Clasen  <mclasen@redhat.com>
7132
7133         * gtk/gtkcalendar.h: Remove trailing comma from enum to
7134         make the compiler happy.  (#517295, Sylvain Pasche)
7135
7136 2008-02-27  Michael Natterer  <mitch@imendio.com>
7137
7138         * gtk/gtkmenushell.c
7139         * gtk/gtktable.c
7140         * gtk/gtktext.c
7141         * gtk/gtktipsquery.c
7142         * gtk/gtktoolbar.c
7143         * gtk/gtktreeitem.c
7144         * gtk/gtktreeview.c
7145         * gtk/gtkviewport.c
7146         * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
7147         private functions and virtual function implementations.
7148
7149 2008-02-27  Richard Hult  <richard@imendio.com>
7150
7151         * gdk/quartz/GdkQuartzView.c:
7152         * gdk/quartz/GdkQuartzView.h:
7153         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
7154         Fix performance regression for borderless transparent windows
7155         with shadow.
7156
7157 2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>
7158
7159         * tests/testgtk.c: Revert back to r19454.
7160
7161 2008-02-27  Sven Neumann  <sven@gimp.org>
7162
7163         * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
7164         Quartz backend, use a native Mac OS X application for the print
7165         preview (bug #518624).
7166
7167 2008-02-26  Michael Natterer  <mitch@imendio.com>
7168
7169         * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
7170         the members of info->tag_stack since they are a) gobjects and b)
7171         not even owned by us, ugh... Fixes crash when deserializing fails.
7172
7173 2008-02-26  Sven Neumann  <sven@gimp.org>
7174
7175         * docs/tools/shooter.c (find_toplevel_window)
7176         * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
7177         argument passed to XQueryTree().
7178
7179 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
7180
7181         * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
7182         don't use beagle_query_add_hit_type.
7183
7184 2008-02-25  Richard Hult  <richard@imendio.com>
7185
7186         * gdk/quartz/gdkevents-quartz.c
7187         (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
7188
7189 2008-02-24  Richard Hult  <richard@imendio.com>
7190
7191         * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
7192         shown without gdk's control when clicking the dock icon.
7193
7194 2008-02-24  Richard Hult  <richard@imendio.com>
7195
7196         * gdk/quartz/gdkprivate-quartz.h:
7197         * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
7198         Use the subtype field for the custom event that is used to wake up
7199         the mainloop so we can have other custom event types.
7200
7201         * gdk/quartz/gdkevents-quartz.c:
7202         (_gdk_quartz_events_trigger_crossing_events):
7203         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
7204         crossing events after showing a window if necessary, to work
7205         around problems with the tracking rect API.
7206
7207 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
7208
7209         * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives 
7210         wrong results on win32 because it doesn't set the printing units, 
7211         which affect the transformation of the cairo context 
7212         (#347125, Erik van Pienbroek)
7213
7214 2008-02-22  Tor Lillqvist  <tml@novell.com>
7215
7216         * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
7217
7218 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
7219
7220         * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
7221         acceptable for a module to only support the save_to_callback()
7222         method if it marks itself as WRITABLE
7223
7224 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
7225         
7226         * configure.in: Bump version
7227
7228 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
7229
7230         * === Released 2.13.0 ===
7231
7232         * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
7233
7234 2008-02-21  Tor Lillqvist  <tml@novell.com>
7235
7236         * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
7237         pass the format string to strftime in the C library's locale's
7238         charset, not the system's. Correspondingly, the return value from
7239         strftime() is in the C library's locale's charset. (#509885)
7240
7241 2008-02-20  Richard Hult  <richard@imendio.com>
7242
7243         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
7244         the right window level and shadow after recreating the window.
7245
7246         * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
7247         necessary after drawing (bug #517338).
7248
7249 2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
7250
7251         * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
7252         call to g_type_class_unref in case of error. (#517563)
7253
7254 2008-02-18  Sven Neumann  <sven@gimp.org>
7255
7256         * gtk/Makefile.am (STOCK_ICONS)
7257         * gtk/stock-icons/16/gtk-page-setup.png
7258         * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
7259         taken from GNOME icon theme.
7260
7261         * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
7262
7263 2008-02-18  Runa Bhattacharjee <runabh@gmail.com>
7264
7265         * configure.in: Added Kannada (kn) to ALL_LINGUAS
7266
7267 2008-02-17  Johan Dahlin  <johan@gnome.org>
7268
7269         * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): 
7270         When converting a stock item based on the label, remove the label property.
7271
7272 2008-02-17  Richard Hult  <richard@imendio.com>
7273
7274         * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
7275         position after showing the window since the window manager might
7276         not place it where we requested in the first places.
7277
7278 2008-02-17  Richard Hult  <richard@imendio.com>
7279
7280         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
7281         (_gdk_quartz_window_detach_from_parent),
7282         (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
7283         the toplevel ordering list in all places where the order is
7284         potentially changed. Fixes mouse focus issues for windows with
7285         a transient parent set.
7286
7287 2008-02-17  Richard Hult  <richard@imendio.com>
7288
7289         * gdk/quartz/gdkevents-quartz.c
7290         (_gdk_quartz_events_update_mouse_window): Highlight the mouse
7291         window when event debugging is enabled.
7292
7293 2008-02-16  Richard Hult  <richard@imendio.com>
7294
7295         * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
7296         to the scroll event (bug #516757, Paul Davis).
7297
7298 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
7299
7300         * NEWS: Updates
7301
7302 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
7303
7304         * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
7305         Teppo Turtiainen)
7306
7307 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7308
7309         * gdk/Makefile.am: Don't install private headers. (#463510)
7310
7311         * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
7312         the installed header gdkprivate.h.
7313
7314 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7315
7316         * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
7317         a crash with hidden, reorderable tabs.  (#513230, 
7318         Mike Massonnet, patch by Carlos Garnacho)
7319
7320 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7321
7322         * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
7323         Warn on duplicate action group names.  (#501746, Christian
7324         Persch)
7325
7326 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7327
7328         * gtk/Makefile.am:
7329         * modules/other/gail/tests/Makefile.am:
7330         * modules/other/gail/libgail-util/Makefile.am:
7331         * modules/other/gail/Makefile.am: Fix builddir!=srcdir
7332         builds.  (#516254,  Yevgen Muntyan)
7333
7334 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7335
7336         * gtk/gtkentry.c:
7337         * gtk/gtkfilesel.c:
7338         * gtk/gtklabel.c:
7339         * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets 
7340         instead of hardcoded target tables.  (#516092, Christian Persch)
7341
7342 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7343
7344         * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
7345         add the same target atom twice.  (#516087, Christian Persch)
7346
7347 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7348
7349         * tests/testfilechooser.c: Add a --backend option.
7350         (#516073, Christian Persch)
7351
7352 2008-02-16  Richard Hult  <richard@imendio.com>
7353
7354         * gdk/quartz/gdkprivate-quartz.h:
7355         * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
7356         gdkwindow.
7357
7358 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7359
7360         * configure.in: Go back to 2.13.0 as version for now,
7361         as there was no consensus to do the jump.
7362
7363         * many other places: Update Since: tags.
7364
7365 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7366
7367         * gtk/gtk.symbols: Add gtk_tool_shell_get_type
7368
7369         * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
7370
7371 2008-02-15  Richard Hult  <richard@imendio.com>
7372
7373         * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
7374         instead of bounds when resizing windows.
7375
7376 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
7377
7378         * gdk/x11/gdkkeys-x11.c:
7379         * gdk/x11/gdkcolor-x11.c:
7380         * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
7381
7382 2008-02-15  Matthias Clasen <mclasen@redhat.com>
7383
7384         * gdk/x11/gdktestutils-x11.c:
7385         * gdk/x11/gdkscreen-x11.c: Documentation fixes.
7386
7387 2008-02-15  Tor Lillqvist  <tml@novell.com>
7388
7389         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
7390         leak Registry key handles. (#516578)
7391
7392 2008-02-14  Richard Hult  <richard@imendio.com>
7393
7394         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
7395         makeKeyWindow unfortunately doesn't work in all cases, we must use
7396         makeKeyAndOrderFront.
7397
7398 2008-02-14  Richard Hult  <richard@imendio.com>
7399
7400         * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
7401         (gdk_window_hide), (gdk_window_fullscreen),
7402         (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
7403         the window is hidden.
7404
7405 2008-02-14  Richard Hult  <richard@imendio.com>
7406
7407         * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
7408         resizing to be consistent and to avoid introducing an internal
7409         transform in the view.
7410
7411 2008-02-14  Richard Hult  <richard@imendio.com>
7412
7413         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
7414         fix.
7415
7416 2008-02-14  Johan Dahlin  <johan@gnome.org>
7417
7418         * gdk/gdktestutils.h
7419         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
7420
7421 2008-02-13  Richard Hult  <richard@imendio.com>
7422
7423         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
7424         Remove unused variables.
7425         (gtk_clipboard_set_contents),
7426         (gtk_clipboard_get_owner), (clipboard_unset),
7427         (gtk_clipboard_request_targets): Notify the previous clipboard
7428         owner when the owner changes. Fixes bug #493406.
7429         
7430 2008-02-13  Richard Hult  <richard@imendio.com>
7431
7432         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
7433         the return value (return number of colors that failed), and handle
7434         RGBA colormap.
7435         (gdk_colormap_free_colors): Fix typo in comment.
7436
7437 2008-02-13  Kristian Rietveld  <kris@imendio.com>
7438
7439         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
7440         queue a redraw if the rubber banding has actually been active.
7441
7442 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
7443
7444         * gtk/gtkpapersize.c:
7445         * gtk/gtkprintoperation.c:
7446         * gtk/gtkvolumebutton.c:
7447         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
7448         out by Behdad Esfahbod.
7449
7450 2008-02-12  Federico Mena Quintero  <federico@novell.com>
7451
7452         Merged from gtk-2-12:
7453
7454         Don't focus the file list when shortcuts get activated.  This
7455         removes a lot of ambiguity in when the file selection should
7456         change, and makes the overall code flow simpler.
7457
7458         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
7459         file/save dialog clears the filename entry when changing
7460         directories.
7461
7462         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
7463         focus should not go to the file list when a shortcut is activated.
7464
7465         * gtk/gtkfilechooserdefault.c
7466         (shortcuts_activate_volume_mount_cb): Don't focus the file list
7467         (shortcuts_activate_get_info_cb): Likewise.
7468
7469         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
7470         the file list (this was the last place where we would focus the
7471         file list explicitly).  If you are in the location entry, for
7472         example, you don't want Alt-Home to take you to the file list; you
7473         just want the current folder to change.  Thanks to Olle Bergkvist
7474         <olle.bergkvist@yahoo.se> for pointing this out in
7475         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
7476         (focus_browse_tree_view_if_possible): Removed.
7477
7478 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
7479
7480         Skip exensions when selecting filenames in the save-as dialog.
7481         (#362516, Carlos Garnacho)
7482
7483         * gtk/gtkfilechooserentry.h:
7484         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
7485         New function to skip the extension part when selecting a filename.
7486         (_gtk_file_chooser_entry_set_base_folder): Use it here.
7487
7488         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
7489         ...and here.
7490
7491 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
7492
7493         * gtk/gtkiconview.c: Fix state change reporting for 
7494         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
7495
7496 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
7497
7498         * gtk/gtkrecentchooser.c:
7499         (gtk_recent_chooser_class_init): Set the default value of the
7500         :show-not-found property to TRUE, as every implementation sets
7501         it to TRUE already.
7502
7503         * gtk/gtkrecentchooserdefault.c:
7504         (_gtk_recent_chooser_default_init): Sync show_tips to the
7505         default value of the :show-tips property.
7506
7507 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
7508
7509         * gtk/gtkclipboard-quartz.c:
7510         * gtkquartz.c:
7511         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
7512         Christian Persch)
7513
7514 2008-02-12  Kristian Rietveld  <kris@imendio.com>
7515
7516         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
7517         (gtk_tree_view_real_toggle_cursor_row): guard against people
7518         deleting the row in question in the selection-changed callback.
7519         (#514621, Andreas Koehler).
7520
7521 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
7522
7523         * gtk/*.c: Unify the handling of various "Enter" keysyms
7524         all over the place.  (#515047, Christian Persch)
7525
7526 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
7527
7528         * gtk/gtkfilesystemmodel.c:
7529         * gtk/gtkprinter.c:
7530         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
7531         appropriate.  (#515042, Christian Persch)
7532
7533 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
7534
7535         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
7536         
7537 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
7538
7539         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
7540
7541 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
7542
7543         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
7544         (recent_model_sort_drag_data_get):
7545         (search_model_sort_drag_data_get):
7546         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
7547         * gtk/gtkpathbar.c (button_drag_data_get_cb):
7548         Use gtk_selection_data_set_uris() instead of doing it
7549         by hand.  (#514890, Christian Persch)
7550
7551 2008-02-12  Michael Natterer  <mitch@imendio.com>
7552
7553         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
7554         gtk_get_current_event_time().
7555
7556 2008-02-12  Michael Natterer  <mitch@imendio.com>
7557
7558         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
7559         gtk_window_get_key_hash() to get the hash instead of manually
7560         fiddling with quarks and gtk_window_keys_changed(). Also add
7561         g_return_if_fail() to this public function.
7562
7563 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
7564
7565         Support keynav in status icons.  (#473786, Li Yuan)
7566
7567         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
7568
7569         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
7570
7571 2008-02-11  Kristian Rietveld  <kris@imendio.com>
7572
7573         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
7574         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
7575         wrt. link deletion from list; contination of fix for #503569.
7576
7577 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
7578
7579         * gtk/gtkrecentchoosermenu.c:
7580         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
7581         on the placeholder menu item.
7582
7583         * tests/testrecentchoosermenu.c:
7584         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
7585         whether the placeholder menu item gets shown.
7586
7587 2008-02-10  Cody Russell  <bratsche@gnome.org>
7588
7589         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
7590         Check the return value of _gtk_file_chooser_get_file_system () for
7591         NULL before passing it to gtk_file_system_path_to_uri ().
7592         (#515667, Francesco Montorsi)
7593
7594 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
7595
7596         * gtk/gtkbuilder.c: Improve the documentation for
7597         gtk_builder_connect_signals. (#514471)
7598
7599 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
7600
7601         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
7602         Jonh Wendell)
7603
7604 2008-02-08  Cody Russell  <bratsche@gnome.org>
7605
7606         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
7607         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
7608
7609 2008-02-08  Richard Hult  <richard@imendio.com>
7610
7611         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
7612         delta from the NSEvent for now, generating multiple scroll events
7613         results in a lot of events getting queued up and things get really
7614         slow.
7615
7616 2008-02-08  Sven Herzberg  <sven@imendio.com>
7617
7618         Adjust the code to match the documentation, examples, "common sense"
7619         and existing applications.
7620
7621         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
7622         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
7623         assigned
7624
7625 2008-02-07  Cody Russell  <bratsche@gnome.org>
7626
7627         * gdk/win32/gdkevents-win32.c
7628         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
7629         of a block that were causing compile problems on old
7630         compilers. (#515053, reported by Kazuki IWAMOTO)
7631         
7632 2008-02-07  Michael Natterer  <mitch@imendio.com>
7633
7634         * gtk/gtkcellview.c
7635         * gtk/gtklabel.c
7636         * gtk/gtklayout.c
7637         * gtk/gtklist.c
7638         * gtk/gtkmenu.c
7639         * gtk/gtkmenushell.c
7640         * gtk/gtkmisc.c
7641         * gtk/gtkoptionmenu.c
7642         * gtk/gtkplug.c
7643         * gtk/gtkpreview.c
7644         * gtk/gtkprogress.c
7645         * gtk/gtkradiomenuitem.c
7646         * gtk/gtkscale.c
7647         * gtk/gtkscrolledwindow.c
7648         * gtk/gtksocket.c: remove g_return_if_fail() from private
7649         functions and virtual function implementations.
7650
7651 2008-02-07  Michael Natterer  <mitch@imendio.com>
7652
7653         * gtk/gtkaction.c
7654         * gtk/gtkassistant.c
7655         * gtk/gtkbin.c
7656         * gtk/gtkbox.c
7657         * gtk/gtkcalendar.c
7658         * gtk/gtkcellrenderercombo.c
7659         * gtk/gtkcombobox.c
7660         * gtk/gtkcombo.c
7661         * gtk/gtkdrawingarea.c
7662         * gtk/gtkentrycompletion.c
7663         * gtk/gtkfixed.h
7664         * gtk/gtkgamma.c
7665         * gtk/gtkhpaned.c
7666         * gtk/gtkiconview.c
7667         * gtk/gtkitem.c
7668         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
7669         functions and virtual function implementations.
7670
7671 2008-02-07  Christian Persch  <chpe@gnome.org>
7672
7673         * gdk/gdkpixbuf-render.c:
7674         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
7675         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
7676         otherwise there will be random pixel values in the semi-transparent
7677         area of the pixbuf within the mask. Bug #487865.
7678
7679 2008-02-06  Cody Russell  <bratsche@gnome.org>
7680
7681         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
7682         otherwise things get wonky when you click on a menu.  This fixes
7683         a regression caused in #505928.  Thanks to Tor for spotting this
7684         one!  (#514789)
7685
7686 2008-02-06  Michael Natterer  <mitch@imendio.com>
7687
7688         * gtk/gtkcontainer.c
7689         * gtk/gtkexpander.c
7690         * gtk/gtkframe.c
7691         * gtk/gtklabel.c
7692         * gtk/gtkmain.c
7693         * gtk/gtkmenu.c
7694         * gtk/gtkmenuitem.c
7695         * gtk/gtkmenushell.c
7696         * gtk/gtknotebook.c
7697         * gtk/gtkseparatortoolitem.c
7698         * gtk/gtksocket.c
7699         * gtk/gtktextlayout.c
7700         * gtk/gtktoggletoolbutton.c
7701         * gtk/gtktoolbutton.c
7702         * gtk/gtktoolitem.c
7703         * gtk/gtktree.c
7704         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
7705         "GTK_IS_FOO (foo)".
7706
7707 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
7708
7709         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
7710         Allow to store half-open ranges.
7711
7712 2008-02-05  Cody Russell  <bratsche@gnome.org>
7713
7714         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
7715         down the stack until we get to a window that is mapped.
7716         Otherwise hiding a window will cause all windows in the app
7717         to be blocked. (#514643)
7718
7719 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
7720
7721         * gtk/updateiconcache.c: Ignore images in the toplevel theme
7722         directory, avoiding one source of invalid caches that has been
7723         spotted in the wild.
7724
7725 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
7726
7727         * gtk/updateiconcache.c: Fix the previous commit to compile.
7728
7729 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
7730
7731         * gtk/updateiconcache.c: Install a printerr handler that
7732         prepends the program name, since gtk-update-icon-cache output
7733         often appears in the middle of other output, e.g. rpm update logs.
7734
7735 2008-02-05  Cody Russell  <bratsche@gnome.org>
7736
7737         * gdk/win32/gdkprivate-win32.h
7738         * gdk/win32/gdkevents-win32.c
7739         * gdk/win32/gdkwindow-win32.c
7740         * gdk/win32/gdkwindow-win32.h
7741         * gdk/win32/gdkwin32.h:
7742         Modal window rework.  (#455627 and #511111)
7743
7744 2008-02-04  Michael Natterer  <mitch@imendio.com>
7745
7746         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
7747         g_return_if_fail() if the cell is not part of the combo instead of
7748         crashing in the next line.
7749
7750 2008-02-01  Cody Russell  <cody@jhu.edu>
7751
7752         * modules/engines/ms-windows/xp_theme.[ch]
7753         * modules/engines/ms-windows/xp_theme_defs.h
7754         * modules/engines/ms-windows/msw_rc_style.c
7755         * modules/engines/ms-windows/msw_theme_main.c
7756         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
7757         attempted to stylize more like the rest of the gtk+ stack's code.
7758
7759 2008-02-01  Michael Natterer  <mitch@imendio.com>
7760
7761         * tests/testgtk.c: initialize GdkColor structs to fix warning
7762         about uninitialized "pixel" member.
7763
7764         * tests/testactions.c: connect the toolbar_style() callback so it
7765         does something useful and doesn't warn about being defined but not
7766         used.
7767
7768 2008-01-31  Cody Russell  <bratsche@gnome.org>
7769
7770         * gdk/win32/gdkevents-win32.c:
7771         Refactored some of the window hiding/showing code from
7772         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
7773         under WM_ACTIVATE was causing the application to go into
7774         a weird state when the user right-clicked on the taskbar
7775         entry of a window that was minimized.  (#505928)
7776         
7777 2008-01-31  Cody Russell  <bratsche@gnome.org>
7778
7779         * gtk/gtkpaned.c (gtk_paned_set_position):
7780         Change queue_resize() to queue_draw(), and add a check for
7781         child2 != NULL in case someone calls this before there is
7782         a child packed in there.  (#144269 again)
7783
7784 2008-01-31  Sven Neumann  <sven@gimp.org>
7785
7786         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
7787         applied patch from Denis Oliver Kropp <dok@directfb.org>.
7788
7789 2008-01-31  Sven Neumann  <sven@gimp.org>
7790
7791         * gdk/directfb/gdkdisplay-directfb.c
7792         * gdk/directfb/gdkdrawable-directfb.c
7793         * gdk/directfb/gdkprivate-directfb.h
7794         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7795         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
7796
7797 2008-01-31  Richard Hult  <richard@imendio.com>
7798
7799         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
7800         issues with undecorated windows. Revert the change done on
7801         2008-01-25 and fix it by using the view's bounds instead. The
7802         bounds will always be up to date when setting up the tracking
7803         rect, so this should be more robust.
7804
7805 2008-01-30  Sven Neumann  <sven@gimp.org>
7806
7807         * gdk/directfb/gdkdrawable-directfb.c
7808         * gdk/directfb/gdkwindow-directfb.c
7809         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
7810         Oliver Kropp <dok@directfb.org>. Adds debug messages using
7811         DirectFB's debugging system
7812
7813 2008-01-30  Sven Neumann  <sven@gimp.org>
7814
7815         * gdk/directfb/gdkdirectfb.h
7816         * gdk/directfb/gdkdisplay-directfb.c
7817         * gdk/directfb/gdkdrawable-directfb.c
7818         * gdk/directfb/gdkim-directfb.c
7819         * gdk/directfb/gdkimage-directfb.c
7820         * gdk/directfb/gdkinput-directfb.c
7821         * gdk/directfb/gdkmain-directfb.c
7822         * gdk/directfb/gdkpixmap-directfb.c
7823         * gdk/directfb/gdktestutils-directfb.c
7824         * gdk/directfb/gdkvisual-directfb.c
7825         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
7826         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
7827         errors and has some cleanups.
7828
7829 2008-01-30  Michael Natterer  <mitch@imendio.com>
7830
7831         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
7832         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
7833         aliasing warning.
7834
7835         * gtk/updateiconcache.c (add_string): cast const gchar* to
7836         gpointer when inserting in a GHashTable.
7837
7838         * tests/testcalendar.c (calendar_detail_cb): remove const from
7839         return value since it's a newly allocated string.
7840
7841         (calendar_update_details): free the detail.
7842
7843 2008-01-29  Johan Dahlin  <johan@gnome.org>
7844
7845         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
7846         (do_builder):
7847         * demos/gtk-demo/demo.ui:
7848         Move the about dialog to the glade file, add accessible tags
7849         examples to the markup file.
7850
7851 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
7852
7853         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
7854         layout, fixes #512375.
7855
7856 2008-01-28  Michael Natterer  <mitch@imendio.com>
7857
7858         * gtk/gtktextchild.c
7859         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
7860
7861 2008-01-28  Michael Natterer  <mitch@imendio.com>
7862
7863         * demos/gtk-demo/builder.c (about_activate): use
7864         gtk_about_dialog_set_program_name() instead of the deprecated
7865         set_name().
7866
7867 2008-01-28  Michael Natterer  <mitch@imendio.com>
7868
7869         * gtk/gtktextchild.c
7870         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
7871         is deprecated now).
7872
7873 2008-01-26  Johan Dahlin  <johan@gnome.org>
7874
7875         * tests/Makefile.am:
7876         * tests/textbuffertest.c:
7877         Rename textbuffer test and port it to the new test framework
7878         
7879 2008-01-25  Johan Dahlin  <johan@gnome.org>
7880
7881         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
7882         unsetting of GTK_MODULES.
7883
7884         * gtk/gtk-builder-convert
7885         (GtkBuilderConverter._convert_adjustment): Handle the case where
7886         there is no child text node.
7887         (GtkBuilderConverter): Allow xml comments in most places.
7888
7889 2008-01-25  Johan Dahlin  <johan@gnome.org>
7890
7891         * gtk/gtk-builder-convert
7892         (GtkBuilderConverter._convert_combobox_items): Remove the items
7893         even if there are no items set.
7894         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
7895         signals and tooltips for all menu items subclasses and 
7896         GtkImageMenuItem:label. 
7897         Makes it possible to fully convert and run Jokosher.glade.
7898
7899 2008-01-25  Johan Dahlin  <johan@gnome.org>
7900
7901         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
7902         (gtk_widget_buildable_get_internal_child), (free_action),
7903         (free_relation), (gtk_widget_buildable_parser_finished),
7904         (accessibility_start_element),
7905         (gtk_widget_buildable_custom_tag_start),
7906         (gtk_widget_buildable_custom_finished):
7907         Implement accessible support, fixes #454653.
7908
7909         * gtk/gtk-builder-convert:
7910         Add support for migrating old glade files
7911         
7912         * tests/buildertest.c: (test_widget), (test_file):
7913         Add accessible tests and imprve the test_file function to display
7914         toplevels and run dialogs.
7915
7916 2008-01-25  Richard Hult  <richard@imendio.com>
7917
7918         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
7919         didn't change, fixes focus event issues for undecorated windows.
7920
7921 2008-01-25  Richard Hult  <richard@imendio.com>
7922
7923         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
7924         const and remove unused variables).
7925
7926 2008-01-25  Michael Natterer  <mitch@imendio.com>
7927
7928         * gtk/gtkbutton.h
7929         * gtk/gtkcellrenderer.h
7930         * gtk/gtkimcontext.h
7931         * gtk/gtkstyle.h
7932         * gtk/gtktoolbar.h
7933         * gtk/gtktooltip.h
7934         * gtk/gtktreeprivate.h
7935         * gtk/gtktreeviewcolumn.h
7936         * gtk/gtkwidget.h: add const to constant structs which are passed
7937         into GTK+. Also add some forgotten const for const strings.
7938         Fixes bug #511554.
7939
7940         * gtk/gtkbutton.c
7941         * gtk/gtkcellrenderer.c
7942         * gtk/gtkimcontext.c
7943         * gtk/gtkstyle.c
7944         * gtk/gtktoolbar.c
7945         * gtk/gtktooltip.c
7946         * gtk/gtktreeview.c
7947         * gtk/gtktreeviewcolumn.c
7948         * gtk/gtkwidget.c: changed accordingly.
7949
7950 2008-01-25  Sven Herzberg  <sven@imendio.com>
7951
7952         Reviewed by Johan Dahlin.
7953
7954         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
7955         this is called with something that's not a GtkUIManager
7956
7957 2008-01-24  Johan Dahlin  <johan@gnome.org>
7958
7959         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
7960         Chain up to parent, so widgets can have internal children.
7961
7962 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
7963
7964         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
7965         IWAMOTO).
7966
7967         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
7968
7969 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
7970
7971         Use pango_layout_set_height() for calendar details (#506049).
7972
7973         * configure.in: Require 1.19.3 for pango_layout_set_height().
7974         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
7975
7976 2008-01-18  Johan Dahlin  <johan@gnome.org>
7977
7978         * gtk/gtk-builder-convert (get_property_node): New method
7979         (GtkBuilderConverter._create_object): Conditionally take a node as
7980         a property value, so don't lose translate/context attributes if they
7981         are set. 
7982         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
7983         property values instead of strings.
7984         (#509153, Erik van Pienbroek)
7985
7986 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
7987
7988         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
7989
7990         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
7991         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
7992         * tests/testcalendar.c: Duplicate calendar details before returning.
7993
7994 2008-01-16  Christian Persch  <chpe@gnome.org>
7995
7996         * gtk/gtkwidget.c: Store the event mask and extension event mode
7997         directly in the gobject data pointer, instead of in an allocated
7998         gint. Bug #506604.
7999
8000 2008-01-16  Michael Natterer  <mitch@imendio.com>
8001
8002         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
8003         gdk-pixbuf now uses gio functions.
8004
8005 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
8006
8007         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
8008         the notify::model signal.  (#509819, David Zeuthen)
8009
8010 2008-01-15  Michael Natterer  <mitch@imendio.com>
8011
8012         * gdk/gdkdisplay.h
8013         * gdk/gdkdrawable.h
8014         * gdk/gdkevents.h
8015         * gdk/gdkpango.h
8016         * gdk/gdkregion.h
8017         * gdk/gdkrgb.h
8018         * gdk/gdkwindow.h: made more struct pointer and array parameters
8019         const. GDK should now be constified as far as possible without
8020         breaking source compatibility. Includes some minor cleanup like
8021         indentation and s/nfoo/n_foo/ (bug #508544).
8022
8023         * gdk/gdkdisplay.c
8024         * gdk/gdkdraw.c
8025         * gdk/gdkevents.c
8026         * gdk/gdkpango.c
8027         * gdk/gdkregion-generic.c
8028         * gdk/gdkrgb.c
8029         * gdk/directfb/gdkdisplay-directfb.c
8030         * gdk/directfb/gdkwindow-directfb.c
8031         * gdk/quartz/gdkdisplay-quartz.c
8032         * gdk/quartz/gdkwindow-quartz.c
8033         * gdk/win32/gdkdisplay-win32.c
8034         * gdk/win32/gdkwindow-win32.c
8035         * gdk/x11/gdkdisplay-x11.c
8036         * gdk/x11/gdkwindow-x11.c: changed accordingly.
8037
8038 2008-01-14  Michael Natterer  <mitch@imendio.com>
8039
8040         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
8041         const warning.
8042
8043         (gtk_rc_parse_any): change variables to const and introduce
8044         another local variable to fix const warnings.
8045
8046 2008-01-14  Michael Natterer  <mitch@imendio.com>
8047
8048         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
8049         of gdk_screen_get_font_options() to gpointer to get rid of const
8050         warning.
8051
8052 2008-01-14  Michael Natterer  <mitch@imendio.com>
8053
8054         * tests/testdnd.c (source_drag_data_get): fix another call to
8055         gtk_selection_data_set().
8056
8057 2008-01-14  Michael Natterer  <mitch@imendio.com>
8058
8059         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
8060         signedness warning.
8061
8062 2008-01-14  Michael Natterer  <mitch@imendio.com>
8063
8064         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
8065
8066 2008-01-14  Michael Natterer  <mitch@imendio.com>
8067
8068         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
8069         "uris" to guchar* when passing it to gtk_selection_data_set().
8070
8071 2008-01-14  Michael Natterer  <mitch@imendio.com>
8072
8073         * gdk/gdk.h
8074         * gdk/gdkcairo.h
8075         * gdk/gdkcolor.h
8076         * gdk/gdkgc.h
8077         * gdk/gdkinternals.h
8078         * gdk/gdkregion.h
8079         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
8080         parameters const (bug #508544).
8081
8082         * gdk/gdkcairo.c
8083         * gdk/gdkgc.c
8084         * gdk/gdkwindow.c
8085         * gdk/gdkrectangle.c
8086         * gdk/gdkpolyreg-generic.c
8087         * gdk/gdkregion-generic.c
8088         * gdk/directfb/gdkcolor-directfb.c
8089         * gdk/directfb/gdkgc-directfb.c
8090         * gdk/directfb/gdkgeometry-directfb.c
8091         * gdk/directfb/gdkwindow-directfb.c
8092         * gdk/quartz/gdkcolor-quartz.c
8093         * gdk/quartz/gdkgc-quartz.c
8094         * gdk/quartz/gdkgeometry-quartz.c
8095         * gdk/quartz/gdkwindow-quartz.c
8096         * gdk/win32/gdkcolor-win32.c
8097         * gdk/win32/gdkgc-win32.c
8098         * gdk/win32/gdkgeometry-win32.c
8099         * gdk/win32/gdkprivate-win32.h
8100         * gdk/win32/gdkwindow-win32.c
8101         * gdk/x11/gdkcolor-x11.c
8102         * gdk/x11/gdkgc-x11.c
8103         * gdk/x11/gdkgeometry-x11.c
8104         * gdk/x11/gdkmain-x11.c
8105         * gdk/x11/gdkprivate-x11.h
8106         * gdk/x11/gdkwindow-x11.c: changed accordingly.
8107
8108         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
8109         headers.
8110
8111 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
8112
8113         Explain name choice for gtk_tool_item_toolbar_reconfigured.
8114
8115         * gtk/gtktoolitem.c: Add comment expaining name choice for
8116         gtk_tool_item_toolbar_reconfigured.
8117
8118 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
8119
8120         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
8121         implementations to notify its children, when some aspect of their
8122         configuration changed (#509042).
8123
8124         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
8125         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
8126         Rename _gtk_tool_item_toolbar_reconfigured.
8127
8128 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
8129
8130         Include <gtk/gtktoolshell.h> from gtk.h.
8131
8132         * gtk/gtk.h: Add gtktoolshell.h
8133
8134 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
8135
8136         Print angle brackets arround e-mail addresses in the about dialog
8137         (#409520, Mariano Suárez-Alvarez).
8138
8139         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
8140
8141 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
8142
8143         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
8144         special casing so test widgets are always queues for destruction
8145         during teardown.
8146
8147         * gtk/tests/testing.c: removed bits left-over from testing without
8148         gtestutils.h.
8149
8150 2008-01-10  Tor Lillqvist  <tml@novell.com>
8151
8152         * modules/other/gail/libgail-util/Makefile.am
8153         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
8154         gdktargetlib.
8155         
8156 2008-01-10  Tor Lillqvist  <tml@novell.com>
8157
8158         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
8159         uses gtkprintunixdialog API.
8160
8161 2008-01-10  Tor Lillqvist  <tml@novell.com>
8162
8163         * gdk/win32/gdkdisplay-win32.c
8164         * gdk/win32/gdkglobals-win32.c
8165         * gdk/win32/gdkprivate-win32.h
8166         * gdk/win32/gdkscreen-win32.c
8167         * gdk/win32/gdkwindow-win32.c: Implement
8168         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
8169         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
8170         Iwamoto. (#505753)
8171
8172 2008-01-10  Cody Russell  <bratsche@gnome.org>
8173
8174         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
8175         Properly ref/unref windows and parents.  (#506769)
8176
8177 2008-01-10  Richard Hult  <richard@imendio.com>
8178
8179         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
8180         (gdk_window_hide), (move_resize_window_internal): Move the
8181         tracking rect workaround from here...
8182
8183         * gdk/quartz/GdkQuartzWindow.c:
8184         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
8185         movements during showing/hiding operations. Fixes bug #508516.
8186
8187 2008-01-10  Michael Natterer  <mitch@imendio.com>
8188
8189         * gdk/directfb/gdkscreen-directfb.c
8190         (gdk_screen_get_monitor_width_mm)
8191         (gdk_screen_get_monitor_height_mm)
8192         (gdk_screen_get_monitor_plug_name): add these functions to make
8193         it build again.
8194
8195 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
8196
8197         * gtk/gtkrecentchoosermenu.c:
8198         (idle_populate_func), (idle_populate_clean_up): Fix possible
8199         recursion by resetting the idle source id. (#507605, William
8200         Pitcock)
8201
8202 2008-01-10  Kristian Rietveld  <kris@imendio.com>
8203
8204         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
8205         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
8206         avoid valgrind warnings.  (#507751, patch from Christian Persch).
8207
8208 2008-01-10  Kristian Rietveld  <kris@imendio.com>
8209
8210         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
8211         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
8212
8213 2008-01-10  Kristian Rietveld  <kris@imendio.com>
8214
8215         Fix #477175, reported by Juri Pakaste.
8216
8217         * gtk/gtktreeprivate.h:
8218         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
8219         tree_view->priv->dy here directly, just calculate the new value
8220         and set it on the adjustment,
8221         (gtk_tree_view_adjustment_changed): add guards to not call
8222         gtk_tree_view_dy_to_top_row() if we are currently in
8223         gtk_tree_view_top_row_to_dy(),
8224         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
8225         coordinates, not tree coordinates,
8226         (gtk_tree_view_real_start_editing): add cast.
8227
8228         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
8229         position of the editable in the "create new row and start editing"
8230         tests.
8231
8232 2008-01-09  Michael Natterer  <mitch@imendio.com>
8233
8234         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
8235         variable.
8236
8237         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
8238         * gtk/gtkicontheme.c (theme_list_contexts)
8239         (gtk_icon_theme_lookup_icon)
8240         * gtk/gtkimcontextsimple.c (beep_window)
8241         * gtk/gtklinkbutton.c (set_link_color)
8242         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
8243         fix warnings.
8244
8245         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
8246         variable and add const to another to fix a warning.
8247
8248 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
8249
8250         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
8251         the current page.  (#499951, Andreas Sandberg)
8252
8253 2008-01-06  Johan Dahlin  <johan@gnome.org>
8254
8255         * gtk/gtkspinbutton.c: Declare value in the example code for
8256         GtkSpinButton::output, as pointed out by Anders Carlsson.
8257
8258 2008-01-06  Christian Persch  <chpe@gnome.org>
8259
8260         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
8261         and remove an obsolete event box. Bug #506760.
8262
8263 2008-01-06  Johan Dahlin  <johan@gnome.org>
8264
8265         * tests/buildertest.c (test_domain): 
8266         Update, GtkBuilder::translation-domain is no longer set
8267         
8268         * gtk/gtkbuilderparser.c (parse_interface): 
8269         Allow domains to be overridden in <interface>'s if a translation-domain
8270         is set in the builder.
8271         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
8272         of the builder, make the domain set in the <interface> apply only to strings
8273         in that interface.
8274         (#496831, Ryan Lortie)
8275
8276         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
8277         to g_warning calls.
8278
8279         * gtk/gtktreestore.c (tree_model_end_element): 
8280         Remove an unused variable
8281
8282 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
8283
8284         * gtk/gtkspinbutton.c: Document the ::output signal and
8285         add an example.  (#507566, example by Owen Taylor)
8286
8287 2008-01-06  Johan Dahlin  <johan@gnome.org>
8288
8289         * gtk/gtkcellrenderercombo.c:
8290         (gtk_cell_renderer_combo_get_property),
8291         (gtk_cell_renderer_combo_set_property):
8292         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
8293         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
8294         * gtk/gtknotebook.c: (gtk_notebook_set_property):
8295         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
8296         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
8297         (gtk_text_buffer_get_property):
8298         * gtk/gtktextview.c: (gtk_text_view_set_property):
8299         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
8300         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
8301         (gtk_tool_button_get_property):
8302         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
8303         (gtk_tool_item_get_property):
8304         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
8305         * gtk/gtkwidget.c: (gtk_widget_set_property):
8306         * gtk/gtkwindow.c: (gtk_window_set_property):
8307         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
8308         Fixes #507585
8309
8310 2008-01-06  Johan Dahlin  <johan@gnome.org>
8311
8312         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
8313         Make sure that --root works for toplevel widgets.
8314         (#491847, Phil Lello)
8315
8316 2008-01-05  Johan Dahlin  <johan@gnome.org>
8317
8318         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
8319         to make sure that make test-report works properly
8320
8321 2008-01-05  Christian Persch  <chpe@gnome.org>
8322
8323         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
8324         GType as integer through gpointer. Bug #507395.
8325
8326 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
8327
8328         Avoid some compiler warnings (#507000).
8329
8330         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
8331         for value argument of _gtk_builder_flags_from_string.
8332         * gtk/gtkwidget.c: Don't alias the child pointer passed
8333         to gdk_window_get_user_data.
8334
8335 2008-01-04  Michael Natterer  <mitch@imendio.com>
8336
8337         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
8338         to set the time in the returned GdkTimeCoords.
8339
8340 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
8341
8342         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
8343         correct comparison function (kudos to Christian Persch and
8344         Claudio Saavedra for spotting this)
8345
8346         * gtk/gtkrecentchooserutils.c:
8347         (sort_recent_items_mru),
8348         (sort_recent_items_lru): Ditto as above.
8349
8350 2008-01-03  Johan Dahlin  <johan@gnome.org>
8351
8352         * tests/defaultvaluetest.c: Make it pass again.
8353
8354 2008-01-02  Johan Dahlin  <johan@gnome.org>
8355
8356         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
8357         make it pass on Ubuntu.
8358         (main): Use gtk_test_list_all_types () instead of providing our
8359         own list.
8360         And it no longer passes.
8361
8362 2007-12-30  Johannes Schmid <jhs@gnome.org>
8363
8364         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
8365         Also reorder menu when reordering tabs by drag & drop
8366         (Bug #506474)
8367         
8368         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
8369         Add a menu to one of the notebooks to have a test-case for
8370         the change mentioned above.
8371
8372 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
8373
8374         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
8375
8376 2007-12-31  Christian Persch  <chpe@gnome.org>
8377
8378         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
8379         Plug a mem leak. Bug #506107.
8380
8381 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
8382
8383         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
8384         icon cache api change.  (#506135, Kazuki Iwamoto)
8385
8386 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8387
8388         Consider "wide-separators" and "separator-height" style properties:
8389         The separator is drawn using gtk_paint_box instead of cairo, when
8390         "wide-separators" is set. Also do not highlight details for previous
8391         or next month, if their day matches the selected day. (#339540)
8392
8393         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
8394         in gtk_calendar_size_request and calendar_paint_day
8395         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
8396         for selected detail separators in GtkCalendar.
8397
8398 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8399
8400         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
8401
8402         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
8403         a local variable instead in gtk_calendar_size_request.
8404
8405 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
8406
8407         * tests/defaultvaluetest.c: Add enough exclusions to make the
8408         test succeed.
8409
8410 2007-12-28  Christian Persch  <chpe@gnome.org>
8411
8412         * modules/other/gail/Makefile.am:
8413         * modules/other/gail/tests/*:
8414         * configure.in: Merge tests from standalone gail. Bug #504568.
8415
8416 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
8417
8418         * gtk/gtkclipboard.c: Make the finalizer work when display is
8419         not set.
8420
8421 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8422
8423         Draw bottom shadow of GtkCalender headings. (#506113)
8424
8425         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
8426
8427 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
8428
8429         * gtk/gtkcalendar.c: Document the initial values of year/month/day
8430         properties.
8431
8432 2007-12-28  Christian Persch  <chpe@gnome.org>
8433
8434         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
8435         a mem leak. Bug #506096.
8436
8437 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
8438
8439         * gtk/gtktable.c:
8440         * gtk/gtktreeview.c:
8441         * gtk/gtkprintoperation.c:
8442         * gtk/gtkprogressbar.c:
8443         * gtk/gtkmessagedialog.c:
8444         * gtk/gtknotebook.c:
8445         * gtk/gtkprinter.c:
8446         * gtk/gtkfilesel.c:
8447         * gtk/gtklabel.c:
8448         * gtk/gtklinkbutton.c:
8449         * gtk/gtkmenu.c: More default property value corrections.
8450
8451 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
8452
8453         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
8454         accel_group unless it is set.
8455
8456 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
8457
8458         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
8459
8460 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
8461
8462         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
8463         shadow-type properties.
8464
8465         * gtk/gtkfontsel.c: Fix the default values of several properties.
8466
8467         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
8468         property.
8469
8470         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
8471
8472         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
8473         property.
8474
8475 2007-12-28  Johan Dahlin  <johan@gnome.org>
8476
8477         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
8478         (gtk_dialog_buildable_custom_tag_start): Chain up. 
8479         This makes it possible to have accelerators tags on GtkDialog 
8480         subclasses.
8481
8482 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8483
8484         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
8485         are shown within the widget, or just as tooltip. (#339540)
8486
8487         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
8488         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
8489         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
8490         in flags vbox.
8491
8492 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8493
8494         Try more decent appearance of calendar details separator. (#339540)
8495
8496         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
8497         and make it short by one pixel on each side.
8498
8499 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8500
8501         Apply trivial code-style changes from attachement 101101. (#339540)
8502
8503         * tests/testcalendar.c: Some updates to current GTK+ code-style.
8504
8505 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8506
8507         Restructure testcalendar for testing calendar details. (#339540)
8508
8509         * tests/testcalendar.c: Push code arround for testing calendar details.
8510
8511 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8512
8513         Implement GtkTooltip API for calendar details. (#339540)
8514
8515         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
8516         Remember detail overflows in calendar_paint_day to show the tooltip
8517         only when neccessary.
8518
8519 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8520
8521         Without setting "detail-width-chars" and "detail-height-rows"
8522         properties not only the widget has to be redrawn on certain
8523         conditions, but also its size must be recalculated. (#339540)
8524
8525         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
8526         that function instead of gtk_widget_queue_draw.
8527
8528 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
8529
8530         Consider details for size-request and expose-event. (#339540)
8531
8532         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
8533         is_color_attribute functions. Change gtk_calendar_size_request
8534         and calendar_paint_day to consider and show calender details.
8535
8536 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
8537
8538         * gtk/gtkcombobox.c: Introduce local priv variables to 
8539         reduce ->->
8540
8541 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
8542
8543         * gtk/gtkcombobox.c: Correct the default value for the 
8544         tearoff-title property.
8545
8546         * gtk/gtkcellrenderertext.c: Fix the default value for the
8547         wrap-mode and font-scale properties.
8548
8549         * gtk/gtkaspectratio.c: Fix the default value for the ratio
8550         property.
8551
8552 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
8553
8554         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
8555         defines.  (#505708,  MINAMI Hirokazu)
8556
8557 2007-12-27  Christian Persch  <chpe@gnome.org>
8558         
8559         * Makefile.am: Install gail.pc. Bug #505859.
8560
8561 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
8562
8563         Add infrastructure for GtkCalendar details. (#339540)
8564
8565         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
8566         Add "detail-width-chars" and "detail-height-rows" properties,
8567         and gtk_calendar_set_detail_func function.
8568
8569 2007-12-27  Xan Lopez  <xan@gnome.org>
8570
8571         * gtk/gtk.symbols: 
8572         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
8573
8574         Add gtk_border_new to avoid memory allocator confusions when using
8575         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
8576
8577 2007-12-27  Christian Persch  <chpe@gnome.org>
8578
8579         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
8580         bug #504886 not to read unitialised memory.
8581
8582 2007-12-26  Xan Lopez  <xan@gnome.org>
8583
8584         * gtk/gtkstatusbar.c (has_extra_children): take into account the
8585         modification of the internal frame contents to decide if we have
8586         extra children. (#415677)
8587
8588 2007-12-22  Christian Persch  <chpe@gnome.org>
8589
8590         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
8591
8592 2007-12-25  Christian Persch  <chpe@gnome.org>
8593
8594         * modules/other/gail/gailwindow.c: (gail_window_initialize):
8595         Initialise |widget|. Fixes a buglet introduced by the commit from bug
8596         #505226.
8597
8598 2007-12-25  Christian Persch  <chpe@gnome.org>
8599
8600         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
8601         
8602 2007-12-25  Christian Persch  <chpe@gnome.org>
8603
8604         * modules/other/gail/*.[ch]: Remove relocations from the atk
8605         factories. Remove unused gail_foo_new() functions. Fix object
8606         instantiation to be derivation safe by moving initialisation code
8607         from the removed gail_foo_new() functions to the
8608         AtkObjectClass::initialize implementation. Bug #505226.
8609
8610 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
8611
8612         * modules/other/gail/gailentry.c:
8613         * modules/other/gail/gailimage.c:
8614         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
8615         uses of clipboards and settings.  (#504722, Christian Persch)
8616
8617 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
8618
8619         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
8620          Kazuki IWAMOTO)
8621
8622 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
8623
8624         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
8625         use the time and button information from the event.  (#504901,
8626         Peter Bloomfield)
8627
8628 2007-12-23  Cody Russell  <bratsche@gnome.org>
8629
8630         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
8631         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
8632         Fixes a regression caused by #164537 patch where transient
8633         windows that are hidden get shown (incorrectly) when their
8634         parents are minimized. (#504984)
8635         
8636 2007-12-22  Christian Persch  <chpe@gnome.org>
8637
8638         * modules/other/gail/gailcell.c:
8639         * modules/other/gail/gailcontainercell.c:
8640         * modules/other/gail/gailexpander.c:
8641         * modules/other/gail/gailtextcell.c:
8642         * modules/other/gail/gailtextview.c:
8643         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
8644
8645 2007-12-22  Christian Persch  <chpe@gnome.org>
8646
8647         * modules/other/gail/*.c: Include config.h. Bug #504720.
8648
8649 2007-12-22  Christian Persch  <chpe@gnome.org>
8650
8651         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
8652         handwritten get_type functions. Bug #504661.
8653
8654 2007-12-23  Xan Lopez  <xan@gnome.org>
8655
8656         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
8657         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
8658
8659         Patch by Sadrul Habib Chowdhury (#504804)
8660
8661 2007-12-22  Christian Persch  <chpe@gnome.org>
8662
8663         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
8664         #504645, patch by Li Yuan.
8665
8666 2007-12-22  Christian Persch  <chpe@gnome.org>
8667
8668         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
8669
8670 2007-12-22  Christian Persch  <chpe@gnome.org>
8671         
8672         * modules/other/gail/gail.c:
8673         * modules/other/gail/gailbutton.c:
8674         * modules/other/gail/gailcell.c:
8675         * modules/other/gail/gailcombo.c:
8676         * modules/other/gail/gailcombo.h:
8677         * modules/other/gail/gailcombobox.c:
8678         * modules/other/gail/gailentry.c:
8679         * modules/other/gail/gailexpander.c:
8680         * modules/other/gail/gailmenuitem.c:
8681         * modules/other/gail/gailnotebook.c:
8682         * modules/other/gail/gailnotebookpage.c:
8683         * modules/other/gail/gailnotebookpage.h:
8684         * modules/other/gail/gailoptionmenu.c:
8685         * modules/other/gail/gailrange.c:
8686         * modules/other/gail/gailtextview.c:
8687         * modules/other/gail/gailtreeview.c:
8688         * modules/other/gail/gailtreeview.h:
8689         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
8690         Bug #504571.
8691
8692 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
8693
8694         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
8695         Christian Persch)
8696
8697 2007-12-21  Richard Hult  <richard@imendio.com>
8698
8699         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
8700         Plug leak of destroyed subviews, fixes bug #504753.
8701
8702 2007-12-20  Johan Dahlin  <johan@gnome.org>
8703
8704         * tests/Makefile.am (TEST_PROGS): 
8705         * tests/defaultvaluetest.c: Add a test for default values,
8706         based on program by Christan Perch
8707
8708 2007-12-20  Johan Dahlin  <johan@gnome.org>
8709
8710         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
8711         Refactor to avoid some duplication.
8712         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
8713         Fixes #504749, Yuri Pimenov
8714
8715 2007-12-20  Kristian Rietveld  <kris@imendio.com>
8716
8717         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
8718         the build work again on systems without xrandr 1.2.
8719
8720 2007-12-20  Christian Persch  <chpe@gnome.org>
8721
8722         * configure.in:
8723         * modules/other/gail/libgail-util/Makefile.am:
8724         Keep the same libtool version as the standalone libgail-util had.
8725         Bug #504643.
8726
8727 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
8728
8729         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
8730
8731 2007-12-20  Alexander Larsson  <alexl@redhat.com>
8732         
8733         * gdk/x11/gdkapplaunchcontext-x11.c:
8734         Update for gio API changes
8735
8736 2007-12-20  Richard Hult  <richard@imendio.com>
8737
8738         * gdk/quartz/GdkQuartzWindow.c:
8739         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
8740         processing events after changing the size.
8741
8742 2007-12-20  Richard Hult  <richard@imendio.com>
8743
8744         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
8745         Add stub for quartz to fix build.
8746
8747 2007-12-20  Christian Persch  <chpe@gnome.org>
8748
8749         * modules/other/gail/Makefile.am:
8750         * modules/other/gail/gailimage.c: (gail_image_class_init),
8751         (gail_image_init), (elide_underscores), (gail_image_get_name),
8752         (atk_image_interface_init), (gail_image_finalize):
8753         * modules/other/gail/gailimage.h:
8754         R modules/other/gail/gailintl.h:
8755         * po/POTFILES.skip: Use the stock item's label as the name of the
8756         accessible in gailimage.c. Bug #504246.
8757
8758 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
8759
8760         Avoid some compiler warnings and remove obsolete code. (#339540)
8761
8762         * gtk/gtkcalendar.c: Change week and year variable in
8763         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
8764         0" block from calendar_paint_day: The feature in question is handled
8765         few lines above. Cast data returned by gtk_selection_data_get_text()
8766         to (gchar*) in gtk_calendar_drag_data_received.
8767
8768 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
8769
8770         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
8771
8772 2007-12-19  Johan Dahlin  <johan@gnome.org>
8773
8774         * tests/buildertest.c (test_object_properties): 
8775         Add another call to gtk_builder_add_string after using
8776         delayed properties, as reported in #504393 but already
8777         fixed in #495769.
8778
8779 2007-12-18  Christian Persch  <chpe@gnome.org>
8780
8781         * configure.in:
8782         * docs/reference/Makefile.am:
8783         * docs/reference/libgail-util/*:
8784         * gail-uninstalled.pc.in:
8785         * gail.pc.in:
8786         * modules/Makefile.am:
8787         * modules/other/Makefile.am:
8788         * modules/other/gail/*:
8789         * modules/other/gail/libgail-util/*:
8790         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
8791
8792 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
8793
8794         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
8795         * gdk/win32/gdkproperty-win32.c: 
8796         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
8797
8798         * gtk/gtkimmodule.[hc]: 
8799         * gtk/gtkimmulticontext.[hc]: When determining the default context,
8800         look at the gtk-im-module setting, and listen for changes to the
8801         setting.  (#502446, Akira Tagoh)
8802
8803 2007-12-17  Kristian Rietveld  <kris@imendio.com>
8804
8805         * gtk/gtktooltip.c (gtk_tooltip_finalize),
8806         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
8807         to NULL as soon as it's destroyed.  (#496546, patch from
8808         Benjamin Berg).
8809
8810 2007-12-17  Kristian Rietveld  <kris@imendio.com>
8811
8812         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
8813         always determine what arrow to show if show_sort_indicator is true.
8814         (#352738, Chris Vine).
8815
8816 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
8817
8818         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
8819         Sébastien Granjoux)
8820
8821         * gtk/gtkpaned.c: Call gtk_container_forall instead of
8822         gtk_container_foreach in get_child_panes.
8823
8824 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
8825
8826         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
8827
8828         Plug leak: When reordering the info in the list the old node is
8829         removed but not freed. (#503569)
8830
8831 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
8832
8833         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
8834         Use u32 instead of __u32 and u8 instead of __u8 as the other types
8835         are deprecated since DirectFB 1.0.0. If compiling with an older
8836         version define the new type name to the old types. Fixes bug #503190.
8837
8838 2007-12-14  Ray Strode  <rstrode@redhat.com>
8839
8840         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
8841         instead of g_signal_connect_after (..., "realize", ...) as an
8842         alternative to gtk_widget_realize () (bug 503537).
8843
8844 2007-12-14  Michael Natterer  <mitch@imendio.com>
8845
8846         * gdk/gdkinternals.h
8847         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
8848         individual files.
8849
8850         * gdk/gdkapplaunchcontext.c
8851         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
8852         header already includes everything now.
8853
8854 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
8855
8856         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
8857         next stable release shall be 2.16, not 2.14 - even if disagree.
8858
8859         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
8860
8861 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
8862
8863         Change GtkToolItem to retrieve its properties from GtkToolShell
8864         interface, instead of relying on being child of a GtkToolbar.
8865         (#5034079)
8866
8867         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
8868         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
8869         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
8870         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
8871         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
8872         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
8873         Take section docs from template file and update them for GtkToolShell.
8874         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
8875         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
8876
8877 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
8878
8879         Extract loading of GtkPageSetup and GtkPrintSettings from their
8880         *_new_*() functions and move that code into separate
8881         *_load_*() functions (#475565).
8882
8883         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
8884         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
8885         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
8886         Change the matching *_new_*() functions to use those functions.
8887
8888 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
8889
8890         * gtk/gtk.symbols:
8891         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
8892
8893 2007-12-14  Kristian Rietveld  <kris@imendio.com>
8894
8895         * gtk/tests/liststore.c:
8896         * gtk/tests/treestore.c: added tests for insertion functions.
8897
8898 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
8899
8900         * Add RandR 1.2 support
8901
8902         - New monitors_changed signal - New API to get width/height of
8903           monitors, and the name of the plug
8904
8905 2007-12-13  Kristian Rietveld  <kris@imendio.com>
8906
8907         * gtk/tests/liststore.c:
8908         * gtk/tests/treestore.c: test the move and swap functions on a
8909         store with only one node.
8910
8911 2007-12-13  Kristian Rietveld  <kris@imendio.com>
8912
8913         * gtk/gtktestutils.c (gtk_test_init): add a call to
8914         g_test_bug_base().
8915
8916         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
8917         appriopriate tests.
8918
8919 2007-12-13  Kristian Rietveld  <kris@imendio.com>
8920
8921         * gtk/tests/liststore.c:
8922         * gtk/tests/treestore.c: start composing tests for the list and tree
8923         store.
8924
8925         * gtk/tests/treeview-scrolling.c: added automated tests for
8926         GtkTreeView's scrolling "subsystem".
8927
8928         * gtk/tests/Makefile.am: updated; added new test programs.
8929
8930 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
8931
8932         Make the code compile again after the GdkAppLaunchContext changes.
8933
8934         * configure.in: Add gio-2.0 to GDK_PACKAGES.
8935         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
8936
8937 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
8938
8939         * gdk/gdkapplaunchcontext.c: Add docs
8940
8941 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
8942
8943         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
8944         in gdk, providing startup notification.  (#503203)
8945
8946         * gdk/x11/gdkapplaunchcontext-x11.c: 
8947         * gdk/win32/gdkapplaunchcontext-win32.c:
8948         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
8949         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
8950         parts. All but X11 are just empty stubs for now.
8951
8952         * gdk/gdk.symbols:
8953         * gdk/gdkinternals.h:
8954         * gdk/Makefile.am:
8955         * gdk/x11/Makefile.am: 
8956         * gdk/win32/Makefile.am: 
8957         * gdk/quartz/Makefile.am: 
8958         * gdk/directfb/Makefile.am: Necessary glue.
8959
8960 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
8961
8962         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
8963
8964 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
8965
8966         * gdk/directfb/gdktestutils-directfb.c:
8967         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
8968         which adds testing functions to the DirectFB backend.
8969
8970 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
8971
8972         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
8973         Ciccani which fixes the mixing of gdk and cairo rendering.
8974
8975 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
8976
8977         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
8978         on "drag-motion" handlers. Clearify documentation for
8979         gtk_drag_dest_set.
8980
8981 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
8982
8983         * buildertest.c: made unnecessarily exported symbols static.
8984         switched g_return_if_fail() statements in tests to assertions.
8985         special cased currently failing Widget/accesibility test to
8986         run only for g_test_thorough(), so it doesn't break make check.
8987         some coding style fixes.
8988
8989         * Makefile.am: added buildertest to TEST_PROGS.
8990
8991 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
8992
8993         * docs/tutorial/gtk-tut.sgml:
8994           Use gtk_widget_get_parent_window() instead of widget->parent->window.
8995
8996 2007-12-10  Richard Hult  <richard@imendio.com>
8997
8998         * gdk/quartz/Makefile.am:
8999         * gdk/quartz/gdkquartz.h:
9000         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
9001         header (bug #405915). Also add a getter for the toplevel nswindow.
9002
9003 2007-12-10  Richard Hult  <richard@imendio.com>
9004
9005         * gdk/quartz/gdkdrawable-quartz.c:
9006         (gdk_quartz_drawable_get_context),
9007         (gdk_quartz_drawable_release_context):
9008         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
9009         (gdk_event_check), (gdk_event_dispatch), (poll_func):
9010         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
9011         used for each drawing context and in prepare, dispatch and poll
9012         with one that exists across each main loop iteration. Fixes leaks
9013         on leopard and protects against future leaks introduce when the
9014         underlying system changes again (bug #492977).
9015
9016 2007-12-10  Richard Hult  <richard@imendio.com>
9017
9018         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
9019         Fix the check for no changes to position and size.
9020
9021 2007-12-10  Richard Hult  <richard@imendio.com>
9022
9023         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
9024         sized areas at (0, 0), patch from Paul Davis.
9025
9026 2007-12-10  Richard Hult  <richard@imendio.com>
9027
9028         * gdk/quartz/gdkprivate-quartz.h: 
9029         * gdk/quartz/gdkeventloop-quartz.c:
9030         (_gdk_quartz_event_loop_get_pending),
9031         (_gdk_quartz_event_loop_check_pending),
9032         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
9033         (gdk_event_check), (gdk_event_dispatch):
9034         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
9035         (_gdk_events_queue): Fix a bug where we could end up trying to
9036         handle the same event more than once. Based on patch from Paul
9037         Davis.
9038
9039 2007-12-10  Tor Lillqvist  <tml@novell.com>
9040
9041         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
9042         package. (#502850)
9043
9044 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
9045
9046         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
9047         to avoid further fallout from the fix for bug 388321.
9048
9049 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
9050
9051         * gdk/directfb/gdkgc-directfb.c:
9052         * gdk/directfb/gdkdrawable-directfb.c:
9053         * gdk/directfb/gdkdirectfb.h:
9054         * gdk/directfb/gdkwindow-directfb.c:
9055         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
9056         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
9057         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
9058         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
9059         which are expected to improve the performance of the DirectFB backend.
9060         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
9061
9062 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
9063
9064         * gtk/gtkcontainer.c: Correct the documentation of child
9065         property getter arguments.  (#501992, David Brigada)
9066
9067 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
9068
9069         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
9070         leak pixbufs.  (#502250, Yevgen Muntyan)
9071
9072 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
9073
9074         * gtk/gtkprintunixdialog.c:
9075         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
9076         Print and Page Setup dialogs (#502202).
9077
9078 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
9079
9080         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
9081         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
9082         of XVFB_START, since it's the GTESTER invokation that needs this.
9083
9084 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
9085
9086         * gdk-pixbuf/gdk-pixbuf.symbols:
9087         * gdk/gdk.symbols:
9088         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
9089         positives in abicheck.sh
9090
9091 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
9092
9093         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
9094         GDK events generations in the DirectFB backend.
9095
9096 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
9097
9098         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
9099         set of likely unused display ids, because MacOS has no seq(1) command.
9100
9101 2007-12-06  Richard Hult  <richard@imendio.com>
9102
9103         * gdk/quartz/gdkevents-quartz.c:
9104         (synthesize_crossing_events_for_ns_event): Fix warning when
9105         switching spaces in leopard.
9106
9107 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
9108
9109         * tests/floatingtest.c: ported to new testing framework.
9110
9111         * tests/Makefile.am: run floatingtest as testing framework test.
9112
9113 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
9114
9115         * tests/autotestfilechooser.c: majorly speed up execution by reducing
9116         timeouts and converting main loop sleeps to pending/iterate loops with
9117         very low priority async handlers. eliminate output for non-verbose
9118         tests. assert successfull subtests in all test functions. use testing
9119         framework in main().
9120
9121         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
9122         executed inside Xvfb upon make check.
9123
9124 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
9125
9126         * tests/objecttests.c: use string comparisons for string property
9127         values and get rid of referencing symbols in array initialization.
9128
9129 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
9130
9131         * gtk+/Makefile.decl: run tests in current dir after setting up the
9132         logging directory, so their results get properly merged into the
9133         resulting test log.
9134
9135         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
9136         tests to loop over registered Gdk/Gtk+ types.
9137
9138         * gtk+/tests/objecttests.c: new test program, implements automated
9139         property tests. several properties are blacklisted because they
9140         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
9141         can be used to test blacklisted properties and see which proprty failed.
9142
9143 2007-12-04  Richard Hult  <richard@imendio.com>
9144
9145         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
9146         Fully initialize the root window, fixes bug #501583.
9147
9148 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
9149
9150         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
9151         crash epiphany.
9152
9153 2007-12-03  Richard Hult  <richard@imendio.com>
9154
9155         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
9156         Don't crash when dragging from a source that doesn't support uri
9157         lists (bug #499868, Paul Davis).
9158
9159 2007-12-03  Richard Hult  <richard@imendio.com>
9160
9161         * gdk/quartz/gdkwindow-quartz.c:
9162         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
9163         parent relative bg pixmap is set, and no parent has a bg
9164         pixmap. Fixes bug #500804.
9165
9166 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
9167
9168         Two optimizations for icon cache lookups.
9169
9170         * gtk/gtkiconcache.[hc]:
9171         * gtk/gtkicontheme.c: Remember the directory index for
9172         subdirectories, instead of running over the directory list
9173         again and again.
9174
9175         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
9176         chain and try it first; this helps with the the usage patterns
9177         in gtkicontheme.c, where the same icon is queried for a lot
9178         of subdirectories.
9179
9180 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
9181
9182         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
9183         functions from header files. this should be portable across linux and
9184         Mac OS, unlike the previpous sed expression.
9185
9186 2007-12-1  Cody Russell  <bratsche@gnome.org>
9187
9188         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
9189         On Windows, queue a redraw of child2 whenever we set
9190         the pane handle position.  This is unfortunately kind
9191         of hacky, but solves the visual artifacts that were
9192         occuring on at least certain types of child widgets
9193         (e.g., text views and tree views) that are inside
9194         horizontal or vertical panes. (#144269)
9195
9196 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
9197
9198         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
9199
9200 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
9201
9202         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
9203         debug spew.
9204
9205 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
9206
9207         * gtk/Makefile.am: Fix ordering of subdirs.
9208
9209 2007-11-28  Tor Lillqvist  <tml@novell.com>
9210
9211         A proper build of GNU libintl is supposed to export the variable
9212         _nl_msg_cat_cntr. configure looks for that variable in order to
9213         recognize GNU gettext. If it sees that it is indeed GNU gettext
9214         that is used, it decides to install message catalogs in
9215         share/locale, otherwise in lib/locale. Until now on Windows I have
9216         built GTK+ against a build of GNU gettext that did not export
9217         _nl_msg_cat_cntr. But this will change, so we can't assume message
9218         catalogs are always in lib/locale.
9219
9220         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
9221         GTK_LOCALEDIR being either in "lib" or "share". Move the function
9222         before the inclusion of gtkprivate.h so that it sees the original
9223         GTK_LOCALEDIR.
9224
9225         * gtk-zip.sh.in: Check whether the message catalogs are in
9226         share/locale or lib/locale.
9227
9228         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
9229         that the code in _gtk_get_localedir() will find the slashes.
9230
9231 2007-11-28  Tor Lillqvist  <tml@novell.com>
9232
9233         * gtk/Makefile.am: Improve portability. The -o option is present
9234         only in newish GNU egreps. Use one more sed in the pipeline
9235         instead.
9236
9237 2007-11-28  Tor Lillqvist  <tml@novell.com>
9238
9239         Fix #375893, patch by Ben Hague:
9240
9241         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
9242         around GetLogicalDrives() that takes also the viewable drive
9243         restrictions in the Registry (which are usually the result of an
9244         Active Directory Group Policy) into account.
9245
9246         (check_volumes, gtk_file_system_win32_list_volumes) Call
9247         get_viewable_logical_drives() instead of GetLogicalDrives().
9248
9249 2007-11-27  Matthias Clasen <mclasen@redhat.com>
9250
9251         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
9252         variables to silence valgrind.  (#495124, Morten Welinder)
9253
9254 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
9255
9256         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
9257         that the construct_child function is responsible for returning a
9258         reference.
9259         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
9260         objects from constructors
9261         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
9262         g_object_ref() to this construction function (it's the only
9263         implementer in GTK)
9264
9265         Fixes #496645.
9266
9267 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
9268
9269         * gtkbuilder.c: remove concept of root objects and just refcount
9270         all objects in the builder.  Fixes #496651.
9271
9272 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
9273
9274         * tests/buildertest.c (test_window): fix invalid free
9275
9276 2007-11-26  Josselin Mouette <joss@malsain.org>
9277
9278         reviewed by: Federico Mena Quintero
9279
9280         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
9281         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
9282         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
9283         Make the shortcuts activate with a single click. (#148828)
9284         Fix a few things affected by the change:
9285           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
9286             where no shortcut is selected.
9287           - Don't activate a shortcut in the response callback.
9288           - Filter out duplicate entries in volumes and bookmarks to 
9289             avoid the selection to change when reordering them with DnD.
9290
9291 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9292
9293         * gtk/gtkmain.c:
9294         * gtk/gtknotebook.c:
9295         * gtk/gtkplugprivate.h:
9296         * gtk/gtksocket.c:
9297         * gtk/gtksocketprivate.h:
9298         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
9299
9300 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9301
9302         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
9303         (#495574, Richard Hult)
9304
9305 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9306
9307         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
9308         String change !   (#376361, Sven Neumann)
9309
9310 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9311
9312         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
9313         destroy.
9314         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
9315         Welinder)
9316
9317 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9318
9319         * gtk/gtkassistant.c: Improve alternative button
9320         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
9321
9322 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9323
9324         * gtk/gtkcalendar.c: Fix a theming problem with colors
9325         in GtkCalendar.  (#499703, Michael Hofmann)
9326
9327 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9328
9329         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
9330
9331 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9332
9333         Use templates for glib-mkenums calls instead of 
9334         complicated commandlines in Makefiles.  (#429910)
9335
9336         * gdk-pixbuf/Makefile.am:
9337         * gdk/Makefile.am: 
9338         * gtk/Makefile.am: 
9339         * perf/Makefile.am: Use templates for glib-mkenums
9340
9341         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
9342         * gdk/gdkenumtypes.[ch].template: 
9343         * gtk/gtktypebuiltings.[ch].template: 
9344         * perf/typebuiltins.[ch].template: The templates
9345
9346 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9347
9348         * gtk/gtkfilechooserbutton.c:
9349         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
9350         some compilers choke on that.  (#467722)
9351
9352 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
9353
9354         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
9355         about hook setup.  (#425004, Emmanuele Bassi)
9356
9357 2007-11-26  Tor Lillqvist  <tml@novell.com>
9358
9359         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
9360         monitor the window currently is on, not always the primary
9361         monitor. (#463865, Tim Evans)
9362
9363 2007-11-26  Tor Lillqvist  <tml@novell.com>
9364
9365         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
9366
9367         * gdk/win32/Makefile.am: Add it.
9368
9369 2007-11-26  Tor Lillqvist  <tml@novell.com>
9370
9371         * configure.in: Don't add jasper to all_loaders if no libjasper.
9372
9373 2007-11-25  Bastien Nocera  <hadess@hadess.net>
9374
9375         * configure.in: Add detection for libjasper, used by the
9376         gdk-pixbuf JPEG2000 loader
9377
9378 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
9379
9380         * configure.in: Require gtk-doc 1.8
9381
9382         * */*.c: Use gtk-doc abbreviations for examples in docs.
9383
9384 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
9385
9386         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
9387         typo.  (#498922)
9388
9389 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
9390
9391         * gtk/gtkdialog.c: Move signal and property documentation inline,
9392         fix a problem with the ::response signal docs.  (#499133, Josselin
9393         Mouette)
9394
9395 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
9396
9397         * Makefile.decl: initialize automake variables EXTRA_DIST and
9398         TEST_PROGS for unconditional appending via += in other makefiles.
9399         define recursive test targets: test, test-report, perf-report,
9400         full-report, as described here:
9401       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
9402         the test targets will execute Gtk+ test programs within an Xvfb session.
9403
9404         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
9405
9406         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
9407         g_test_run() to run the tests to integrate with the testing framework.
9408
9409         * gtk/tests/Makefile.am: removed exemplary testing rules.
9410
9411         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
9412         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
9413         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
9414         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
9415         * docs/reference/Makefile.am, docs/tools/Makefile.am:
9416         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
9417         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
9418         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
9419         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
9420         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
9421         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
9422         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
9423         * modules/engines/ms-windows/Theme/Makefile.am:
9424         * modules/engines/ms-windows/Makefile.am:
9425         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
9426         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
9427         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
9428         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
9429         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
9430         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
9431         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
9432
9433 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
9434
9435         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
9436         (#485662, patch by Herbert Valerio Riedel)
9437
9438 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
9439
9440         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
9441
9442 2007-11-21  Richard Hult  <richard@imendio.com>
9443
9444         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
9445         stubs for the testing functions to fix the build.
9446
9447 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
9448
9449         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
9450         (#467711, The Written Word)
9451
9452 2007-11-21  Ross Burton  <ross@openedhand.com>
9453
9454         * gdk/x11/gdksettings.c:
9455         Add xsetting for gtk-scrolled-window-placement (#458103).
9456
9457 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
9458
9459         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
9460         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
9461         (#469239, Michael Natterer)
9462
9463 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
9464
9465         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
9466         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
9467         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
9468         (#436536, Tommi Komulainen)
9469
9470 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
9471
9472         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
9473         property.  (#489782, Jan Janech)
9474
9475 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
9476
9477         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
9478         frames.  (#107398, Owen Taylor, Miguel Gomez)
9479
9480 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
9481
9482         Moved Gdk test functions from Gtk+ to Gdk test utils.
9483
9484         * gdk/Makefile.am: added gdktestutils.h to public includes.
9485
9486         * gdk/gdk.h: added gdktestutils.h to public includes.
9487
9488         * gdk/gdk.symbols: added gdk_test_simulate_button,
9489         gdk_test_simulate_key, gdk_test_render_sync.
9490
9491         * gdk/gdktestutils.h: new file, added prototypes for
9492         gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
9493
9494         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
9495
9496         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
9497         gdk_test_simulate_key, gdk_test_render_sync.
9498
9499         * gtk/gtktestutils.c:
9500         * gtk/gtktestutils.h:
9501         * gtk/gtk.symbols: removed gtk_test_simulate_button
9502         gtk_test_simulate_key, gtk_test_xserver_render_sync.
9503
9504         * gtk/tests/testing.c: call gdk_test_render_sync.
9505
9506 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
9507
9508         Added unit tests for Gtk+ testing utilities.
9509
9510         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
9511         utility functions. some g_test_* related portions are disabled and need
9512         to be enabled once Gtk+ depends on a new glib with the GLib testing
9513         framework integrated.
9514
9515         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
9516         tests.  added exemplary test rules to run tests inside Xvfb. this
9517         needs to depend on gtester for full fledged testing.
9518
9519         * gtk/Makefile.am: build gtk+/gtk/tests, define
9520         -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
9521         e.g. gtk_text_get_type().
9522
9523         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
9524
9525 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
9526
9527         Added Gtk+ testing utilities.
9528
9529         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
9530         functions.  for the most part, the functions herein involve
9531         navigating and interacting with dialog elements programatically,
9532         to automate user interaction tests of dialogs and widgets.
9533
9534         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
9535
9536         * gtk/gtk.symbols: added gtk_test_* symbols.
9537
9538         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
9539         the build.  generate gtktypefuncs.c which contains a list of all
9540         _get_type functions in Gtk+ and Gdk.
9541
9542 2007-11-20  Bastien Nocera  <hadess@hadess.net>
9543
9544         * configure.in: add support for conditional icns gdk-pixbuf loader
9545         (Closes: #395738)
9546
9547 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
9548
9549         * configure.in: updated version number to 2.15.0 for development.
9550
9551 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
9552
9553         === Branch for 2.12 ===
9554