]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agogdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h
Michael Natterer [Tue, 15 Jan 2008 15:32:37 +0000 (15:32 +0000)]
gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h

2008-01-15  Michael Natterer  <mitch@imendio.com>

* gdk/gdkdisplay.h
* gdk/gdkdrawable.h
* gdk/gdkevents.h
* gdk/gdkpango.h
* gdk/gdkregion.h
* gdk/gdkrgb.h
* gdk/gdkwindow.h: made more struct pointer and array parameters
const. GDK should now be constified as far as possible without
breaking source compatibility. Includes some minor cleanup like
indentation and s/nfoo/n_foo/ (bug #508544).

* gdk/gdkdisplay.c
* gdk/gdkdraw.c
* gdk/gdkevents.c
* gdk/gdkpango.c
* gdk/gdkregion-generic.c
* gdk/gdkrgb.c
* gdk/directfb/gdkdisplay-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/quartz/gdkdisplay-quartz.c
* gdk/quartz/gdkwindow-quartz.c
* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkwindow-win32.c
* gdk/x11/gdkdisplay-x11.c
* gdk/x11/gdkwindow-x11.c: changed accordingly.

svn path=/trunk/; revision=19372

16 years agoadd cast to fix const warning.
Michael Natterer [Mon, 14 Jan 2008 17:07:03 +0000 (17:07 +0000)]
add cast to fix const warning.

2008-01-14  Michael Natterer  <mitch@imendio.com>

* gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
const warning.

(gtk_rc_parse_any): change variables to const and introduce
another local variable to fix const warnings.

svn path=/trunk/; revision=19371

16 years agocast the return value of gdk_screen_get_font_options() to gpointer to get
Michael Natterer [Mon, 14 Jan 2008 15:00:57 +0000 (15:00 +0000)]
cast the return value of gdk_screen_get_font_options() to gpointer to get

2008-01-14  Michael Natterer  <mitch@imendio.com>

* gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
of gdk_screen_get_font_options() to gpointer to get rid of const
warning.

svn path=/trunk/; revision=19370

16 years agofix another call to gtk_selection_data_set().
Michael Natterer [Mon, 14 Jan 2008 14:34:07 +0000 (14:34 +0000)]
fix another call to gtk_selection_data_set().

2008-01-14  Michael Natterer  <mitch@imendio.com>

* tests/testdnd.c (source_drag_data_get): fix another call to
gtk_selection_data_set().

svn path=/trunk/; revision=19369

16 years agofix signedness warning.
Michael Natterer [Mon, 14 Jan 2008 14:22:59 +0000 (14:22 +0000)]
fix signedness warning.

2008-01-14  Michael Natterer  <mitch@imendio.com>

* gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
signedness warning.

svn path=/trunk/; revision=19368

16 years agoremove unused variable.
Michael Natterer [Mon, 14 Jan 2008 14:19:21 +0000 (14:19 +0000)]
remove unused variable.

2008-01-14  Michael Natterer  <mitch@imendio.com>

* gtk/gtkiconcache.c (find_image_offset): remove unused variable.

svn path=/trunk/; revision=19367

16 years agocast "uris" to guchar* when passing it to gtk_selection_data_set().
Michael Natterer [Mon, 14 Jan 2008 14:17:26 +0000 (14:17 +0000)]
cast "uris" to guchar* when passing it to gtk_selection_data_set().

2008-01-14  Michael Natterer  <mitch@gimp.org>

* gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
"uris" to guchar* when passing it to gtk_selection_data_set().

svn path=/trunk/; revision=19366

16 years agogdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h
Michael Natterer [Mon, 14 Jan 2008 14:02:12 +0000 (14:02 +0000)]
gdk/gdk.h gdk/gdkcairo.h gdk/gdkcolor.h gdk/gdkgc.h gdk/gdkinternals.h

2008-01-14  Michael Natterer  <mitch@imendio.com>

* gdk/gdk.h
* gdk/gdkcairo.h
* gdk/gdkcolor.h
* gdk/gdkgc.h
* gdk/gdkinternals.h
* gdk/gdkregion.h
* gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
parameters const.

* gdk/gdkcairo.c
* gdk/gdkgc.c
* gdk/gdkwindow.c
* gdk/gdkrectangle.c
* gdk/gdkpolyreg-generic.c
* gdk/gdkregion-generic.c
* gdk/directfb/gdkcolor-directfb.c
* gdk/directfb/gdkgc-directfb.c
* gdk/directfb/gdkgeometry-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/quartz/gdkcolor-quartz.c
* gdk/quartz/gdkgc-quartz.c
* gdk/quartz/gdkgeometry-quartz.c
* gdk/quartz/gdkwindow-quartz.c
* gdk/win32/gdkcolor-win32.c
* gdk/win32/gdkgc-win32.c
* gdk/win32/gdkgeometry-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwindow-win32.c
* gdk/x11/gdkcolor-x11.c
* gdk/x11/gdkgc-x11.c
* gdk/x11/gdkgeometry-x11.c
* gdk/x11/gdkmain-x11.c
* gdk/x11/gdkprivate-x11.h
* gdk/x11/gdkwindow-x11.c: changed accordingly.

* gdk/gdkpolyreg-generic.c: uncruftify to have proper function
headers.

svn path=/trunk/; revision=19365

16 years agocast the return value of _gdk_pixbuf_scaled_anim_new() to fix incompatible
Michael Natterer [Mon, 14 Jan 2008 11:30:34 +0000 (11:30 +0000)]
cast the return value of _gdk_pixbuf_scaled_anim_new() to fix incompatible

2008-01-14  Michael Natterer  <mitch@imendio.com>

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_prepare): cast the return
value of _gdk_pixbuf_scaled_anim_new() to fix incompatible pointer
warning.

