summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Some unrelated cleanups found while reviewing the offscreen window patch:Michael Natterer2008-06-305-18/+50
| | | | | | | | | | | | | | | | | | | | 2008-06-30 Michael Natterer <mitch@imendio.com> Some unrelated cleanups found while reviewing the offscreen window patch: * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection functions, fix some function header indentation, update documentation of redirect_to_drawable(). * gdk/x11/gdkwindow-x11.c * gdk/x11/gdkpixmap-x11.c: fix function header formatting/indentation. * gtk/gtkwidget.c: use I_() on "damage_event". svn path=/trunk/; revision=20708
* remove duplicate declaration of _gdk_window_new().Michael Natterer2008-06-302-3/+5
| | | | | | | | | | 2008-06-30 Michael Natterer <mitch@imendio.com> * gdk/gdkinternals.h: remove duplicate declaration of _gdk_window_new(). svn path=/trunk/; revision=20707
* reorder source lists alphabetically.Michael Natterer2008-06-302-6/+10
| | | | | | | | | 2008-06-30 Michael Natterer <mitch@imendio.com> * gdk/Makefile.am: reorder source lists alphabetically. svn path=/trunk/; revision=20706
* Avoid unnecessary redraws when resizing. Patch by Owen TaylorMatthias Clasen2008-06-302-8/+15
| | | | | | | | * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing. Patch by Owen Taylor svn path=/trunk/; revision=20705
* Minor update to Catalan translationGil Forcada Codinachs2008-06-292-1154/+1050
| | | | svn path=/trunk/; revision=20704
* Bug 530255 – GtkAboutDialog cuts off comments label Followup patch fromBehdad Esfahbod2008-06-292-1/+10
| | | | | | | | | | | | 2008-06-29 Behdad Esfahbod <behdad@gnome.org> Bug 530255 – GtkAboutDialog cuts off comments label Followup patch from Jan Arne Petersen * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout. svn path=/trunk/; revision=20703
* properly indent the newly added GtkSelectionData accessors. Some newlinesMichael Natterer2008-06-282-8/+13
| | | | | | | | | | 2008-06-28 Michael Natterer <mitch@imendio.com> * gtk/gtkselection.h: properly indent the newly added GtkSelectionData accessors. Some newlines can't hurt either. svn path=/trunk/; revision=20702
* Removed accidental empty row in gtk_box_pack.Mikael Hallendal2008-06-282-1/+4
| | | | | | | | 2008-06-27 Mikael Hallendal <micke@imendio.com> * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row. svn path=/trunk/; revision=20701
* Factor out gtk_box_pack from gtk_box_pack_start and gtk_box_pack_end to ↵Mikael Hallendal2008-06-282-52/+45
| | | | | | | | | | | | reduce code duplication. 2008-06-27 Mikael Hallendal <micke@imendio.com> * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end): Factored out gtk_box_pack from gtk_box_pack_start and use it from both pack_start and pack_end in order to reduce the code duplication. svn path=/trunk/; revision=20700
* Updated Spansih translationJorge Gonzalez Gonzalez2008-06-272-25/+40
| | | | svn path=/trunk/; revision=20699
* Bug 442042 – GtkScaleButton is too limitedMichael Natterer2008-06-272-0/+9
| | | | | | | | | | | | | 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
* adapt to use GdkWindowImpl interface.Kristian Rietveld2008-06-274-150/+175
| | | | | | | | | | | | 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
* Fix two potential critical warnings. Bug #539470.Carlos Garnacho2008-06-272-2/+14
| | | | | | | | | 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
* Abstract some GdkWindow API into an interface that the backends mustEmmanuele Bassi2008-06-2712-730/+1282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed the FAQ location in the warning produced here.Martyn James Russell2008-06-272-1/+9
| | | | | | | * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location in the warning produced here. svn path=/trunk/; revision=20693
* Bug 442042 – GtkScaleButton is too limitedMichael Natterer2008-06-272-89/+254
| | | | | | | | | | | | | | | 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
* gtk/gtkscalebutton.c remove redundant init() and class_init() prototypes,Michael Natterer2008-06-263-61/+57
| | | | | | | | | | | | 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
* Patch from Christian Dywan to clean up selection data setting.Richard Hult2008-06-263-32/+44
| | | | | | | | | | | | 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
* Don't use deprecated function gtk_widget_ref, replace with g_object_ref.Richard Hult2008-06-262-1/+6
| | | | | | | | | 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
* #include "config.h"Michael Natterer2008-06-262-1/+8
| | | | | | | | | 2008-06-26 Michael Natterer <mitch@imendio.com> * gtk/gtkfilesystem.c: #include "config.h" svn path=/trunk/; revision=20688
* current_folder can be NULL here, do not try to reference it (Bug #540235)Carlos Garnacho2008-06-262-2/+19
| | | | | | | | | | | | | 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
* allocate the GtkTextUtilCallbackInfo structs with GSlice.Michael Natterer2008-06-262-9/+31
| | | | | | | | | | 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
* there is no reason to include <gtk/gtktypebuiltins.h> in the middle of theMichael Natterer2008-06-252-40/+43
| | | | | | | | | | | | | | 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
* deprecate gtk_type_init() unconditionally (also for GTK_COMPILATION). MoveMichael Natterer2008-06-243-14/+19
| | | | | | | | | | | | | | | 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
* Updated Norwegian bokmål translation.Kjartan Maraas2008-06-242-1209/+1038
| | | | | | | | 2008-06-24 Kjartan Maraas <kmaraas@gnome.org> * nb.po: Updated Norwegian bokmål translation. svn path=/trunk/; revision=20683
* Revert GtkScaleButton accesses for plus/minus buttons, as per #539944Johan Dahlin2008-06-245-47/+1
| | | | svn path=/trunk/; revision=20682
* also revert change in how the dialog's vbox was added (bug #539732).Michael Natterer2008-06-242-5/+8
| | | | | | | | | | 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
* Remove container implementation, which isn't thought for handlingCarlos Garnacho2008-06-245-94/+29
| | | | | | | | | | | | | | | | | | 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
* gtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.hMichael Natterer2008-06-248-13/+14
| | | | | | | | | | | | | | | | | | 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
* remove includes from this internal header.Michael Natterer2008-06-243-10/+12
| | | | | | | | | | | 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
* sv.po: Updated Swedish translationDaniel Nylander2008-06-232-1424/+1220
| | | | svn path=/trunk/; revision=20677
* formatting.Michael Natterer2008-06-232-2/+7
| | | | | | | | | 2008-06-23 Michael Natterer <mitch@imendio.com> * gtk/gtkinvisible.h: formatting. svn path=/trunk/; revision=20676
* gtk/gtkaction.h gtk/gtkbuildable.h gtk/gtkbuilderprivate.hMichael Natterer2008-06-2324-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (youKristian Rietveld2008-06-235-4/+12
| | | | | | | | | | | | | 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
* gtk/gtkmountoperation.h gtk/gtktestutils.h remove as many includes asMichael Natterer2008-06-235-13/+8
| | | | | | | | | | | | 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
* Updated Korean translationChangwoo Ryu2008-06-222-1597/+1737
| | | | svn path=/trunk/; revision=20672
* Updated Korean translation.Changwoo Ryu2008-06-222-1256/+1125
| | | | svn path=/trunk/; revision=20671
* use g_param_spec_flags(), not enum() when registering the "modifier-mask"Michael Natterer2008-06-222-6/+11
| | | | | | | | | | 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
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-22520-519/+526
| | | | | | | | | | | | 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
* Updated Spanish translationJorge Gonzalez Gonzalez2008-06-212-1765/+1822
| | | | svn path=/trunk/; revision=20668
* Updated Spanish translationJorge Gonzalez Gonzalez2008-06-212-1244/+1055
| | | | svn path=/trunk/; revision=20667
* Bug 539466 – GtkMenuShell API/ABI break in trunk.Carlos Garnacho2008-06-212-2/+9
| | | | | | | | | | | 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
* Cast to guint8* to avoid a compiler warning.Johan Dahlin2008-06-212-1/+6
| | | | | | | | | | 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
* Document a style propertyJohan Dahlin2008-06-212-3/+11
| | | | | | | | | 2008-06-20 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkbutton.c: Document a style property svn path=/trunk/; revision=20664
* remove redundant include, fix indentation, replace header by a GDKMichael Natterer2008-06-212-30/+33
| | | | | | | | | | | 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
* fix 'function' : incompatible types - from 'struct _cairo *' to 'structHans Breuer2008-06-213-5/+19
| | | | | | | | | | | | | | | | | | | 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
* Bug 539363 – Segfault when creating GtkPlugsBjörn Lindqvist2008-06-212-1/+8
| | | | | | | | | | | 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
* Fix life cycle to avoid crash. [#536966]Jody Goldberg2008-06-212-3/+8
| | | | | | | | | 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
* Fix some accelsGabor Keleman2008-06-201-29/+29
| | | | svn path=/trunk/; revision=20659
* Translation updated.Gabor Kelemen2008-06-202-1312/+1101
| | | | | | | | 2008-06-21 Gabor Kelemen <kelemeng@gnome.hu> * hu.po: Translation updated. svn path=/trunk/; revision=20658