]> Pileus Git - ~andy/gtk/log
~andy/gtk
16 years agoInitialise |widget|. Fixes a buglet introduced by the commit from bug
Christian Persch [Tue, 25 Dec 2007 12:04:03 +0000 (12:04 +0000)]
Initialise |widget|. Fixes a buglet introduced by the commit from bug
#505226.

svn path=/trunk/; revision=19239

16 years agoUse G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
Christian Persch [Tue, 25 Dec 2007 10:01:14 +0000 (10:01 +0000)]
Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.

svn path=/trunk/; revision=19238

16 years agoRemove relocations from the atk factories. Remove unused gail_foo_new()
Christian Persch [Tue, 25 Dec 2007 09:29:46 +0000 (09:29 +0000)]
Remove relocations from the atk factories. Remove unused gail_foo_new()

* modules/other/gail/*.[ch]: Remove relocations from the atk
factories. Remove unused gail_foo_new() functions. Fix object
instantiation to be derivation safe by moving initialisation code
from the removed gail_foo_new() functions to the
AtkObjectClass::initialize implementation. Bug #505226.

svn path=/trunk/; revision=19237

16 years agoRemove non-multihead-safe uses of clipboards and settings. (#504722,
Matthias Clasen [Tue, 25 Dec 2007 04:52:13 +0000 (04:52 +0000)]
Remove non-multihead-safe uses of clipboards and settings. (#504722,

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

        * modules/other/gail/gailentry.c:
        * modules/other/gail/gailimage.c:
        * modules/other/gail/gailtextview.c: Remove non-multihead-safe
        uses of clipboards and settings.  (#504722, Christian Persch)

svn path=/trunk/; revision=19236

16 years agoRemove unneeded includes. (#505411, Kazuki IWAMOTO)
Matthias Clasen [Tue, 25 Dec 2007 04:25:38 +0000 (04:25 +0000)]
Remove unneeded includes. (#505411, Kazuki IWAMOTO)

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

        * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
         Kazuki IWAMOTO)

svn path=/trunk/; revision=19235

16 years agoWhen popping up a menu from a treeview cell, use the time and button
Matthias Clasen [Tue, 25 Dec 2007 04:04:21 +0000 (04:04 +0000)]
When popping up a menu from a treeview cell, use the time and button

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

        * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
        use the time and button information from the event.  (#504901,
        Peter Bloomfield)

svn path=/trunk/; revision=19234

16 years agoCheck that the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
Cody Russell [Sun, 23 Dec 2007 21:14:09 +0000 (21:14 +0000)]
Check that the window is mapped before setting SW_RESTORE or SW_MINIMIZE.

2007-12-23  Cody Russell  <bratsche@gnome.org>

        * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
        the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
        Fixes a regression caused by #164537 patch where transient
        windows that are hidden get shown (incorrectly) when their
        parents are minimized. (#504984)

svn path=/trunk/; revision=19231

16 years agoUpdated Arabic Translation by Djihed Afifi.
Djihed Afifi [Sun, 23 Dec 2007 13:59:03 +0000 (13:59 +0000)]
Updated Arabic Translation by Djihed Afifi.

svn path=/trunk/; revision=19230

16 years agoFix compiler warnings. Bug #504701.
Christian Persch [Sun, 23 Dec 2007 12:37:13 +0000 (12:37 +0000)]
Fix compiler warnings. Bug #504701.

svn path=/trunk/; revision=19229

16 years agoInclude <config.h>. Bug #504720.
Christian Persch [Sun, 23 Dec 2007 12:27:33 +0000 (12:27 +0000)]
Include <config.h>. Bug #504720.

svn path=/trunk/; revision=19228

16 years agoUse G_DEFINE_TYPE[_WITH_CODE] instead of hand-coding the get_type functions. Bug...
Christian Persch [Sun, 23 Dec 2007 12:24:59 +0000 (12:24 +0000)]
Use G_DEFINE_TYPE[_WITH_CODE] instead of hand-coding the get_type functions. Bug #504661.

svn path=/trunk/; revision=19227

16 years agopass correct argument to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter*
Xan Lopez [Sun, 23 Dec 2007 01:27:06 +0000 (01:27 +0000)]
pass correct argument to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter*

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

* gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).

Patch by Sadrul Habib Chowdhury (#504804)

svn path=/trunk/; revision=19225

16 years agoLink to gdk and gtk libs. Bug #504645, patch by Li Yuan.
Christian Persch [Sat, 22 Dec 2007 23:19:42 +0000 (23:19 +0000)]
Link to gdk and gtk libs. Bug #504645, patch by Li Yuan.

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

* modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
#504645, patch by Li Yuan.

svn path=/trunk/; revision=19224

16 years agoPlug mem leaks. Bug #504886.
Christian Persch [Sat, 22 Dec 2007 21:03:40 +0000 (21:03 +0000)]
Plug mem leaks. Bug #504886.

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

* gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.

svn path=/trunk/; revision=19223

16 years agoUse gdk_threads_add_idle. Bug #504571.
Christian Persch [Sat, 22 Dec 2007 20:18:13 +0000 (20:18 +0000)]
Use gdk_threads_add_idle. Bug #504571.

svn path=/trunk/; revision=19222

16 years agoChain up the finalizer
Matthias Clasen [Sat, 22 Dec 2007 15:27:13 +0000 (15:27 +0000)]
Chain up the finalizer

svn path=/trunk/; revision=19221

16 years agoPlug leak of destroyed subviews, fixes bug #504753.
Richard Hult [Fri, 21 Dec 2007 20:21:05 +0000 (20:21 +0000)]
Plug leak of destroyed subviews, fixes bug #504753.

2007-12-21  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
Plug leak of destroyed subviews, fixes bug #504753.

svn path=/trunk/; revision=19218

16 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 21 Dec 2007 13:49:51 +0000 (13:49 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=19217

16 years agoAdd a test for default property values, based on program by Christan Perch
Johan Dahlin [Fri, 21 Dec 2007 01:01:17 +0000 (01:01 +0000)]
Add a test for default property values, based on program by Christan Perch

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

* tests/Makefile.am (TEST_PROGS):
* tests/defaultvaluetest.c: Add a test for default property values,
based on program by Christan Perch

svn path=/trunk/; revision=19215

16 years agoRefactor to avoid some duplication. Convert toplevel GtkMenu's top popups
Johan Dahlin [Thu, 20 Dec 2007 23:44:18 +0000 (23:44 +0000)]
Refactor to avoid some duplication. Convert toplevel GtkMenu's top popups

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

* gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
Refactor to avoid some duplication.
Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
Fixes #504749, Yuri Pimenov

svn path=/trunk/; revision=19213

16 years agoRemove leftovers from old XRandR check. Makes the build work again on
Kristian Rietveld [Thu, 20 Dec 2007 14:49:54 +0000 (14:49 +0000)]
Remove leftovers from old XRandR check. Makes the build work again on

2007-12-20  Kristian Rietveld  <kris@imendio.com>

* configure.in: Remove leftovers from old XRandR check.  Makes
the build work again on systems without xrandr 1.2.

svn path=/trunk/; revision=19211

16 years agoKeep the same libtool version as the standalone libgail-util had. Bug #504643.
Christian Persch [Thu, 20 Dec 2007 14:31:01 +0000 (14:31 +0000)]
Keep the same libtool version as the standalone libgail-util had. Bug #504643.

svn path=/trunk/; revision=19210

16 years agogenerate HTML reports for test-report perf-report full-report.
15:30:09 Tim Janik [Thu, 20 Dec 2007 14:28:37 +0000 (14:28 +0000)]
generate HTML reports for test-report perf-report full-report.

2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>

        * Makefile.decl: generate HTML reports for test-report perf-report full-report.

svn path=/trunk/; revision=19209

16 years agoUpdate for gio API changes
Alexander Larsson [Thu, 20 Dec 2007 13:40:04 +0000 (13:40 +0000)]
Update for gio API changes

2007-12-20  Alexander Larsson  <alexl@redhat.com>

        * gdk/x11/gdkapplaunchcontext-x11.c:
Update for gio API changes

svn path=/trunk/; revision=19208

16 years agoMake manual resizing smoother by processing events after changing the
Richard Hult [Thu, 20 Dec 2007 13:25:37 +0000 (13:25 +0000)]
Make manual resizing smoother by processing events after changing the

2007-12-20  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzWindow.c:
* gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
processing events after changing the size.

svn path=/trunk/; revision=19206

16 years agoFix typo in ChangeLog.
Richard Hult [Thu, 20 Dec 2007 12:22:16 +0000 (12:22 +0000)]
Fix typo in ChangeLog.

svn path=/trunk/; revision=19205

16 years agoAdd stub for quartz for fix build.
Richard Hult [Thu, 20 Dec 2007 12:21:51 +0000 (12:21 +0000)]
Add stub for quartz for fix build.

2007-12-20  Richard Hult  <richard@imendio.com>

* modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
Add stub for quartz for fix build.

svn path=/trunk/; revision=19204

16 years agoR modules/other/gail/gailintl.h: Use the stock item's label as the name of
Christian Persch [Thu, 20 Dec 2007 00:22:39 +0000 (00:22 +0000)]
R modules/other/gail/gailintl.h: Use the stock item's label as the name of

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

* modules/other/gail/Makefile.am:
* modules/other/gail/gailimage.c: (gail_image_class_init),
(gail_image_init), (elide_underscores), (gail_image_get_name),
(atk_image_interface_init), (gail_image_finalize):
* modules/other/gail/gailimage.h:
R modules/other/gail/gailintl.h:
* po/POTFILES.skip: Use the stock item's label as the name of the
accessible in gailimage.c. Bug #504246.

svn path=/trunk/; revision=19203

16 years agoCorrect date in ChangeLog entry
Mathias Hasselmann [Thu, 20 Dec 2007 00:02:46 +0000 (00:02 +0000)]
Correct date in ChangeLog entry

svn path=/trunk/; revision=19202

16 years agoAvoid some compiler warnings and remove obsolete code. (#339540)
Mathias Hasselmann [Wed, 19 Dec 2007 22:57:01 +0000 (22:57 +0000)]
Avoid some compiler warnings and remove obsolete code. (#339540)

* gtk/gtkcalendar.c: Change week and year variable in
calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
0" block from calendar_paint_day: The feature in question is handled
few lines above. Cast data returned by gtk_selection_data_get_text()
to (gchar*) in gtk_calendar_drag_data_received.

svn path=/trunk/; revision=19201

16 years agoinclude Makefile.decl to unbreak test rules.
19:54:11 Tim Janik [Wed, 19 Dec 2007 18:52:30 +0000 (18:52 +0000)]
include Makefile.decl to unbreak test rules.

2007-12-19 19:54:11  Tim Janik  <timj@imendio.com>

        * libgail-util/Makefile.am: include Makefile.decl to unbreak test rules.

svn path=/trunk/; revision=19200

16 years agoUpdated Irish translation.
Seán de Búrca [Wed, 19 Dec 2007 17:26:27 +0000 (17:26 +0000)]
Updated Irish translation.

2007-12-19  Seán de Búrca  <sdeburca@svn.gnome.org>

    * ga.po: Updated Irish translation.

svn path=/trunk/; revision=19199

16 years agoinclude Makefile.decl to unbreak test rules.
17:05:31 Tim Janik [Wed, 19 Dec 2007 16:03:34 +0000 (16:03 +0000)]
include Makefile.decl to unbreak test rules.

2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>

        * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.

svn path=/trunk/; revision=19198

16 years agoAdd another call to gtk_builder_add_string after using delayed properties,
Johan Dahlin [Wed, 19 Dec 2007 13:49:29 +0000 (13:49 +0000)]
Add another call to gtk_builder_add_string after using delayed properties,

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

* tests/buildertest.c (test_object_properties):
Add another call to gtk_builder_add_string after using
delayed properties, as reported in #504393 but already
fixed in #495769.

svn path=/trunk/; revision=19197

16 years agoIntegrate gail into gtk+. Bug #169488.
Christian Persch [Tue, 18 Dec 2007 13:51:12 +0000 (13:51 +0000)]
Integrate gail into gtk+. Bug #169488.

* configure.in:
* docs/reference/Makefile.am:
* docs/reference/libgail-util/*:
* gail-uninstalled.pc.in:
* gail.pc.in:
* modules/Makefile.am:
* modules/other/Makefile.am:
* modules/other/gail/*:
* modules/other/gail/libgail-util/*:
* po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.

svn path=/trunk/; revision=19196

16 years agoAdd a gtk-im-module GTK setting
Matthias Clasen [Tue, 18 Dec 2007 03:24:17 +0000 (03:24 +0000)]
Add a gtk-im-module GTK setting

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

        * gtk/gtksettings.c: Add a gtk-im-module GTK setting
        * gdk/win32/gdkproperty-win32.c:
        * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.

        * gtk/gtkimmodule.[hc]:
        * gtk/gtkimmulticontext.[hc]: When determining the default context,
        look at the gtk-im-module setting, and listen for changes to the
        setting.  (#502446, Akira Tagoh)

svn path=/trunk/; revision=19195

16 years agosv.po: Swedish translation updated
Daniel Nylander [Mon, 17 Dec 2007 18:19:20 +0000 (18:19 +0000)]
sv.po: Swedish translation updated

svn path=/trunk/; revision=19192

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Mon, 17 Dec 2007 15:54:24 +0000 (15:54 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=19190

16 years agouse a weak pointer to set last_window to NULL as soon as it's destroyed.
Kristian Rietveld [Mon, 17 Dec 2007 15:33:45 +0000 (15:33 +0000)]
use a weak pointer to set last_window to NULL as soon as it's destroyed.

2007-12-17  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktooltip.c (gtk_tooltip_finalize),
(gtk_tooltip_set_last_window): use a weak pointer to set last_window
to NULL as soon as it's destroyed.  (#496546, patch from
Benjamin Berg).

svn path=/trunk/; revision=19189

16 years agoalways determine what arrow to show if show_sort_indicator is true.
Kristian Rietveld [Mon, 17 Dec 2007 13:25:43 +0000 (13:25 +0000)]
always determine what arrow to show if show_sort_indicator is true.

2007-12-17  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
always determine what arrow to show if show_sort_indicator is true.
(#352738, Chris Vine).

svn path=/trunk/; revision=19188

16 years agoPrevent assertion failure in gtk_paned_find_neighbours. (#503824,
Mathias Hasselmann [Sun, 16 Dec 2007 19:15:17 +0000 (19:15 +0000)]
Prevent assertion failure in gtk_paned_find_neighbours. (#503824,

Sébastien Granjoux)

* gtk/gtkpaned.c: Call gtk_container_forall instead of
gtk_container_foreach in get_child_panes.

svn path=/trunk/; revision=19186

16 years agoPlug leak: When reordering the info in the list the old node is removed
Xan Lopez [Sat, 15 Dec 2007 11:15:19 +0000 (11:15 +0000)]
Plug leak: When reordering the info in the list the old node is removed

2007-12-15  Xan Lopez  <xan.lopez@nokia.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):

Plug leak: When reordering the info in the list the old node is
removed but not freed. (#503569)

svn path=/trunk/; revision=19184

16 years agoUse u32 instead of __u32 and u8 instead of __u8 as the other types are
Sebastian Dröge [Sat, 15 Dec 2007 05:01:30 +0000 (05:01 +0000)]
Use u32 instead of __u32 and u8 instead of __u8 as the other types are

* gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
Use u32 instead of __u32 and u8 instead of __u8 as the other types
are deprecated since DirectFB 1.0.0. If compiling with an older
version define the new type name to the old types. Fixes bug #503190.

svn path=/trunk/; revision=19182

16 years agoSuggest g_signal_connect (..., "realize", ...) instead of
Ray Strode [Fri, 14 Dec 2007 17:06:08 +0000 (17:06 +0000)]
Suggest g_signal_connect (..., "realize", ...) instead of

2007-12-14  Ray Strode  <rstrode@redhat.com>

* gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
instead of g_signal_connect_after (..., "realize", ...) as an
alternative to gtk_widget_realize () (bug 503537).

svn path=/trunk/; revision=19181

16 years agogdk/gdkinternals.h #include <gio/gio.h> instead of individual files.
Michael Natterer [Fri, 14 Dec 2007 11:20:10 +0000 (11:20 +0000)]
gdk/gdkinternals.h #include <gio/gio.h> instead of individual files.

2007-12-14  Michael Natterer  <mitch@imendio.com>

* gdk/gdkinternals.h
* gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
individual files.

* gdk/gdkapplaunchcontext.c
* gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
header already includes everything now.

svn path=/trunk/; revision=19180

16 years agoCorrect "Since:" tags for GtkPageSetup and GtkPrintSettings as
Mathias Hasselmann [Fri, 14 Dec 2007 11:07:23 +0000 (11:07 +0000)]
Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
next stable release shall be 2.16, not 2.14 - even if disagree.

* gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/

svn path=/trunk/; revision=19179

16 years agoRemove comments I forgot in docs/reference/gtk/gtk-docs.sgml.
Mathias Hasselmann [Fri, 14 Dec 2007 11:03:41 +0000 (11:03 +0000)]
Remove comments I forgot in docs/reference/gtk/gtk-docs.sgml.

svn path=/trunk/; revision=19178

16 years agoChange GtkToolItem to retrieve its properties from GtkToolShell interface,
Mathias Hasselmann [Fri, 14 Dec 2007 10:57:46 +0000 (10:57 +0000)]
Change GtkToolItem to retrieve its properties from GtkToolShell interface,
instead of relying on being child of a GtkToolbar. (#5034079)

* gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
* docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
* gtk/gtktoolbar.c: Implement GtkToolShellIface.
* gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
* gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
Take section docs from template file and update them for GtkToolShell.
* gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
* gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.

svn path=/trunk/; revision=19177

16 years agoExtract loading of GtkPageSetup and GtkPrintSettings from their *_new_*()
Mathias Hasselmann [Fri, 14 Dec 2007 09:02:54 +0000 (09:02 +0000)]
Extract loading of GtkPageSetup and GtkPrintSettings from their *_new_*()
functions and move that code into separate *_load_*() functions (#475565).

* gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
gtk_print_settings_load_file and gtk_print_settings_load_key_file.
Change the matching *_new_*() functions to use those functions.

svn path=/trunk/; revision=19176

16 years agoClose an api gap in tooltips
Matthias Clasen [Fri, 14 Dec 2007 05:00:51 +0000 (05:00 +0000)]
Close an api gap in tooltips

svn path=/trunk/; revision=19175

16 years agoadded tests for insertion functions.
Kristian Rietveld [Fri, 14 Dec 2007 00:52:04 +0000 (00:52 +0000)]
added tests for insertion functions.

2007-12-14  Kristian Rietveld  <kris@imendio.com>

* gtk/tests/liststore.c:
* gtk/tests/treestore.c: added tests for insertion functions.

svn path=/trunk/; revision=19174

16 years agoAdd RandR 1.2 support
Søren Sandmann [Thu, 13 Dec 2007 18:27:05 +0000 (18:27 +0000)]
Add RandR 1.2 support

Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>

        * Add RandR 1.2 support

        - New monitors_changed signal - New API to get width/height of
          monitors, and the name of the plug

svn path=/trunk/; revision=19173

16 years agotest the move and swap functions on a store with only one node.
Kristian Rietveld [Thu, 13 Dec 2007 16:28:12 +0000 (16:28 +0000)]
test the move and swap functions on a store with only one node.

2007-12-13  Kristian Rietveld  <kris@imendio.com>

* gtk/tests/liststore.c:
* gtk/tests/treestore.c: test the move and swap functions on a
store with only one node.

svn path=/trunk/; revision=19172

16 years agoadd a call to g_test_bug_base().
Kristian Rietveld [Thu, 13 Dec 2007 14:05:04 +0000 (14:05 +0000)]
add a call to g_test_bug_base().

2007-12-13  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktestutils.c (gtk_test_init): add a call to
g_test_bug_base().

* gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
appriopriate tests.

svn path=/trunk/; revision=19171

16 years agostart composing tests for the list and tree store.
Kristian Rietveld [Thu, 13 Dec 2007 12:59:01 +0000 (12:59 +0000)]
start composing tests for the list and tree store.

2007-12-13  Kristian Rietveld  <kris@imendio.com>

* gtk/tests/liststore.c:
* gtk/tests/treestore.c: start composing tests for the list and tree
store.

* gtk/tests/treeview-scrolling.c: added automated tests for
GtkTreeView's scrolling "subsystem".

* gtk/tests/Makefile.am: updated; added new test programs.

svn path=/trunk/; revision=19170

16 years agoRemove all .cvsignore files.
Michael Natterer [Thu, 13 Dec 2007 11:18:45 +0000 (11:18 +0000)]
Remove all .cvsignore files.

svn path=/trunk/; revision=19169

16 years agoMake the code compile again after the GdkAppLaunchContext changes.
Mathias Hasselmann [Thu, 13 Dec 2007 10:05:07 +0000 (10:05 +0000)]
Make the code compile again after the GdkAppLaunchContext changes.

* configure.in: Add gio-2.0 to GDK_PACKAGES.
* gdk/gdkinternals.h: Include <gio/gappinfo.h>.

svn path=/trunk/; revision=19168

16 years agoAdd docs
Matthias Clasen [Thu, 13 Dec 2007 05:49:11 +0000 (05:49 +0000)]
Add docs

svn path=/trunk/; revision=19167

16 years agoForgotten file
Matthias Clasen [Thu, 13 Dec 2007 05:17:04 +0000 (05:17 +0000)]
Forgotten file

svn path=/trunk/; revision=19166

16 years agoImplement GAppLaunchContext in gdk, providing startup notification.
Matthias Clasen [Thu, 13 Dec 2007 05:16:33 +0000 (05:16 +0000)]
Implement GAppLaunchContext in gdk, providing startup notification.

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

        * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
        in gdk, providing startup notification.  (#503203)

        * gdk/x11/gdkapplaunchcontext-x11.c:
        * gdk/win32/gdkapplaunchcontext-win32.c:
        * gdk/quartz/gdkapplaunchcontext-quartz.c:
        * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
        parts. All but X11 are just empty stubs for now.

        * gdk/gdk.symbols:
        * gdk/gdkinternals.h:
        * gdk/Makefile.am:
        * gdk/x11/Makefile.am:
        * gdk/win32/Makefile.am:
        * gdk/quartz/Makefile.am:
        * gdk/directfb/Makefile.am: Necessary glue.

svn path=/trunk/; revision=19165

16 years agoAnother attempt to improve gtk_drag_dest_set docs.
Mathias Hasselmann [Wed, 12 Dec 2007 09:39:36 +0000 (09:39 +0000)]
Another attempt to improve gtk_drag_dest_set docs.

* gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.

svn path=/trunk/; revision=19164

16 years agoApplied a patch by Claudio Ciccani which adds testing functions to the
Attilio Fiandrotti [Tue, 11 Dec 2007 20:20:29 +0000 (20:20 +0000)]
Applied a patch by Claudio Ciccani which adds testing functions to the

2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>

* gdk/directfb/gdktestutils-directfb.c:
* gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
which adds testing functions to the DirectFB backend.

svn path=/trunk/; revision=19163

16 years agoApplied a patch by Claudio Ciccani which fixes the mixing of gdk and cairo
Attilio Fiandrotti [Tue, 11 Dec 2007 20:09:01 +0000 (20:09 +0000)]
Applied a patch by Claudio Ciccani which fixes the mixing of gdk and cairo

2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>

* gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
Ciccani which fixes the mixing of gdk and cairo rendering.

svn path=/trunk/; revision=19161

16 years agoMove documentation for gtk_drag_dest_set to gtkdnd.c.
Mathias Hasselmann [Tue, 11 Dec 2007 18:57:00 +0000 (18:57 +0000)]
Move documentation for gtk_drag_dest_set to gtkdnd.c.

* docs/reference/gtk/tmpl/gtkdnd.sgml:
Move documentation for gtk_drag_dest_set to gtkdnd.c.

svn path=/trunk/; revision=19160

16 years agoMention impact of GtkDestDefaults on "drag-motion" handlers. Clearify
Mathias Hasselmann [Tue, 11 Dec 2007 18:56:56 +0000 (18:56 +0000)]
Mention impact of GtkDestDefaults on "drag-motion" handlers. Clearify

* gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
on "drag-motion" handlers. Clearify documentation for
gtk_drag_dest_set.

svn path=/trunk/; revision=19159

16 years agomade unnecessarily exported symbols static. switched g_return_if_fail()
15:44:01 Tim Janik [Tue, 11 Dec 2007 14:42:12 +0000 (14:42 +0000)]
made unnecessarily exported symbols static. switched g_return_if_fail()

2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>

        * buildertest.c: made unnecessarily exported symbols static.
        switched g_return_if_fail() statements in tests to assertions.
        special cased currently failing Widget/accesibility test to
        run only for g_test_thorough(), so it doesn't break make check.
        some coding style fixes.

        * Makefile.am: added buildertest to TEST_PROGS.

svn path=/trunk/; revision=19157

16 years agoUpdated Greek translation
Kostas Papadimas [Tue, 11 Dec 2007 08:12:32 +0000 (08:12 +0000)]
Updated Greek translation

svn path=/trunk/; revision=19155

16 years agoUpdated Greek translation
Kostas Papadimas [Tue, 11 Dec 2007 07:59:52 +0000 (07:59 +0000)]
Updated Greek translation

svn path=/trunk/; revision=19153

16 years agoUse gtk_widget_get_parent_window() instead of widget->parent->window.
Stefan Kost [Mon, 10 Dec 2007 22:18:46 +0000 (22:18 +0000)]
Use gtk_widget_get_parent_window() instead of widget->parent->window.

* docs/tutorial/gtk-tut.sgml:
  Use gtk_widget_get_parent_window() instead of widget->parent->window.

svn path=/trunk/; revision=19152

16 years agoInstall backend specific header (bug #405915). Also add a getter for the
Richard Hult [Mon, 10 Dec 2007 20:44:23 +0000 (20:44 +0000)]
Install backend specific header (bug #405915). Also add a getter for the

2007-12-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/Makefile.am:
* gdk/quartz/gdkquartz.h:
* gdk/quartz/gdkwindow-quartz.c: Install backend specific
header (bug #405915). Also add a getter for the toplevel nswindow.

svn path=/trunk/; revision=19151

16 years agoReplace the autorelease pools used for each drawing context and in
Richard Hult [Mon, 10 Dec 2007 20:22:08 +0000 (20:22 +0000)]
Replace the autorelease pools used for each drawing context and in

2007-12-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkdrawable-quartz.c:
(gdk_quartz_drawable_get_context),
(gdk_quartz_drawable_release_context):
* gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
(gdk_event_check), (gdk_event_dispatch), (poll_func):
* gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
used for each drawing context and in prepare, dispatch and poll
with one that exists across each main loop iteration. Fixes leaks
on leopard and protects against future leaks introduce when the
underlying system changes again (bug #492977).

svn path=/trunk/; revision=19149

16 years agoFix the check for no changes to position and size.
Richard Hult [Mon, 10 Dec 2007 19:49:52 +0000 (19:49 +0000)]
Fix the check for no changes to position and size.

2007-12-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
Fix the check for no changes to position and size.

svn path=/trunk/; revision=19147

16 years agoIgnore drawRect calls with zero sized areas at (0, 0), patch from Paul
Richard Hult [Mon, 10 Dec 2007 19:38:47 +0000 (19:38 +0000)]
Ignore drawRect calls with zero sized areas at (0, 0), patch from Paul

2007-12-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
sized areas at (0, 0), patch from Paul Davis.

svn path=/trunk/; revision=19145

16 years agoFix a bug where we could end up trying to handle the same event more than
Richard Hult [Mon, 10 Dec 2007 19:00:23 +0000 (19:00 +0000)]
Fix a bug where we could end up trying to handle the same event more than

2007-12-10  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkeventloop-quartz.c:
(_gdk_quartz_event_loop_get_pending),
(_gdk_quartz_event_loop_check_pending),
(_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
(gdk_event_check), (gdk_event_dispatch):
* gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
(_gdk_events_queue): Fix a bug where we could end up trying to
handle the same event more than once. Based on patch from Paul
Davis.

svn path=/trunk/; revision=19143

16 years agoInclude bin/gtk-builder-convert in the dev package. (#502850)
Tor Lillqvist [Mon, 10 Dec 2007 14:27:35 +0000 (14:27 +0000)]
Include bin/gtk-builder-convert in the dev package. (#502850)

2007-12-10  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
package. (#502850)

svn path=/trunk/; revision=19141

16 years agoAnother fix to avoid further fallout from the fix for bug 388321.
Matthias Clasen [Mon, 10 Dec 2007 06:19:53 +0000 (06:19 +0000)]
Another fix to avoid further fallout from the fix for bug 388321.

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

        * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
        to avoid further fallout from the fix for bug 388321.

svn path=/trunk/; revision=19139

16 years agoMinor fix for code added in r19132
Attilio Fiandrotti [Sun, 9 Dec 2007 22:53:54 +0000 (22:53 +0000)]
Minor fix for code added in r19132

svn path=/trunk/; revision=19137

16 years agoFix the spinguard logic for big buffers. (#494667, Ed Catmur)
Matthias Clasen [Sun, 9 Dec 2007 18:55:12 +0000 (18:55 +0000)]
Fix the spinguard logic for big buffers. (#494667, Ed Catmur)

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

        * io-jpeg.c: Fix the spinguard logic for big buffers.
        (#494667, Ed Catmur)

svn path=/trunk/; revision=19135

16 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Sun, 9 Dec 2007 12:43:33 +0000 (12:43 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=19134

16 years agoCommitted several patches by Denis Oliver Knoppwhich are expected to improve the...
Attilio Fiandrotti [Sun, 9 Dec 2007 10:03:30 +0000 (10:03 +0000)]
Committed several patches by Denis Oliver Knoppwhich are expected to improve the performance of the DirectFB backend

svn path=/trunk/; revision=19132

16 years agoCzech Translation updated by Petr Kovar.
Jakub Friedl [Sat, 8 Dec 2007 09:33:23 +0000 (09:33 +0000)]
Czech Translation updated by Petr Kovar.

2007-12-08  Jakub Friedl  <jfriedl@suse.cz>

  * cs.po: Czech Translation updated by Petr Kovar.

svn path=/trunk/; revision=19131

16 years agoCorrect the documentation of child property getter arguments. (#501992,
Matthias Clasen [Fri, 7 Dec 2007 19:06:03 +0000 (19:06 +0000)]
Correct the documentation of child property getter arguments. (#501992,

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

        * gtk/gtkcontainer.c: Correct the documentation of child
        property getter arguments.  (#501992, David Brigada)

svn path=/trunk/; revision=19130

16 years agoDon't leak pixbufs. (#502250, Yevgen Muntyan)
Matthias Clasen [Fri, 7 Dec 2007 18:51:25 +0000 (18:51 +0000)]
Don't leak pixbufs. (#502250, Yevgen Muntyan)

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

        * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
        leak pixbufs.  (#502250, Yevgen Muntyan)

svn path=/trunk/; revision=19128

16 years agoForgot bug number.
Yevgen Muntyan [Fri, 7 Dec 2007 18:16:05 +0000 (18:16 +0000)]
Forgot bug number.

svn path=/trunk/; revision=19127

16 years agoadded alternative button order in Print and Page Setup dialogs.
Yevgen Muntyan [Fri, 7 Dec 2007 18:05:42 +0000 (18:05 +0000)]
added alternative button order in Print and Page Setup dialogs.

2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>

* gtk/gtkprintunixdialog.c:
* gtk/gtkpagesetupunixdialog.c: added alternative button order in
Print and Page Setup dialogs.

svn path=/trunk/; revision=19126

16 years agoskip tests if gdktarget!=x11, since GUI tests need Xvfb. only start Xvfb
13:16:33 Tim Janik [Fri, 7 Dec 2007 12:22:33 +0000 (12:22 +0000)]
skip tests if gdktarget!=x11, since GUI tests need Xvfb. only start Xvfb

2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>

        * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
        Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
        of XVFB_START, since it's the GTESTER invokation that needs this.

svn path=/trunk/; revision=19125

16 years agoRemove trailing whitespace that can trigger false positives in abicheck.sh
Tommi Komulainen [Thu, 6 Dec 2007 20:14:17 +0000 (20:14 +0000)]
Remove trailing whitespace that can trigger false positives in abicheck.sh

2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>

* gdk-pixbuf/gdk-pixbuf.symbols:
* gdk/gdk.symbols:
* gdk/gtk.symbols: Remove trailing whitespace that can trigger false
positives in abicheck.sh

svn path=/trunk/; revision=19124

16 years agoCommitted a patch by DOK to fix GDK events generations in the DirectFB backend
Attilio Fiandrotti [Thu, 6 Dec 2007 17:45:05 +0000 (17:45 +0000)]
Committed a patch by DOK to fix GDK events generations in the DirectFB backend

svn path=/trunk/; revision=19122

16 years agoreplaced seq(1) invokation for X11 ids with a hardcoded set of likely
13:55:06 Tim Janik [Thu, 6 Dec 2007 12:54:08 +0000 (12:54 +0000)]
replaced seq(1) invokation for X11 ids with a hardcoded set of likely

2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>

        * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
        set of likely unused display ids, because MacOS has no seq(1) command.

svn path=/trunk/; revision=19121

16 years agoFix warning when switching spaces in leopard.
Richard Hult [Thu, 6 Dec 2007 12:39:01 +0000 (12:39 +0000)]
Fix warning when switching spaces in leopard.

2007-12-06  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkevents-quartz.c:
(synthesize_crossing_events_for_ns_event): Fix warning when
switching spaces in leopard.

svn path=/trunk/; revision=19119

16 years agoported to new testing framework.
13:38:36 Tim Janik [Thu, 6 Dec 2007 12:38:00 +0000 (12:38 +0000)]
ported to new testing framework.

2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>

        * tests/floatingtest.c: ported to new testing framework.

        * tests/Makefile.am: run floatingtest as testing framework test.

svn path=/trunk/; revision=19118

16 years agomajorly speed up execution by reducing timeouts and converting main loop
10:44:52 Tim Janik [Thu, 6 Dec 2007 09:43:20 +0000 (09:43 +0000)]
majorly speed up execution by reducing timeouts and converting main loop

2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>

        * tests/autotestfilechooser.c: majorly speed up execution by reducing
        timeouts and converting main loop sleeps to pending/iterate loops with
        very low priority async handlers. eliminate output for non-verbose
        tests. assert successfull subtests in all test functions. use testing
        framework in main().

        * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
        executed inside Xvfb upon make check.

svn path=/trunk/; revision=19117

16 years agouse string comparisons for string property values and get rid of
08:23:38 Tim Janik [Thu, 6 Dec 2007 07:22:03 +0000 (07:22 +0000)]
use string comparisons for string property values and get rid of

2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>

        * tests/objecttests.c: use string comparisons for string property
        values and get rid of referencing symbols in array initialization.

svn path=/trunk/; revision=19116

16 years agorun tests in current dir after setting up the logging directory, so their
18:59:59 Tim Janik [Wed, 5 Dec 2007 16:58:44 +0000 (16:58 +0000)]
run tests in current dir after setting up the logging directory, so their

2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>

        * gtk+/Makefile.decl: run tests in current dir after setting up the
        logging directory, so their results get properly merged into the
        resulting test log.

        * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
        tests to loop over registered Gdk/Gtk+ types.

        * gtk+/tests/objecttests.c: new test program, implements automated
        property tests. several properties are blacklisted because they
        seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
        can be used to test blacklisted properties and see which proprty failed.

svn path=/trunk/; revision=19115

16 years agoFully initialize the root window, fixes bug #501583.
Richard Hult [Tue, 4 Dec 2007 19:08:11 +0000 (19:08 +0000)]
Fully initialize the root window, fixes bug #501583.

2007-12-04  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
Fully initialize the root window, fixes bug #501583.

svn path=/trunk/; revision=19109

16 years agoModify the tab-label-destroy fix to not crash epiphany.
Matthias Clasen [Tue, 4 Dec 2007 18:43:47 +0000 (18:43 +0000)]
Modify the tab-label-destroy fix to not crash epiphany.

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

        * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
        crash epiphany.

svn path=/trunk/; revision=19107

16 years agoDon't crash when dragging from a source that doesn't support uri lists
Richard Hult [Mon, 3 Dec 2007 19:51:20 +0000 (19:51 +0000)]
Don't crash when dragging from a source that doesn't support uri lists

2007-12-03  Richard Hult  <richard@imendio.com>

* gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
Don't crash when dragging from a source that doesn't support uri
lists (bug #499868, Paul Davis).

svn path=/trunk/; revision=19102

16 years agoDon't crash when a parent relative bg pixmap is set, and no parent has a
Richard Hult [Mon, 3 Dec 2007 19:34:30 +0000 (19:34 +0000)]
Don't crash when a parent relative bg pixmap is set, and no parent has a

2007-12-03  Richard Hult  <richard@imendio.com>

* gdk/quartz/gdkwindow-quartz.c:
(gdk_window_impl_quartz_begin_paint_region): Don't crash when a
parent relative bg pixmap is set, and no parent has a bg
pixmap. Fixes bug #500804.

svn path=/trunk/; revision=19100

16 years agoTwo optimizations for icon cache lookups.
Matthias Clasen [Mon, 3 Dec 2007 17:44:27 +0000 (17:44 +0000)]
Two optimizations for icon cache lookups.

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

        Two optimizations for icon cache lookups.

        * gtk/gtkiconcache.[hc]:
        * gtk/gtkicontheme.c: Remember the directory index for
        subdirectories, instead of running over the directory list
        again and again.

        * gtk/gtkiconcache.c (find_image_offset): Remember the last
        chain and try it first; this helps with the the usage patterns
        in gtkicontheme.c, where the same icon is queried for a lot
        of subdirectories.

svn path=/trunk/; revision=19099

16 years agouse 'grep -o' to extract _get_type functions from header files. this
15:18:17 Tim Janik [Mon, 3 Dec 2007 14:17:31 +0000 (14:17 +0000)]
use 'grep -o' to extract _get_type functions from header files. this

2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>

        * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
        functions from header files. this should be portable across linux and
        Mac OS, unlike the previpous sed expression.

svn path=/trunk/; revision=19098