1. 27 Jun, 2008 5 commits
    • Kristian Rietveld's avatar
      adapt to use GdkWindowImpl interface. · cf354215
      Kristian Rietveld authored
      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
      cf354215
    • Carlos Garnacho's avatar
      Fix two potential critical warnings. Bug #539470. · b3bb8c47
      Carlos Garnacho authored
      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
      b3bb8c47
    • Emmanuele Bassi's avatar
      Abstract some GdkWindow API into an interface that the backends must · e27632cd
      Emmanuele Bassi authored
      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
      e27632cd
    • Martyn James Russell's avatar
      Fixed the FAQ location in the warning produced here. · cf1df130
      Martyn James Russell authored
      	* gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
      	in the warning produced here.
      
      svn path=/trunk/; revision=20693
      cf1df130
    • Michael Natterer's avatar
      Bug 442042 – GtkScaleButton is too limited · 53d96e46
      Michael Natterer authored
      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
      53d96e46
  2. 26 Jun, 2008 6 commits
  3. 25 Jun, 2008 1 commit
    • Michael Natterer's avatar
      there is no reason to include <gtk/gtktypebuiltins.h> in the middle of the · 3d322ce1
      Michael Natterer authored
      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
      3d322ce1
  4. 24 Jun, 2008 7 commits
    • Michael Natterer's avatar
      deprecate gtk_type_init() unconditionally (also for GTK_COMPILATION). Move · 0c1f022b
      Michael Natterer authored
      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
      0c1f022b
    • Kjartan Maraas's avatar
      Updated Norwegian bokmål translation. · ce18c746
      Kjartan Maraas authored
      2008-06-24  Kjartan Maraas  <kmaraas@gnome.org>
      
      	* nb.po: Updated Norwegian bokmål translation.
      
      svn path=/trunk/; revision=20683
      ce18c746
    • Johan Dahlin's avatar
      Revert GtkScaleButton accesses for plus/minus buttons, as per #539944 · c472d99c
      Johan Dahlin authored
      svn path=/trunk/; revision=20682
      c472d99c
    • Michael Natterer's avatar
      also revert change in how the dialog's vbox was added (bug #539732). · 24c0eb5d
      Michael Natterer authored
      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
      24c0eb5d
    • Carlos Garnacho's avatar
      Remove container implementation, which isn't thought for handling · 60e1b3ea
      Carlos Garnacho authored
      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
      60e1b3ea
    • Michael Natterer's avatar
      gtk/gtkassistant.h gtk/gtkcellrenderer.h gtk/gtkfilechooserentry.h · a13f698b
      Michael Natterer authored
      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
      a13f698b
    • Michael Natterer's avatar
      remove includes from this internal header. · 7146dd12
      Michael Natterer authored
      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
      7146dd12
  5. 23 Jun, 2008 5 commits
    • Daniel Nylander's avatar
      sv.po: Updated Swedish translation · 2f1e92ad
      Daniel Nylander authored
      svn path=/trunk/; revision=20677
      2f1e92ad
    • Michael Natterer's avatar
      formatting. · 257cfa28
      Michael Natterer authored
      2008-06-23  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkinvisible.h: formatting.
      
      
      svn path=/trunk/; revision=20676
      257cfa28
    • Michael Natterer's avatar
      gtk/gtkaction.h gtk/gtkbuildable.h gtk/gtkbuilderprivate.h · 77e99003
      Michael Natterer authored
      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
      77e99003
    • Kristian Rietveld's avatar
      do not hard code the prefix of the enum, use @ENUMPREFIX@ instead (you · ed7d0ed4
      Kristian Rietveld authored
      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
      ed7d0ed4
    • Michael Natterer's avatar
      gtk/gtkmountoperation.h gtk/gtktestutils.h remove as many includes as · 7dfaf81e
      Michael Natterer authored
      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
      7dfaf81e
  6. 22 Jun, 2008 4 commits
  7. 21 Jun, 2008 9 commits
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation · 8875b3a9
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=20668
      8875b3a9
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation · f5a4f7ac
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=20667
      f5a4f7ac
    • Carlos Garnacho's avatar
      Bug 539466 – GtkMenuShell API/ABI break in trunk. · 56bbbbf5
      Carlos Garnacho authored
      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
      56bbbbf5
    • Johan Dahlin's avatar
      Cast to guint8* to avoid a compiler warning. · a1362779
      Johan Dahlin authored
      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
      a1362779
    • Johan Dahlin's avatar
      Document a style property · 33d64796
      Johan Dahlin authored
      2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkbutton.c: Document a style property
      
      
      svn path=/trunk/; revision=20664
      33d64796
    • Michael Natterer's avatar
      remove redundant include, fix indentation, replace header by a GDK · aefbaedc
      Michael Natterer authored
      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
      aefbaedc
    • Hans Breuer's avatar
      fix 'function' : incompatible types - from 'struct _cairo *' to 'struct · d3ce448c
      Hans Breuer authored
      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
      d3ce448c
    • Björn Lindqvist's avatar
      Bug 539363 – Segfault when creating GtkPlugs · 743eebc1
      Björn Lindqvist authored
      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
      743eebc1
    • Jody Goldberg's avatar
      Fix life cycle to avoid crash. [#536966] · 87caf0d3
      Jody Goldberg authored
      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
      87caf0d3
  8. 20 Jun, 2008 3 commits
    • Gabor Keleman's avatar
      Fix some accels · b4b24c64
      Gabor Keleman authored
      svn path=/trunk/; revision=20659
      b4b24c64
    • Gabor Kelemen's avatar
      Translation updated. · ebec90c4
      Gabor Kelemen authored
      2008-06-21  Gabor Kelemen  <kelemeng@gnome.hu>
      
      	* hu.po: Translation updated.
      
      svn path=/trunk/; revision=20658
      ebec90c4
    • Hans Breuer's avatar
      must return a value of the appropriate type with g_return_val_if_fail · 8e2ef498
      Hans Breuer authored
      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
      8e2ef498