svn path=/trunk/; revision=19364

16 years agoExplain name choice for gtk_tool_item_toolbar_reconfigured.
Mathias Hasselmann [Mon, 14 Jan 2008 00:12:53 +0000 (00:12 +0000)]
Explain name choice for gtk_tool_item_toolbar_reconfigured.

* gtk/gtktoolitem.c: Add comment expaining name choice for
gtk_tool_item_toolbar_reconfigured.

svn path=/trunk/; revision=19362

16 years agoMake _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
Mathias Hasselmann [Sun, 13 Jan 2008 23:41:46 +0000 (23:41 +0000)]
Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
implementations to notify its children, when some aspect of their
configuration changed (#509042).

* gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
* gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
Rename _gtk_tool_item_toolbar_reconfigured.

svn path=/trunk/; revision=19361

16 years agoKurdish translation completed
Erdal Ronahi [Sun, 13 Jan 2008 19:13:23 +0000 (19:13 +0000)]
Kurdish translation completed

svn path=/trunk/; revision=19360

16 years agoCorrected buggy translation
Erdal Ronahi [Sun, 13 Jan 2008 18:33:53 +0000 (18:33 +0000)]
Corrected buggy translation

svn path=/trunk/; revision=19359

16 years agoUpdated translations
Erdal Ronahi [Sun, 13 Jan 2008 11:44:45 +0000 (11:44 +0000)]
Updated translations

svn path=/trunk/; revision=19358

16 years agoCorrected buggy translations (with translated |)
Erdal Ronahi [Sun, 13 Jan 2008 04:43:46 +0000 (04:43 +0000)]
Corrected buggy translations (with translated |)

svn path=/trunk/; revision=19357

16 years agoInclude <gtk/gtktoolshell.h> from gtk.h.
Mathias Hasselmann [Sat, 12 Jan 2008 22:45:14 +0000 (22:45 +0000)]
Include <gtk/gtktoolshell.h> from gtk.h.

* gtk/gtk.h: Add gtktoolshell.h

svn path=/trunk/; revision=19356

16 years agoPrint angle brackets arround e-mail addresses in the about dialog
Mathias Hasselmann [Sat, 12 Jan 2008 11:10:14 +0000 (11:10 +0000)]
Print angle brackets arround e-mail addresses in the about dialog
(#409520, Mariano Suárez-Alvarez).

* gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().

svn path=/trunk/; revision=19354

16 years agoUpdated Arabic Translation by Khaled Hosny. . Also QA'ed by Khaled.
Djihed Afifi [Sat, 12 Jan 2008 01:06:50 +0000 (01:06 +0000)]
Updated Arabic Translation by Khaled Hosny. . Also QA'ed by Khaled.

svn path=/trunk/; revision=19353

16 years agoremoved old testutils special casing so test widgets are always queues for
13:28:02 Tim Janik [Fri, 11 Jan 2008 12:29:29 +0000 (12:29 +0000)]
removed old testutils special casing so test widgets are always queues for

2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>

        * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
        special casing so test widgets are always queues for destruction
        during teardown.

        * gtk/tests/testing.c: removed bits left-over from testing without
        gtestutils.h.

svn path=/trunk/; revision=19352

16 years agoBug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out. Emit
Li Yuan [Fri, 11 Jan 2008 09:58:34 +0000 (09:58 +0000)]
Bug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out. Emit

2008-01-11  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (gail_tree_view_real_initialize), (focus_in),
        (focus_out):
        Bug #508255. Remove ATK_STATE_FOCUSED state when focus jumps out.
        Emit "active-descendant-changed" and add ATK_STATE_FOCUSED state when
        focus comes in again.

svn path=/trunk/; revision=19351

16 years agoBug #497218. Emit "active-descendant-changed" when focus first comes into
Li Yuan [Fri, 11 Jan 2008 09:48:23 +0000 (09:48 +0000)]
Bug #497218. Emit "active-descendant-changed" when focus first comes into

2008-01-11  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (gail_tree_view_ref_child),
        (idle_cursor_changed):
        Bug #497218. Emit "active-descendant-changed" when focus first comes
        into treeview. Add/remove ATK_STATE_FOCUSED when cursor changes.

svn path=/trunk/; revision=19350

16 years agoBug #508715. Should use gtk_tree_path_free to free a GtkTreePath.
Li Yuan [Fri, 11 Jan 2008 09:22:25 +0000 (09:22 +0000)]
Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.

2008-01-11  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (gail_tree_view_get_n_rows):
        Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.

svn path=/trunk/; revision=19349

16 years agomodules/other/gail/libgail-util/Makefile.am Link with gtktargetlib and
Tor Lillqvist [Thu, 10 Jan 2008 21:47:58 +0000 (21:47 +0000)]
modules/other/gail/libgail-util/Makefile.am Link with gtktargetlib and

2008-01-10  Tor Lillqvist  <tml@novell.com>

* modules/other/gail/libgail-util/Makefile.am
* modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
gdktargetlib.

svn path=/trunk/; revision=19348

16 years agoBuild defaultvaluetest only on Unix as it uses gtkprintunixdialog API.
Tor Lillqvist [Thu, 10 Jan 2008 21:46:25 +0000 (21:46 +0000)]
Build defaultvaluetest only on Unix as it uses gtkprintunixdialog API.

2008-01-10  Tor Lillqvist  <tml@novell.com>

* tests/Makefile.am: Build defaultvaluetest only on Unix as it
uses gtkprintunixdialog API.

svn path=/trunk/; revision=19347

16 years agogdk/win32/gdkdisplay-win32.c gdk/win32/gdkglobals-win32.c
Tor Lillqvist [Thu, 10 Jan 2008 21:40:48 +0000 (21:40 +0000)]
gdk/win32/gdkdisplay-win32.c gdk/win32/gdkglobals-win32.c

2008-01-10  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkscreen-win32.c
* gdk/win32/gdkwindow-win32.c: Implement
gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
Iwamoto. (#505753)

svn path=/trunk/; revision=19346

16 years agoProperly ref/unref windows and parents. (#506769)
Cody Russell [Thu, 10 Jan 2008 20:58:40 +0000 (20:58 +0000)]
Properly ref/unref windows and parents. (#506769)

2008-01-10  Cody Russell  <bratsche@gnome.org>

        * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
        Properly ref/unref windows and parents.  (#506769)

svn path=/trunk/; revision=19344

16 years agoMove the tracking rect workaround from here...
Richard Hult [Thu, 10 Jan 2008 19:35:53 +0000 (19:35 +0000)]
Move the tracking rect workaround from here...

2008-01-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
(gdk_window_hide), (move_resize_window_internal): Move the
tracking rect workaround from here...

* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
movements during showing/hiding operations. Fixes bug #508516.

svn path=/trunk/; revision=19342

16 years agocorrected documentation for GtkEditable::delete-text.
Sven Neumann [Thu, 10 Jan 2008 19:04:02 +0000 (19:04 +0000)]
corrected documentation for GtkEditable::delete-text.

2008-01-10  Sven Neumann  <sven@gimp.org>

* gtk/tmpl/gtkeditable.sgml: corrected documentation for
GtkEditable::delete-text.

svn path=/trunk/; revision=19341

16 years agoadd these functions to make it build again.
Michael Natterer [Thu, 10 Jan 2008 17:04:45 +0000 (17:04 +0000)]
add these functions to make it build again.

2008-01-10  Michael Natterer  <mitch@imendio.com>

* gdk/directfb/gdkscreen-directfb.c
(gdk_screen_get_monitor_width_mm)
(gdk_screen_get_monitor_height_mm)
(gdk_screen_get_monitor_plug_name): add these functions to make
it build again.

svn path=/trunk/; revision=19340

16 years agoFix possible recursion by resetting the idle source id. (#507605, William
Emmanuele Bassi [Thu, 10 Jan 2008 14:27:54 +0000 (14:27 +0000)]
Fix possible recursion by resetting the idle source id. (#507605, William

2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkrecentchoosermenu.c:
(idle_populate_func), (idle_populate_clean_up): Fix possible
recursion by resetting the idle source id. (#507605, William
Pitcock)

svn path=/trunk/; revision=19339

16 years agofully initialize GdkWindowAttr to avoid valgrind warnings. (#507751, patch
Kristian Rietveld [Thu, 10 Jan 2008 10:13:28 +0000 (10:13 +0000)]
fully initialize GdkWindowAttr to avoid valgrind warnings. (#507751, patch

2008-01-10  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
(_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
avoid valgrind warnings.  (#507751, patch from Christian Persch).

svn path=/trunk/; revision=19333

16 years agoFix a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
Kristian Rietveld [Thu, 10 Jan 2008 09:27:40 +0000 (09:27 +0000)]
Fix a leak of the path (#504611, patch from Sadrul Habib Chowdhury).

2008-01-10  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
a leak of the path (#504611, patch from Sadrul Habib Chowdhury).

svn path=/trunk/; revision=19332

16 years agoFix #477175, reported by Juri Pakaste.
Kristian Rietveld [Thu, 10 Jan 2008 09:24:11 +0000 (09:24 +0000)]
Fix #477175, reported by Juri Pakaste.

2008-01-10  Kristian Rietveld  <kris@imendio.com>

Fix #477175, reported by Juri Pakaste.

* gtk/gtktreeprivate.h:
* gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
tree_view->priv->dy here directly, just calculate the new value
and set it on the adjustment,
(gtk_tree_view_adjustment_changed): add guards to not call
gtk_tree_view_dy_to_top_row() if we are currently in
gtk_tree_view_top_row_to_dy(),
(gtk_tree_view_put): fix coordinate annotation: these are bin_window
coordinates, not tree coordinates,
(gtk_tree_view_real_start_editing): add cast.

* gtk/tests/treeview-scrolling.c: add an assertion for checking the
position of the editable in the "create new row and start editing"
tests.

svn path=/trunk/; revision=19331

16 years agoremove unused variable.
Michael Natterer [Wed, 9 Jan 2008 17:02:50 +0000 (17:02 +0000)]
remove unused variable.

2008-01-09  Michael Natterer  <mitch@imendio.com>

* gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
variable.

* gtk/gtkcombobox.c (gtk_combo_box_detacher)
* gtk/gtkicontheme.c (theme_list_contexts)
(gtk_icon_theme_lookup_icon)
* gtk/gtkimcontextsimple.c (beep_window)
* gtk/gtklinkbutton.c (set_link_color)
* gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
fix warnings.

* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
variable and add const to another to fix a warning.

svn path=/trunk/; revision=19330

16 years agoBe more robust when removing the current page. (#499951, Andreas Sandberg)
Matthias Clasen [Tue, 8 Jan 2008 03:50:29 +0000 (03:50 +0000)]
Be more robust when removing the current page. (#499951, Andreas Sandberg)

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

        * gtk/gtkassistant.c (remove_page): Be more robust when removing
        the current page.  (#499951, Andreas Sandberg)

svn path=/trunk/; revision=19321

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Mon, 7 Jan 2008 11:13:42 +0000 (11:13 +0000)]
Translation updated by Ivar Smolin

2008-01-07  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=19320

16 years agoDeclare value in the example code for GtkSpinButton::output, as pointed
Johan Dahlin [Mon, 7 Jan 2008 01:26:39 +0000 (01:26 +0000)]
Declare value in the example code for GtkSpinButton::output, as pointed

2008-01-06  Johan Dahlin  <johan@gnome.org>

* gtk/gtkspinbutton.c: Declare value in the example code for
GtkSpinButton::output, as pointed out by Anders Carlsson.

svn path=/trunk/; revision=19319

16 years agoMake the labels left-aligned, and remove an obsolete event box. Bug
Christian Persch [Sun, 6 Jan 2008 23:09:24 +0000 (23:09 +0000)]
Make the labels left-aligned, and remove an obsolete event box. Bug

2008-01-06  Christian Persch  <chpe@gnome.org>

* gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
and remove an obsolete event box. Bug #506760.

svn path=/trunk/; revision=19318

16 years agoUpdate, GtkBuilder::translation-domain is no longer set
Johan Dahlin [Sun, 6 Jan 2008 15:20:40 +0000 (15:20 +0000)]
Update, GtkBuilder::translation-domain is no longer set

2008-01-06  Johan Dahlin  <johan@gnome.org>

* tests/buildertest.c (test_domain):
Update, GtkBuilder::translation-domain is no longer set

svn path=/trunk/; revision=19317

16 years agoAllow domains to be overridden in <interface>'s if a translation-domain is
Johan Dahlin [Sun, 6 Jan 2008 15:17:26 +0000 (15:17 +0000)]
Allow domains to be overridden in <interface>'s if a translation-domain is

2008-01-06  Johan Dahlin  <johan@gnome.org>

* gtk/gtkbuilderparser.c (parse_interface):
Allow domains to be overridden in <interface>'s if a translation-domain
is set in the builder.
(_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
of the builder, make the domain set in the <interface> apply only to strings
in that interface.
(#496831, Ryan Lortie)

svn path=/trunk/; revision=19316

16 years agoAvoid adding unnecessary trailing newlines to g_warning calls.
Johan Dahlin [Sun, 6 Jan 2008 15:06:55 +0000 (15:06 +0000)]
Avoid adding unnecessary trailing newlines to g_warning calls.

2008-01-06  Johan Dahlin  <johan@gnome.org>

* gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
to g_warning calls.

svn path=/trunk/; revision=19315

16 years agoRemove an unused variable
Johan Dahlin [Sun, 6 Jan 2008 14:58:57 +0000 (14:58 +0000)]
Remove an unused variable

* gtk/gtktreestore.c (tree_model_end_element):
Remove an unused variable

svn path=/trunk/; revision=19314

16 years agoUpdated zh_CN translation from manphiz
Yang Zhang [Sun, 6 Jan 2008 07:02:56 +0000 (07:02 +0000)]
Updated zh_CN translation from manphiz

svn path=/trunk/; revision=19313

16 years agoDocument the ::output signal and add an example. (#507566, example by Owen
Matthias Clasen [Sun, 6 Jan 2008 06:35:49 +0000 (06:35 +0000)]
Document the ::output signal and add an example. (#507566, example by Owen

2008-01-06  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkspinbutton.c: Document the ::output signal and
        add an example.  (#507566, example by Owen Taylor)

svn path=/trunk/; revision=19312

16 years agoUse G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075
Johan Dahlin [Sun, 6 Jan 2008 03:28:40 +0000 (03:28 +0000)]
Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075

2008-01-06  Johan Dahlin  <johan@gnome.org>

* gtk/gtkcellrenderercombo.c:
(gtk_cell_renderer_combo_get_property),
(gtk_cell_renderer_combo_set_property):
* gtk/gtkcombobox.c: (gtk_combo_box_set_property):
* gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
* gtk/gtknotebook.c: (gtk_notebook_set_property):
* gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
* gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
(gtk_text_buffer_get_property):
* gtk/gtktextview.c: (gtk_text_view_set_property):
* gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
* gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
(gtk_tool_button_get_property):
* gtk/gtktoolitem.c: (gtk_tool_item_set_property),
(gtk_tool_item_get_property):
* gtk/gtktreeview.c: (gtk_tree_view_set_property):
* gtk/gtkwidget.c: (gtk_widget_set_property):
* gtk/gtkwindow.c: (gtk_window_set_property):
Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
Fixes #5075

svn path=/trunk/; revision=19311

16 years agoMake sure that --root works for toplevel widgets. (#491847, Phil Lello)
Johan Dahlin [Sun, 6 Jan 2008 02:18:38 +0000 (02:18 +0000)]
Make sure that --root works for toplevel widgets. (#491847, Phil Lello)

2008-01-06  Johan Dahlin  <johan@gnome.org>

* gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
Make sure that --root works for toplevel widgets.
(#491847, Phil Lello)

svn path=/trunk/; revision=19309

16 years agoInclude Makefile.decl, to make sure that make test-report works properly
Johan Dahlin [Sat, 5 Jan 2008 23:21:36 +0000 (23:21 +0000)]
Include Makefile.decl, to make sure that make test-report works properly

2008-01-05  Johan Dahlin  <johan@gnome.org>

* modules/other/gail/tests/Makefile.am: Include Makefile.decl,
to make sure that make test-report works properly

svn path=/trunk/; revision=19308

16 years agoFix mem leak, and don't pass GType as integer through gpointer. Bug
Christian Persch [Sat, 5 Jan 2008 18:56:47 +0000 (18:56 +0000)]
Fix mem leak, and don't pass GType as integer through gpointer. Bug

2008-01-05  Christian Persch  <chpe@gnome.org>

        * tests/defaultvaluetest.c: Fix mem leak, and don't pass
        GType as integer through gpointer. Bug #507395.

svn path=/trunk/; revision=19307

16 years agoAvoid some compiler warnings (#507000).
Mathias Hasselmann [Sat, 5 Jan 2008 08:33:53 +0000 (08:33 +0000)]
Avoid some compiler warnings (#507000).

* gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
for value argument of _gtk_builder_flags_from_string.
* gtk/gtkwidget.c: Don't alias the child pointer passed
to gdk_window_get_user_data.

svn path=/trunk/; revision=19306

16 years agodon't forget to set the time in the returned GdkTimeCoords.
Michael Natterer [Fri, 4 Jan 2008 16:21:42 +0000 (16:21 +0000)]
don't forget to set the time in the returned GdkTimeCoords.

2008-01-04  Michael Natterer  <mitch@imendio.com>

* gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
to set the time in the returned GdkTimeCoords.

svn path=/trunk/; revision=19304

16 years agoUse the correct comparison function (kudos to Christian Persch and Claudio
Emmanuele Bassi [Thu, 3 Jan 2008 12:29:16 +0000 (12:29 +0000)]
Use the correct comparison function (kudos to Christian Persch and Claudio

2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>

* gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
correct comparison function (kudos to Christian Persch and
Claudio Saavedra for spotting this)

* gtk/gtkrecentchooserutils.c:
(sort_recent_items_mru),
(sort_recent_items_lru): Ditto as above.

svn path=/trunk/; revision=19302

16 years agoMake it pass again.
Johan Dahlin [Thu, 3 Jan 2008 08:51:03 +0000 (08:51 +0000)]
Make it pass again.

2008-01-03  Johan Dahlin  <johan@gnome.org>

* tests/defaultvaluetest.c: Make it pass again.

svn path=/trunk/; revision=19300

16 years agoIgnore a few more tests to make it pass on Ubuntu. (main): Use
Johan Dahlin [Wed, 2 Jan 2008 17:26:17 +0000 (17:26 +0000)]
Ignore a few more tests to make it pass on Ubuntu. (main): Use

2008-01-02  Johan Dahlin  <johan@gnome.org>

* tests/defaultvaluetest.c (test_type): Ignore a few more tests to
make it pass on Ubuntu.
(main): Use gtk_test_list_all_types () instead of providing our
own list.
And it no longer passes.

svn path=/trunk/; revision=19298

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Mon, 31 Dec 2007 21:08:12 +0000 (21:08 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=19295

16 years agoAlso reorder menu when reordering tabs by drag & drop (Bug #506474)
Johannes Schmid [Mon, 31 Dec 2007 16:26:18 +0000 (16:26 +0000)]
Also reorder menu when reordering tabs by drag & drop (Bug #506474)

2007-12-30  Johannes Schmid <jhs@gnome.org>

        * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
        Also reorder menu when reordering tabs by drag & drop
        (Bug #506474)

        * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
        Add a menu to one of the notebooks to have a test-case for
        the change mentioned above.

svn path=/trunk/; revision=19294

16 years agoUsing GSlice for GtkTreePath
Philip Van Hoof [Mon, 31 Dec 2007 11:26:55 +0000 (11:26 +0000)]
Using GSlice for GtkTreePath

2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>

        * gtk/gtktreemodel.c: Using GSlice for GtkTreePath

svn path=/trunk/; revision=19292

16 years agoPlug a mem leak. Bug #506107.
Christian Persch [Mon, 31 Dec 2007 00:04:32 +0000 (00:04 +0000)]
Plug a mem leak. Bug #506107.

2007-12-31  Christian Persch  <chpe@gnome.org>

* gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
Plug a mem leak. Bug #506107.

svn path=/trunk/; revision=19290

16 years agoAdjust to icon cache api change. (#506135, Kazuki Iwamoto)
Matthias Clasen [Sat, 29 Dec 2007 00:14:30 +0000 (00:14 +0000)]
Adjust to icon cache api change. (#506135, Kazuki Iwamoto)

2007-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
        icon cache api change.  (#506135, Kazuki Iwamoto)

svn path=/trunk/; revision=19289

16 years agoSecond attempt to fix the ChangeLog WTF - by comparing with the commit messages
Mathias Hasselmann [Fri, 28 Dec 2007 22:55:45 +0000 (22:55 +0000)]
Second attempt to fix the ChangeLog WTF - by comparing with the commit messages
in my mailbox. You really shall not write ChangeLog entries by hand: It is
redundant to the SVN log, merge conflicts cost time and it is error prone.

svn path=/trunk/; revision=19288

16 years agoCorrect typo and remove the ChangeLog-WTF, mclasen produced with r19253.
Mathias Hasselmann [Fri, 28 Dec 2007 22:24:48 +0000 (22:24 +0000)]
Correct typo and remove the ChangeLog-WTF, mclasen produced with r19253.

svn path=/trunk/; revision=19287

16 years agoRemove max_detail_height field from GtkCalendarPrivate. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 22:11:35 +0000 (22:11 +0000)]
Remove max_detail_height field from GtkCalendarPrivate. (#339540)

* gtk/gtkcalendar.c: Drop max_detail_height field, and use
a local variable instead in gtk_calendar_size_request.

svn path=/trunk/; revision=19286

16 years agoAdd exlusions
Matthias Clasen [Fri, 28 Dec 2007 21:19:11 +0000 (21:19 +0000)]
Add exlusions

svn path=/trunk/; revision=19285

16 years agoMove the gail tests from standalone gail to gtk+. Bug #504568.
Christian Persch [Fri, 28 Dec 2007 20:23:14 +0000 (20:23 +0000)]
Move the gail tests from standalone gail to gtk+. Bug #504568.

svn path=/trunk/; revision=19284

16 years agoMake finalizer more robust
Matthias Clasen [Fri, 28 Dec 2007 19:55:37 +0000 (19:55 +0000)]
Make finalizer more robust

svn path=/trunk/; revision=19283

16 years agoDraw bottom shadow of GtkCalender headings. (#506113)
Mathias Hasselmann [Fri, 28 Dec 2007 19:46:53 +0000 (19:46 +0000)]
Draw bottom shadow of GtkCalender headings. (#506113)

* gtk/gtkcalendar.c: Set proper initial height for priv->header_win.

svn path=/trunk/; revision=19282

16 years agoDocument some initial values
Matthias Clasen [Fri, 28 Dec 2007 19:36:16 +0000 (19:36 +0000)]
Document some initial values

svn path=/trunk/; revision=19281

16 years agoMore default property value fixes
Matthias Clasen [Fri, 28 Dec 2007 19:20:26 +0000 (19:20 +0000)]
More default property value fixes

svn path=/trunk/; revision=19280

16 years agoPlug a mem leak. Bug #506096.
Christian Persch [Fri, 28 Dec 2007 19:18:55 +0000 (19:18 +0000)]
Plug a mem leak. Bug #506096.

2007-12-28  Christian Persch  <chpe@gnome.org>

* gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
a mem leak. Bug #506096.

svn path=/trunk/; revision=19279

16 years agoMore default property value fixes
Matthias Clasen [Fri, 28 Dec 2007 18:10:32 +0000 (18:10 +0000)]
More default property value fixes

svn path=/trunk/; revision=19278

16 years agoMore default property value fixes
Matthias Clasen [Fri, 28 Dec 2007 17:29:53 +0000 (17:29 +0000)]
More default property value fixes

svn path=/trunk/; revision=19277

16 years agoMore default property value corrections
Matthias Clasen [Fri, 28 Dec 2007 17:10:33 +0000 (17:10 +0000)]
More default property value corrections

svn path=/trunk/; revision=19276

16 years agoFix a finalizer issue
Matthias Clasen [Fri, 28 Dec 2007 15:57:14 +0000 (15:57 +0000)]
Fix a finalizer issue

svn path=/trunk/; revision=19275

16 years agoDon't return NULL.
Matthias Clasen [Fri, 28 Dec 2007 15:51:31 +0000 (15:51 +0000)]
Don't return NULL.

2007-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.

svn path=/trunk/; revision=19274

16 years agoFix default property values
Matthias Clasen [Fri, 28 Dec 2007 15:46:18 +0000 (15:46 +0000)]
Fix default property values

svn path=/trunk/; revision=19273

16 years agoFix default values
Matthias Clasen [Fri, 28 Dec 2007 15:43:51 +0000 (15:43 +0000)]
Fix default values

svn path=/trunk/; revision=19272

16 years agoFix the default value of the curve-type property
Matthias Clasen [Fri, 28 Dec 2007 15:21:24 +0000 (15:21 +0000)]
Fix the default value of the curve-type property

svn path=/trunk/; revision=19271

16 years agoFix the default value of enable-arrows-always
Matthias Clasen [Fri, 28 Dec 2007 15:18:32 +0000 (15:18 +0000)]
Fix the default value of enable-arrows-always

svn path=/trunk/; revision=19270

16 years agoChain up. This makes it possible to have accelerators tags on GtkDialog
Johan Dahlin [Fri, 28 Dec 2007 10:36:07 +0000 (10:36 +0000)]
Chain up. This makes it possible to have accelerators tags on GtkDialog

2007-12-28  Johan Dahlin  <johan@gnome.org>

* gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
(gtk_dialog_buildable_custom_tag_start): Chain up.
This makes it possible to have accelerators tags on GtkDialog
subclasses.

svn path=/trunk/; revision=19268

16 years agoAdd GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details are shown within...
Mathias Hasselmann [Fri, 28 Dec 2007 09:39:34 +0000 (09:39 +0000)]
Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details are shown within the widget, or jst as tooltip.

* gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
* tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
in flags vbox.

svn path=/trunk/; revision=19267

16 years agoTry more decent appearance of calendar details separator. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:57 +0000 (09:36 +0000)]
Try more decent appearance of calendar details separator. (#339540)

* gtk/gtkcalendar.c: Use different colors for drawing the separator,
and make it short by one pixel on each side.

svn path=/trunk/; revision=19266

16 years agoApply trivial code-style changes from attachement 101101. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:40 +0000 (09:36 +0000)]
Apply trivial code-style changes from attachement 101101. (#339540)

* tests/testcalendar.c: Some updates to current GTK+ code-style.

svn path=/trunk/; revision=19265

16 years agoRestructure testcalendar for testing calendar details. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:21 +0000 (09:36 +0000)]
Restructure testcalendar for testing calendar details. (#339540)

* tests/testcalendar.c: Push code arround for testing calendar details.

svn path=/trunk/; revision=19264

16 years agoImplement GtkTooltip API for calendar details. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:36:06 +0000 (09:36 +0000)]
Implement GtkTooltip API for calendar details. (#339540)

* gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
Remember detail overflows in calendar_paint_day to show the tooltip
only when neccessary.

svn path=/trunk/; revision=19263

16 years agoWithout setting "detail-width-chars" and "detail-height-rows"
Mathias Hasselmann [Fri, 28 Dec 2007 09:26:38 +0000 (09:26 +0000)]
Without setting "detail-width-chars" and "detail-height-rows"
properties not only the widget has to be redrawn on certain
conditions, but also its size must be recalculated. (#339540)

* gtk/gtkcalendar.c: Add calendar_queue_refresh and call
that function instead of gtk_widget_queue_draw.

svn path=/trunk/; revision=19262

16 years agoConsider details for size-request and expose-event. (#339540)
Mathias Hasselmann [Fri, 28 Dec 2007 09:26:20 +0000 (09:26 +0000)]
Consider details for size-request and expose-event. (#339540)

* gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
is_color_attribute functions. Change gtk_calendar_size_request
and calendar_paint_day to consider and show calender details.

svn path=/trunk/; revision=19261

16 years agoupdated si.po
SANDRA MARAKKALA DANISHKA NAVIN [Fri, 28 Dec 2007 08:30:22 +0000 (08:30 +0000)]
updated si.po

svn path=/trunk/; revision=19260

16 years agoupdated si.po
SANDRA MARAKKALA DANISHKA NAVIN [Fri, 28 Dec 2007 08:28:28 +0000 (08:28 +0000)]
updated si.po

svn path=/trunk/; revision=19259

16 years agoIntroduce local priv variables to reduce ->->
Matthias Clasen [Fri, 28 Dec 2007 06:56:48 +0000 (06:56 +0000)]
Introduce local priv variables to reduce ->->

2007-12-28  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcombobox.c: Introduce local priv variables to
        reduce ->->

svn path=/trunk/; revision=19258

16 years agoFix the default value of the tearoff-title property
Matthias Clasen [Fri, 28 Dec 2007 05:49:21 +0000 (05:49 +0000)]
Fix the default value of the tearoff-title property

svn path=/trunk/; revision=19257

16 years agoFix the default value for the wrap-mode and font-scale properties.
Matthias Clasen [Fri, 28 Dec 2007 05:32:55 +0000 (05:32 +0000)]
Fix the default value for the wrap-mode and font-scale properties.

2007-12-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcellrenderertext.c: Fix the default value for the
        wrap-mode and font-scale properties.

svn path=/trunk/; revision=19256

16 years agoFix the default value for the ratio property.
Matthias Clasen [Fri, 28 Dec 2007 05:02:29 +0000 (05:02 +0000)]
Fix the default value for the ratio property.

2007-12-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaspectratio.c: Fix the default value for the ratio
        property.

svn path=/trunk/; revision=19255

16 years agoFix 0<>NULL confusion in gtk_signal_connect... defines. (#505708, MINAMI
Matthias Clasen [Fri, 28 Dec 2007 03:46:03 +0000 (03:46 +0000)]
Fix 0<>NULL confusion in gtk_signal_connect... defines. (#505708, MINAMI

2007-12-27  Matthias Clasen  <mclasen@redhat.com>

        * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
        defines.  (#505708,  MINAMI Hirokazu)

svn path=/trunk/; revision=19253

16 years agoInstall gail.pc. Bug #505859.
Christian Persch [Thu, 27 Dec 2007 23:05:11 +0000 (23:05 +0000)]
Install gail.pc. Bug #505859.

svn path=/trunk/; revision=19252

16 years agoAdd infrastructure for GtkCalendar details. (#339540)
Mathias Hasselmann [Thu, 27 Dec 2007 20:41:08 +0000 (20:41 +0000)]
Add infrastructure for GtkCalendar details. (#339540)

* gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
Add "detail-width-chars" and "detail-height-rows" properties,
and gtk_calendar_set_detail_func function.

svn path=/trunk/; revision=19251

16 years agoAdd gtk_border_new to avoid memory allocator confusions when using
Xan Lopez [Thu, 27 Dec 2007 14:04:37 +0000 (14:04 +0000)]
Add gtk_border_new to avoid memory allocator confusions when using

2007-12-27  Xan Lopez  <xan@gnome.org>

* gtk/gtk.symbols:
* gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):

Add gtk_border_new to avoid memory allocator confusions when using
GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)

svn path=/trunk/; revision=19248

16 years agoFir the patch from bug #504886 not to read unitialised memory.
Christian Persch [Thu, 27 Dec 2007 12:09:06 +0000 (12:09 +0000)]
Fir the patch from bug #504886 not to read unitialised memory.

2007-12-27  Christian Persch  <chpe@gnome.org>

* gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
bug #504886 not to read unitialised memory.

svn path=/trunk/; revision=19247

16 years agoUpdate changelog.
Xan Lopez [Wed, 26 Dec 2007 11:33:37 +0000 (11:33 +0000)]
Update changelog.

svn path=/trunk/; revision=19246

16 years agoTake into account modifications of the inner frame for has_extra_children.
Xan Lopez [Wed, 26 Dec 2007 11:32:47 +0000 (11:32 +0000)]
Take into account modifications of the inner frame for has_extra_children.

svn path=/trunk/; revision=19245

16 years agoWe always chain to the parent size_allocate, no need to do this.
Xan Lopez [Wed, 26 Dec 2007 11:32:16 +0000 (11:32 +0000)]
We always chain to the parent size_allocate, no need to do this.

svn path=/trunk/; revision=19244

16 years agoupdated si.po
SANDRA MARAKKALA DANISHKA NAVIN [Wed, 26 Dec 2007 06:16:01 +0000 (06:16 +0000)]
updated si.po

svn path=/trunk/; revision=19243