]> Pileus Git - ~andy/gtk/log
~andy/gtk
15 years agoBug 442042 – GtkScaleButton is too limited
Michael Natterer [Fri, 27 Jun 2008 20:13:25 +0000 (20:13 +0000)]
Bug 442042 – GtkScaleButton is too limited

2008-06-27  Michael Natterer  <mitch@imendio.com>

Bug 442042 – GtkScaleButton is too limited

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

svn path=/trunk/; revision=20698

15 years agoadapt to use GdkWindowImpl interface.
Kristian Rietveld [Fri, 27 Jun 2008 17:06:06 +0000 (17:06 +0000)]
adapt to use GdkWindowImpl interface.

2008-06-27  Kristian Rietveld  <kris@imendio.com>

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

svn path=/trunk/; revision=20697

15 years agoFix two potential critical warnings. Bug #539470.
Carlos Garnacho [Fri, 27 Jun 2008 15:33:42 +0000 (15:33 +0000)]
Fix two potential critical warnings. Bug #539470.

2008-06-27  Carlos Garnacho  <carlos@imendio.com>

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

svn path=/trunk/; revision=20696

15 years agoAbstract some GdkWindow API into an interface that the backends must
Emmanuele Bassi [Fri, 27 Jun 2008 14:27:44 +0000 (14:27 +0000)]
Abstract some GdkWindow API into an interface that the backends must

2008-06-27  Emmanuele Bassi  <ebassi@gnome.org>

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

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

* gdk/gdk.symbols: Move symbols around.

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

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

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

svn path=/trunk/; revision=20695

15 years agoFixed the FAQ location in the warning produced here.
Martyn James Russell [Fri, 27 Jun 2008 11:51:40 +0000 (11:51 +0000)]
Fixed the FAQ location in the warning produced here.

* gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
in the warning produced here.

svn path=/trunk/; revision=20693

15 years agoBug 442042 – GtkScaleButton is too limited
Michael Natterer [Fri, 27 Jun 2008 09:33:32 +0000 (09:33 +0000)]
Bug 442042 – GtkScaleButton is too limited

2008-06-27  Michael Natterer  <mitch@imendio.com>

Bug 442042 – GtkScaleButton is too limited

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

svn path=/trunk/; revision=20692

15 years agogtk/gtkscalebutton.c remove redundant init() and class_init() prototypes,
Michael Natterer [Thu, 26 Jun 2008 17:14:27 +0000 (17:14 +0000)]
gtk/gtkscalebutton.c remove redundant init() and class_init() prototypes,

2008-06-26  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20691

15 years agoPatch from Christian Dywan to clean up selection data setting.
Richard Hult [Thu, 26 Jun 2008 13:01:40 +0000 (13:01 +0000)]
Patch from Christian Dywan to clean up selection data setting.

2008-06-26  Richard Hult  <richard@imendio.com>

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

svn path=/trunk/; revision=20690

15 years agoDon't use deprecated function gtk_widget_ref, replace with g_object_ref.
Richard Hult [Thu, 26 Jun 2008 12:44:10 +0000 (12:44 +0000)]
Don't use deprecated function gtk_widget_ref, replace with g_object_ref.

2008-06-26  Richard Hult  <richard@imendio.com>

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

svn path=/trunk/; revision=20689

15 years ago#include "config.h"
Michael Natterer [Thu, 26 Jun 2008 10:19:23 +0000 (10:19 +0000)]
#include "config.h"

2008-06-26  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20688

15 years agocurrent_folder can be NULL here, do not try to reference it (Bug #540235)
Carlos Garnacho [Thu, 26 Jun 2008 09:41:13 +0000 (09:41 +0000)]
current_folder can be NULL here, do not try to reference it (Bug #540235)

2008-06-26  Carlos Garnacho  <carlos@imendio.com>

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

svn path=/trunk/; revision=20687

15 years agoallocate the GtkTextUtilCallbackInfo structs with GSlice.
Michael Natterer [Thu, 26 Jun 2008 09:06:48 +0000 (09:06 +0000)]
allocate the GtkTextUtilCallbackInfo structs with GSlice.

2008-06-26  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20686

16 years agothere is no reason to include <gtk/gtktypebuiltins.h> in the middle of the
Michael Natterer [Wed, 25 Jun 2008 09:32:38 +0000 (09:32 +0000)]
there is no reason to include <gtk/gtktypebuiltins.h> in the middle of the

2008-06-25  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20685

16 years agodeprecate gtk_type_init() unconditionally (also for GTK_COMPILATION). Move
Michael Natterer [Tue, 24 Jun 2008 19:11:30 +0000 (19:11 +0000)]
deprecate gtk_type_init() unconditionally (also for GTK_COMPILATION). Move

2008-06-24  Michael Natterer  <mitch@imendio.com>

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

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

svn path=/trunk/; revision=20684

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Tue, 24 Jun 2008 19:04:15 +0000 (19:04 +0000)]
Updated Norwegian bokmål translation.

2008-06-24  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=20683

16 years agoRevert GtkScaleButton accesses for plus/minus buttons, as per #539944
Johan Dahlin [Tue, 24 Jun 2008 13:41:13 +0000 (13:41 +0000)]
Revert GtkScaleButton accesses for plus/minus buttons, as per #539944

svn path=/trunk/; revision=20682

16 years agoalso revert change in how the dialog's vbox was added (bug #539732).
Michael Natterer [Tue, 24 Jun 2008 10:49:12 +0000 (10:49 +0000)]
also revert change in how the dialog's vbox was added (bug #539732).

2008-06-24  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20681

16 years agoRemove container implementation, which isn't thought for handling
Carlos Garnacho [Tue, 24 Jun 2008 10:22:40 +0000 (10:22 +0000)]
Remove container implementation, which isn't thought for handling

2008-06-24  Carlos Garnacho  <carlos@imendio.com>

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

svn path=/trunk/; revision=20680

16 years agogtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.h
Michael Natterer [Tue, 24 Jun 2008 10:16:01 +0000 (10:16 +0000)]
gtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.h

2008-06-24  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20679

16 years agoremove includes from this internal header.
Michael Natterer [Tue, 24 Jun 2008 09:55:08 +0000 (09:55 +0000)]
remove includes from this internal header.

2008-06-24  Michael Natterer  <mitch@imendio.com>

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

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

svn path=/trunk/; revision=20678

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Mon, 23 Jun 2008 22:37:14 +0000 (22:37 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=20677

16 years agoformatting.
Michael Natterer [Mon, 23 Jun 2008 14:28:13 +0000 (14:28 +0000)]
formatting.

2008-06-23  Michael Natterer  <mitch@imendio.com>

* gtk/gtkinvisible.h: formatting.

svn path=/trunk/; revision=20676

16 years agogtk/gtkaction.h gtk/gtkbuildable.h gtk/gtkbuilderprivate.h
Michael Natterer [Mon, 23 Jun 2008 14:07:19 +0000 (14:07 +0000)]
gtk/gtkaction.h gtk/gtkbuildable.h gtk/gtkbuilderprivate.h

2008-06-23  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20675

16 years agodo not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you
Kristian Rietveld [Mon, 23 Jun 2008 12:09:15 +0000 (12:09 +0000)]
do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you

2008-06-23  Kristian Rietveld  <kris@imendio.com>

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

svn path=/trunk/; revision=20674

16 years agogtk/gtkmountoperation.h gtk/gtktestutils.h remove as many includes as
Michael Natterer [Mon, 23 Jun 2008 10:47:22 +0000 (10:47 +0000)]
gtk/gtkmountoperation.h gtk/gtktestutils.h remove as many includes as

2008-06-23  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20673

16 years agoUpdated Korean translation
Changwoo Ryu [Sun, 22 Jun 2008 22:31:36 +0000 (22:31 +0000)]
Updated Korean translation

svn path=/trunk/; revision=20672

16 years agoUpdated Korean translation.
Changwoo Ryu [Sun, 22 Jun 2008 22:31:18 +0000 (22:31 +0000)]
Updated Korean translation.

svn path=/trunk/; revision=20671

16 years agouse g_param_spec_flags(), not enum() when registering the "modifier-mask"
Michael Natterer [Sun, 22 Jun 2008 16:42:22 +0000 (16:42 +0000)]
use g_param_spec_flags(), not enum() when registering the "modifier-mask"

2008-06-22  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20670

16 years agoInclude "config.h" instead of <config.h> Command used: find -name
Johan Dahlin [Sun, 22 Jun 2008 14:28:52 +0000 (14:28 +0000)]
Include "config.h" instead of <config.h> Command used: find -name

2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

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

svn path=/trunk/; revision=20669

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 21 Jun 2008 19:34:44 +0000 (19:34 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20668

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 21 Jun 2008 19:33:43 +0000 (19:33 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=20667

16 years agoBug 539466 – GtkMenuShell API/ABI break in trunk.
Carlos Garnacho [Sat, 21 Jun 2008 14:56:07 +0000 (14:56 +0000)]
Bug 539466 – GtkMenuShell API/ABI break in trunk.

2008-06-21  Carlos Garnacho  <carlos@imendio.com>

        Bug 539466 – GtkMenuShell API/ABI break in trunk.

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

svn path=/trunk/; revision=20666

16 years agoCast to guint8* to avoid a compiler warning.
Johan Dahlin [Sat, 21 Jun 2008 13:09:57 +0000 (13:09 +0000)]
Cast to guint8* to avoid a compiler warning.

2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

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

svn path=/trunk/; revision=20665

16 years agoDocument a style property
Johan Dahlin [Sat, 21 Jun 2008 12:34:12 +0000 (12:34 +0000)]
Document a style property

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

    * gtk/gtkbutton.c: Document a style property

svn path=/trunk/; revision=20664

16 years agoremove redundant include, fix indentation, replace header by a GDK
Michael Natterer [Sat, 21 Jun 2008 10:44:26 +0000 (10:44 +0000)]
remove redundant include, fix indentation, replace header by a GDK

2008-06-21  Michael Natterer  <mitch@imendio.com>

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

svn path=/trunk/; revision=20663

16 years agofix 'function' : incompatible types - from 'struct _cairo *' to 'struct
Hans Breuer [Sat, 21 Jun 2008 09:49:00 +0000 (09:49 +0000)]
fix 'function' : incompatible types - from 'struct _cairo *' to 'struct

2008-06-21  Hans Breuer  <hans@breuer.org>

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

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

svn path=/trunk/; revision=20662

16 years agoBug 539363 – Segfault when creating GtkPlugs
Björn Lindqvist [Sat, 21 Jun 2008 01:03:25 +0000 (01:03 +0000)]
Bug 539363 – Segfault when creating GtkPlugs

2008-06-21  Björn Lindqvist  <bjourne@gmail.com>

Bug 539363 – Segfault when creating GtkPlugs

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

svn path=/trunk/; revision=20661

16 years agoFix life cycle to avoid crash. [#536966]
Jody Goldberg [Sat, 21 Jun 2008 00:53:17 +0000 (00:53 +0000)]
Fix life cycle to avoid crash. [#536966]

2008-06-20  Jody Goldberg <jody@gnome.org>

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

svn path=/trunk/; revision=20660

16 years agoFix some accels
Gabor Keleman [Fri, 20 Jun 2008 23:28:48 +0000 (23:28 +0000)]
Fix some accels

svn path=/trunk/; revision=20659

16 years agoTranslation updated.
Gabor Kelemen [Fri, 20 Jun 2008 22:31:47 +0000 (22:31 +0000)]
Translation updated.

2008-06-21  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=20658

16 years agomust return a value of the appropriate type with g_return_val_if_fail
Hans Breuer [Fri, 20 Jun 2008 20:39:22 +0000 (20:39 +0000)]
must return a value of the appropriate type with g_return_val_if_fail

2008-06-20  Hans Breuer  <hans@breuer.org>

* gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
a value of the appropriate type with g_return_val_if_fail

* gdk/gdkconfig.h.win32 : add the GSEAL definition here as well

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

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

svn path=/trunk/; revision=20657

16 years agoDocument and use - instead of _ in signal names.
Johan Dahlin [Fri, 20 Jun 2008 20:11:46 +0000 (20:11 +0000)]
Document and use - instead of _ in signal names.

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

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

svn path=/trunk/; revision=20656

16 years agoFix up deprecated markup syntax. Add version numbers and a message on the
Johan Dahlin [Fri, 20 Jun 2008 19:42:53 +0000 (19:42 +0000)]
Fix up deprecated markup syntax. Add version numbers and a message on the

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

    * gtk/gtkbutton.c:
    * gtk/gtkcolorsel.c:
    * gtk/gtkentry.c:
    * gtk/gtkitemfactory.c:
    * gtk/gtknotebook.c:
    Fix up deprecated markup syntax. Add version numbers and
    a message on the remaning ones.

svn path=/trunk/; revision=20655

16 years agoReplaced use of gtk_signal_connect with the g_signal_connect equivalents.
Mikael Hallendal [Fri, 20 Jun 2008 19:26:50 +0000 (19:26 +0000)]
Replaced use of gtk_signal_connect with the g_signal_connect equivalents.

2008-06-20  Mikael Hallendal  <micke@imendio.com>

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

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

svn path=/trunk/; revision=20654

16 years agoreviewed by: <Carlos Garnacho <garnacho@gnome.org>
Kjartan Maraas [Fri, 20 Jun 2008 18:52:52 +0000 (18:52 +0000)]
reviewed by: <Carlos Garnacho <garnacho@gnome.org>

2008-06-20  Kjartan Maraas  <kmaraas@gnome.org>

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

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

svn path=/trunk/; revision=20653

16 years agoFix warnings from calling g_object_notify() on a GtkAccelGroup without
Martyn James Russell [Fri, 20 Jun 2008 15:10:00 +0000 (15:10 +0000)]
Fix warnings from calling g_object_notify() on a GtkAccelGroup without

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

svn path=/trunk/; revision=20652

16 years agoModernize and order things as most other objects. Defines at the top,
Johan Dahlin [Fri, 20 Jun 2008 15:01:31 +0000 (15:01 +0000)]
Modernize and order things as most other objects. Defines at the top,

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

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

svn path=/trunk/; revision=20651

16 years agoDon't call g_object_notify() with properties that don't exist. Also, make
Martyn James Russell [Fri, 20 Jun 2008 14:45:54 +0000 (14:45 +0000)]
Don't call g_object_notify() with properties that don't exist. Also, make

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

svn path=/trunk/; revision=20650

16 years agoRemove left-over unused property enum.
Johan Dahlin [Fri, 20 Jun 2008 14:34:50 +0000 (14:34 +0000)]
Remove left-over unused property enum.

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

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

svn path=/trunk/; revision=20649

16 years agoAdd missing accessor for sealed fields GtkScaleButton->plus_button and
Johan Dahlin [Fri, 20 Jun 2008 14:30:28 +0000 (14:30 +0000)]
Add missing accessor for sealed fields GtkScaleButton->plus_button and

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

    * gtk/gtk.symbols:
    * gtk/gtkscalebutton.c (gtk_scale_button_get_plus_button),
    (gtk_scale_button_get_minus_button):
    * gtk/gtkscalebutton.h:
    Add missing accessor for sealed fields GtkScaleButton->plus_button and
    minus_button.

svn path=/trunk/; revision=20648

16 years agoInitialize the allocation to avoid compiler warnings
Johan Dahlin [Fri, 20 Jun 2008 14:28:09 +0000 (14:28 +0000)]
Initialize the allocation to avoid compiler warnings

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

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

svn path=/trunk/; revision=20647

16 years agoFix gtk-doc syntax, add missing trailing colon.
Johan Dahlin [Fri, 20 Jun 2008 14:22:26 +0000 (14:22 +0000)]
Fix gtk-doc syntax, add missing trailing colon.

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

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

svn path=/trunk/; revision=20646

16 years agoAdd all newly added accessors so abicheck.sh passes
Johan Dahlin [Fri, 20 Jun 2008 14:19:58 +0000 (14:19 +0000)]
Add all newly added accessors so abicheck.sh passes

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

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

svn path=/trunk/; revision=20645

16 years agoRemove unused variable and check if the widget is a GtkWidget subclass,
Johan Dahlin [Fri, 20 Jun 2008 14:19:22 +0000 (14:19 +0000)]
Remove unused variable and check if the widget is a GtkWidget subclass,

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

    * gtk/gtkwidget.c (gtk_widget_get_allocation): Remove unused variable
    and check if the widget is a GtkWidget subclass, not the uninitialized
    allocation.

svn path=/trunk/; revision=20644

16 years agogtk/gtkaccellabel.h gtk/gtkactiongroup.h gtk/gtkalignment.h gtk/gtkarrow.h
Michael Natterer [Fri, 20 Jun 2008 14:17:00 +0000 (14:17 +0000)]
gtk/gtkaccellabel.h gtk/gtkactiongroup.h gtk/gtkalignment.h gtk/gtkarrow.h

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

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

svn path=/trunk/; revision=20643

16 years agoAdd missing accessor for sealed field GtkMessageDialog->image.
Johan Dahlin [Fri, 20 Jun 2008 14:08:18 +0000 (14:08 +0000)]
Add missing accessor for sealed field GtkMessageDialog->image.

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

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

svn path=/trunk/; revision=20642

16 years agofix ChangeLog
Michael Natterer [Fri, 20 Jun 2008 13:55:59 +0000 (13:55 +0000)]
fix ChangeLog

svn path=/trunk/; revision=20641

16 years agothe GSEAL branch added two includes for no reason.
Michael Natterer [Fri, 20 Jun 2008 13:55:21 +0000 (13:55 +0000)]
the GSEAL branch added two includes for no reason.

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

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

svn path=/trunk/; revision=20640

16 years agoAdd missing Since: gtk-doc markup for newly added GSEAL API. Change all
Johan Dahlin [Fri, 20 Jun 2008 13:54:31 +0000 (13:54 +0000)]
Add missing Since: gtk-doc markup for newly added GSEAL API. Change all

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

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

svn path=/trunk/; revision=20639

16 years agofix some formatting and whitespace in the code merged from the GSEAL
Michael Natterer [Fri, 20 Jun 2008 13:34:17 +0000 (13:34 +0000)]
fix some formatting and whitespace in the code merged from the GSEAL

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

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

svn path=/trunk/; revision=20638

16 years agochange return value from GtkHButtonBox to GtkWidget.
Michael Natterer [Fri, 20 Jun 2008 13:23:22 +0000 (13:23 +0000)]
change return value from GtkHButtonBox to GtkWidget.

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

* gtk/gtkdialog.c (gtk_dialog_get_action_area): change return
value from GtkHButtonBox to GtkWidget.

svn path=/trunk/; revision=20637

16 years agodeuglify formatting of sealed fields.
Michael Natterer [Fri, 20 Jun 2008 12:24:44 +0000 (12:24 +0000)]
deuglify formatting of sealed fields.

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

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

svn path=/trunk/; revision=20636

16 years agogtk/gtkwindow.[ch] rename gtk_window_group_get_windows() to
Michael Natterer [Fri, 20 Jun 2008 11:51:44 +0000 (11:51 +0000)]
gtk/gtkwindow.[ch] rename gtk_window_group_get_windows() to

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

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

svn path=/trunk/; revision=20635

16 years agoChangeLog: update with GSEAL branch changes.
Tim Janik [Fri, 20 Jun 2008 11:33:34 +0000 (11:33 +0000)]
ChangeLog: update with GSEAL branch changes.

svn path=/trunk/; revision=20634

16 years agoFixed wrongly resolved merge conflicts.
Tim Janik [Fri, 20 Jun 2008 11:11:01 +0000 (11:11 +0000)]
Fixed wrongly resolved merge conflicts.

* Fixed wrongly resolved merge conflicts.

svn path=/trunk/; revision=20633

16 years agoAdd gtk_window_group_get_windows().
Tim Janik [Fri, 20 Jun 2008 11:10:55 +0000 (11:10 +0000)]
Add gtk_window_group_get_windows().

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

svn path=/trunk/; revision=20632

16 years agoDocument gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
Tim Janik [Fri, 20 Jun 2008 11:10:48 +0000 (11:10 +0000)]
Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()

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

svn path=/trunk/; revision=20631

16 years agoDocument gtk_container_get_focus_child().
Tim Janik [Fri, 20 Jun 2008 11:10:43 +0000 (11:10 +0000)]
Document gtk_container_get_focus_child().

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

svn path=/trunk/; revision=20630

16 years agoAdd gtk_plug_get_socket_window
Tim Janik [Fri, 20 Jun 2008 11:10:37 +0000 (11:10 +0000)]
Add gtk_plug_get_socket_window

svn path=/trunk/; revision=20629

16 years agoRemove superflous gtkselection accessors and merge _get_data
Tim Janik [Fri, 20 Jun 2008 11:10:31 +0000 (11:10 +0000)]
Remove superflous gtkselection accessors and merge _get_data

svn path=/trunk/; revision=20628

16 years agoImplement gtk_selection_get_display, style fixes
Tim Janik [Fri, 20 Jun 2008 11:10:26 +0000 (11:10 +0000)]
Implement gtk_selection_get_display, style fixes

svn path=/trunk/; revision=20627

16 years agoFix indentation of a comment.
Tim Janik [Fri, 20 Jun 2008 11:10:20 +0000 (11:10 +0000)]
Fix indentation of a comment.

svn path=/trunk/; revision=20626

16 years agoChange docs and signature of gtk_widget_get_allocation
Tim Janik [Fri, 20 Jun 2008 11:10:14 +0000 (11:10 +0000)]
Change docs and signature of gtk_widget_get_allocation

svn path=/trunk/; revision=20625

16 years agoRemove unneeded GtkColorSelectionDialog accessors
Tim Janik [Fri, 20 Jun 2008 11:10:08 +0000 (11:10 +0000)]
Remove unneeded GtkColorSelectionDialog accessors

svn path=/trunk/; revision=20624

16 years agoFix documentaion of gtk_menu_item_get_accel_path
Tim Janik [Fri, 20 Jun 2008 11:10:02 +0000 (11:10 +0000)]
Fix documentaion of gtk_menu_item_get_accel_path

svn path=/trunk/; revision=20623

16 years agoFix gtk_widget_get_allocation
Tim Janik [Fri, 20 Jun 2008 11:09:56 +0000 (11:09 +0000)]
Fix gtk_widget_get_allocation

svn path=/trunk/; revision=20622

16 years agoSwitch to "guint GSEAL (foo) : width;" when packing fields in guints.
Tim Janik [Fri, 20 Jun 2008 11:09:49 +0000 (11:09 +0000)]
Switch to "guint GSEAL (foo) : width;" when packing fields in guints.

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

svn path=/trunk/; revision=20621

16 years agoSeal GtkWidget
Tim Janik [Fri, 20 Jun 2008 11:09:42 +0000 (11:09 +0000)]
Seal GtkWidget

svn path=/trunk/; revision=20620

16 years agoSeal GtkSelectionData
Tim Janik [Fri, 20 Jun 2008 11:09:36 +0000 (11:09 +0000)]
Seal GtkSelectionData

svn path=/trunk/; revision=20619

16 years agoFix GtkDialog, don't add vbox via gtk_container_add.
Tim Janik [Fri, 20 Jun 2008 11:09:30 +0000 (11:09 +0000)]
Fix GtkDialog, don't add vbox via gtk_container_add.

svn path=/trunk/; revision=20618

16 years agoMake GtkCellRenderer::editing read-only. (Catched by Matthias)
Tim Janik [Fri, 20 Jun 2008 11:09:24 +0000 (11:09 +0000)]
Make GtkCellRenderer::editing read-only.  (Catched by Matthias)

svn path=/trunk/; revision=20617

16 years agoSeal GtkTextView.
Tim Janik [Fri, 20 Jun 2008 11:09:19 +0000 (11:09 +0000)]
Seal GtkTextView.

svn path=/trunk/; revision=20616

16 years agoSeal GtkFontSelection & GtkFontSelectionDialog
Tim Janik [Fri, 20 Jun 2008 11:09:13 +0000 (11:09 +0000)]
Seal GtkFontSelection & GtkFontSelectionDialog

svn path=/trunk/; revision=20615

16 years agoSeal GtkTearoffMenuItem.
Tim Janik [Fri, 20 Jun 2008 11:09:08 +0000 (11:09 +0000)]
Seal GtkTearoffMenuItem.

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

svn path=/trunk/; revision=20614

16 years agoSeal GtkObject
Tim Janik [Fri, 20 Jun 2008 11:09:02 +0000 (11:09 +0000)]
Seal GtkObject

svn path=/trunk/; revision=20613

16 years agoSeal GtkRange
Tim Janik [Fri, 20 Jun 2008 11:08:57 +0000 (11:08 +0000)]
Seal GtkRange

svn path=/trunk/; revision=20612

16 years agoSeal GtkPlug
Tim Janik [Fri, 20 Jun 2008 11:08:51 +0000 (11:08 +0000)]
Seal GtkPlug

svn path=/trunk/; revision=20611

16 years agoSeal GtkMenuItem
Tim Janik [Fri, 20 Jun 2008 11:08:45 +0000 (11:08 +0000)]
Seal GtkMenuItem

svn path=/trunk/; revision=20610

16 years agoSeal GtkMenuShell
Tim Janik [Fri, 20 Jun 2008 11:08:39 +0000 (11:08 +0000)]
Seal GtkMenuShell

svn path=/trunk/; revision=20609

16 years agoSeal GtkInputDialog
Tim Janik [Fri, 20 Jun 2008 11:08:34 +0000 (11:08 +0000)]
Seal GtkInputDialog

svn path=/trunk/; revision=20608

16 years agoSeal GtkIMMultiContext
Tim Janik [Fri, 20 Jun 2008 11:08:29 +0000 (11:08 +0000)]
Seal GtkIMMultiContext

svn path=/trunk/; revision=20607

16 years agoSeal GtkIMContextSimple
Tim Janik [Fri, 20 Jun 2008 11:08:23 +0000 (11:08 +0000)]
Seal GtkIMContextSimple

svn path=/trunk/; revision=20606

16 years agoSeal GtkImage
Tim Janik [Fri, 20 Jun 2008 11:08:18 +0000 (11:08 +0000)]
Seal GtkImage

svn path=/trunk/; revision=20605

16 years agoSeal GtkSocket
Tim Janik [Fri, 20 Jun 2008 11:08:13 +0000 (11:08 +0000)]
Seal GtkSocket

svn path=/trunk/; revision=20604

16 years agoFix the build by including gdkconfig.h in gtkprinter.h.
Tim Janik [Fri, 20 Jun 2008 11:08:07 +0000 (11:08 +0000)]
Fix the build by including gdkconfig.h in gtkprinter.h.

svn path=/trunk/; revision=20603

16 years agoSeal GtkGammaCurve
Tim Janik [Fri, 20 Jun 2008 11:08:02 +0000 (11:08 +0000)]
Seal GtkGammaCurve

svn path=/trunk/; revision=20602

16 years agoSeal GtkHandleBox
Tim Janik [Fri, 20 Jun 2008 11:07:56 +0000 (11:07 +0000)]
Seal GtkHandleBox

svn path=/trunk/; revision=20601

16 years agoSeal GtkInvisible.
Tim Janik [Fri, 20 Jun 2008 11:07:50 +0000 (11:07 +0000)]
Seal GtkInvisible.

svn path=/trunk/; revision=20600

16 years agoSeal GtkPrintJob.
Tim Janik [Fri, 20 Jun 2008 11:07:45 +0000 (11:07 +0000)]
Seal GtkPrintJob.

svn path=/trunk/; revision=20599

16 years agoSeal GtkTextBuffer.
Tim Janik [Fri, 20 Jun 2008 11:07:40 +0000 (11:07 +0000)]
Seal GtkTextBuffer.

svn path=/trunk/; revision=20598