1. 19 Feb, 2014 1 commit
  2. 07 Feb, 2014 1 commit
  3. 05 May, 2013 1 commit
  4. 03 Mar, 2012 1 commit
  5. 27 Feb, 2012 1 commit
  6. 02 Nov, 2011 2 commits
  7. 08 Jun, 2011 1 commit
  8. 28 Sep, 2010 1 commit
  9. 27 Sep, 2010 1 commit
  10. 10 Jul, 2010 1 commit
  11. 04 Apr, 2010 1 commit
  12. 03 Mar, 2010 1 commit
  13. 11 Nov, 2008 1 commit
    • Michael Natterer's avatar
      Bug 553765 – Add orientation API to GtkRange · 0498dca8
      Michael Natterer authored
      2008-11-11  Michael Natterer  <mitch@imendio.com>
      
      	Bug 553765 – Add orientation API to GtkRange
      
      	* gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
      	evil code that makes sure that the stepper_detail and slider_detail
      	set in GtkRangeClass continue to work with the hacked subclasses
      	below.
      
      	* gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
      	and add gtk_scale_new() and gtk_scale_new_with_range() which take
      	a GtkOrientation argument. Set slider_detail to "Xscale" so above
      	evil code works.
      
      	* gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
      	GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
      	above evil code works.
      
      	* gtk/gtkhscale.c
      	* gtk/gtkvscale.c
      	* gtk/gtkhscrollbar.c
      	* gtk/gtkvscrollbar.c: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: changed accordingly.
      
      
      svn path=/trunk/; revision=21779
      0498dca8
  14. 01 Jul, 2008 1 commit
  15. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  16. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      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
      d97cdbdf
  17. 10 Jun, 2007 1 commit
  18. 08 Oct, 2006 1 commit
  19. 14 May, 2006 1 commit
  20. 02 May, 2006 1 commit
  21. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  22. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  23. 08 Jul, 2005 1 commit
  24. 26 Mar, 2005 1 commit
  25. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  26. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  27. 06 Mar, 2004 1 commit
  28. 13 Feb, 2004 1 commit
    • Owen Taylor's avatar
      Fix various compilation problems (#134312, David Hawthorne) · 634850fd
      Owen Taylor authored
      Fri Feb 13 08:17:43 2004  Owen Taylor  <otaylor@redhat.com>
      
              Fix various compilation problems (#134312, David
              Hawthorne)
      
              * gtk/gtkscale.c (gtk_scale_get_layout_offsets): Use
              g_return_if_fail(), not g_return_val_if_fail().
      
              * gtk/gtkvscale.c (gtk_vscale_get_layout_offsets):
              * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Use
              g_return_if_reached(), not g_return_val_if_reached().
      
              * gtk/gtkvscale.c (gtk_vscale_expose): Fix the types
              of some parameters.
      
              * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Remove
              extra 'scale' parameter.
      634850fd
  29. 12 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Fix for #104811, Padraig O'Briain: · f6a32cf0
      Matthias Clasen authored
      Fri Feb 13 00:54:59 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Fix for #104811, Padraig O'Briain:
      
      	* gtk/gtkscale.h:
      	* gtk/gtkscale.c (_gtk_scale_clear_layout):
      	* gtk/gtkscale.c (gtk_scale_get_layout_offsets):
      	* gtk/gtkscale.c (gtk_scale_get_layout): New functions to determine the
      	text and its position from a GtkScale, to make it more accessible.
      	* gtk/gtkhscale.c (gtk_hscale_get_layout_offsets):
      	* gtk/gtkvscale.c (gtk_vscale_get_layout_offsets): Implementations of the
      	new GtkScale vfunc.
      f6a32cf0
  30. 04 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 2aa89914
      Manish Singh authored
      Fri Oct  4 15:47:06 2002  Manish Singh  <yosh@gimp.org>
      
              * gtkbbox.[ch] gtkhbbox.[ch] gtkhscale.[ch] gtkscale.[ch]
              gtkvscale.[ch] gtkvbbox.[ch]: Deprecation cleanup
      2aa89914
  31. 27 Feb, 2002 1 commit
  32. 30 Jan, 2002 1 commit
  33. 29 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Add <Control>Tab bindings for "move-focus" so that Control-Tab to escape · 854372b9
      Owen Taylor authored
      Tue Jan 29 14:24:49 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_class_init): Add <Control>Tab
              bindings for "move-focus" so that Control-Tab to escape from
              something that eats Tab just works if not otherwise overriden.
      
              * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range)
              * gtk/gtkvscale.c (gtk_vscale_new_with_range)
              * gtk/gtkhscale.c (gtk_hscale_new_with_range): Use a page_size
              of zero for the adjustment, since at times we think that the range
              is lower to upper - page_size. A page size equally to the
              step_increment is, in any case, not meaningful.
      854372b9
  34. 15 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Cal gdk_window_invalidate_maybe_recurse() for recursion. (Soeren Sandmann) · b27345fe
      Owen Taylor authored
      Thu Nov 15 14:19:34 2001  Owen Taylor  <otaylor@redhat.com>
      
       	* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Cal
       	gdk_window_invalidate_maybe_recurse() for recursion.
       	(Soeren Sandmann)
      
       	* gtk/gtkviewport.c: Make !redraw_on_allocate. (Soeren Sandmann)
      
      	* gtk/gtkcontainer.c (gtk_container_expose): Call
      	gtk_container_forall() not _foreach() to propagate,
      	since we need to propagate exposes to internal children
      	as well.
      
      	* gtk/gtkwidget.c (gtk_widget_set_events, gtk_widget_add_events):
      	Remove the restriction of only being able to call these
      	on window widgets, since we have lots of NO_WINDOW widgets
      	with windows now; for add events, recurse over the children
      	of widget->window to find one owned by the widget.
      
      	* gtk/gtkbutton.[ch]: Make a NO_WINDOW widget, using an input-only
      	window to catch events.
      
      	* gtk/gtktogglebutton.[ch]: Remove the code for switching
      	between NO_WINDOW and WINDOW widgets based on the mode.
      
      	* gtk/gtkcheckbutton.c gtk/gtkoptionmenu.c gtk/gtkclist.c
      	gtk/gtktreeview.c: Adopt to NO_WINDOW change for GtkButton.
      
      	* gtk/gtkrange.[ch]: Make into a NO_WINDOW widget.
      
      	* gtk/gtkhscale.c, gtk/gtkvscale.c: Adopt to NO_WINDOW
      	change for range.
      
      	* gtk/gtknotebook.[ch]: Make into a NO_WINDOW widget.
      
      	* docs/Changes-2.0.txt: Add a note about the NO_WINDOW changes.
      b27345fe
  35. 14 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Add missing gdk_rectangle_get_type() prototype. · 22491fd6
      Owen Taylor authored
      Mon Jun 11 18:15:16 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.
      
      	* gtk/gtk[hv]scale.c: Include math.h, stdlib.h
      
      	* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
      	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
      	  gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
      	  gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
      	  to recent changes in Pango.
      
      	* tests/testgtk.c: Set language tags with gtk_label_set_markup()
      	  to test whether the basic engine honors them.
      22491fd6
  36. 05 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      clamp the value to the range that was set · b32e7c9b
      Havoc Pennington authored
      2001-06-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_set_range): clamp the value
      	to the range that was set
      
      	* gtk/gtkrange.c: add value_changed signal, primarily
      	intended for use with GtkScale
      	(gtk_range_set_increments): new function
      	(gtk_range_set_range): new function with weird name
      	(gtk_range_set_value): new function
      	(gtk_range_get_value): new function
      
      	* gtk/gtkspinbutton.c (gtk_spin_button_get_value): rename
      	from gtk_spin_button_get_value_as_float(). Compat #define
      	added for get_value_as_float.
      
      	* gtk/gtkhscale.c (gtk_hscale_new_with_range): new function
      
      	* gtk/gtkvscale.c (gtk_vscale_new_with_range): new function
      
      2001-06-05  Havoc Pennington  <hp@redhat.com>
      
      	* test-loaders.c (main): use putenv not setenv, reported by
      	 Armin Theissen
      b32e7c9b
  37. 04 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      make this special-case hscale/vscale details, so we can use it for · 42f429be
      Havoc Pennington authored
      2001-06-03  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkstyle.c (gtk_default_draw_slider): make this special-case
      	hscale/vscale details, so we can use it for scrollbar as well.
      
      	* tests/testgtk.c (reformat_value): honor digits from GtkScale
      
      	* gtk/gtkenums.h (GtkTroughType): Remove this enum
      	(GtkScrollType): add START and END from GtkTroughType
      
      	* gtk/gtkstyle.c (gtk_default_draw_slider): was not properly using
      	its x/y arguments
      
      	* gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkscrollbar.h,
      	gtk/gtkscrollbar.c, gtk/gtkscale.h, gtk/gtkscale.c,
      	gtk/gtkhscrollbar.h, gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.h,
      	gtk/gtkvscrollbar.c, gtk/gtkhscale.h, gtk/gtkhscale.c,
      	gtk/gtkvscale.h, gtk/gtkvscale.c: Rewrite GtkRange and subclasses.
      
      	Notable changes in the process:
      
      	- stepper_size style property is the height for vertical
      	  ranges, width for horizontal; the other dimension matches
      	  the trough size
      	- add ability to do NeXT-style steppers (and several other styles
      	  that don't make any sense)
      	- added min_slider_length, fixed_slider_length properties to
                GtkScrollbar
              - cleaned some private (or at least useless) functions out of
                gtkscale.h
              - moved bindings to GtkScale from subclasses, even arrow keys,
      	  since blind users don't know scale orientation.
              - change move_slider action signal to use new GtkScrollType,
      	  remove GtkTroughType argument
      	- digits rounds the values a range will input to the given
      	  number of decimals, but will not try to force adjustment
      	  values set by other controllers. That is, we no longer
      	  modify adjustment->value inside a value_changed handler.
      	- added getters for GtkScale setters
              - middle-click begins a slider drag
      42f429be
  38. 17 May, 2001 1 commit
    • Alexander Larsson's avatar
      Add properties, based on patch by Lee Mallabone. · 6ee1ae13
      Alexander Larsson authored
      2001-05-17  Alexander Larsson  <alla@lysator.liu.se>
      
      	* gtk/gtkbbox.c:
      	Add properties, based on patch by Lee Mallabone.
      
      	* gtk/gtknotebook.c:
      	* gtk/gtktoolbar.c:
      	Convert from GtkArg to GParam, based on patch by John Margaglione.
      
      	* gtk/gtkhscale.c:
      	* gtk/gtkvscale.c:
      	* gtk/gtkhscrollbar.c:
      	* gtk/gtkvscrollbar.c:
      	* gtk/gtkrange.c:
      	Move adjustment property to GtkRange.
      
      	* gtk/gtklabel.c:
      	Setup mnemonics on property changes
      
      	* gtk/gtkwidget.c (gtk_widget_get_property):
      	GdkExtensionMode is an enum, not a flag. Set it with
      	g_value_set_enum ().
      
      	* tests/prop-editor.c:
      	Better propery editor.
      
      	* tests/testgtk.c:
      	Add new property test. Pass zero to the property editor to
      	get properties from all derived types.
      6ee1ae13
  39. 07 May, 2001 1 commit
    • Havoc Pennington's avatar
      fix some shell typos · b4e4a0ed
      Havoc Pennington authored
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: fix some shell typos
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
      
      	* gtk/gtkimage.c: handle animations
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
      	border_width * 2, not just border_width
      
      	* gtk/gtkscale.c: add "format_value" signal to allow people
      	to override the way values are drawn.
      	(gtk_scale_get_value_size): fix width/height mistake,
      	and compute size from actual displayed text, not
      	from made-up text.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
      	signal registration
      
      	* tests/testtext.c: Add "Remove all tags" menu item for testing
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
      
      	* demos/gtk-demo/main.c (main): add hack so we can find modules
      	without installing gtk
      
      	* demos/gtk-demo/textview.c (insert_text): demo font scaling
      
      	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
      	factor)
      	(gtk_cell_renderer_text_set_property): remove some bogus
      	g_object_notify
      
      	* gtk/gtktexttag.c: add "scale" property which is a font scaling
      	factor
      
      	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
      	to layout
      
      	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
      	gtk_text_iter_is_first
      
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
      	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
      	 bug #50371.
      
              * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
      	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
      	confusion of using "src" instead of "p".
              (pixops_composite_color_nearest): Use a more accurate (and
      	correct, to begin with) compositing method.  This cures checks
      	showing through on images with no alpha.
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
      	bytes unfilled.
      
      	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
      
      	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
      	area_updated signal to use signed ints.  Removed animation-related
      	signals.
      
      	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
      	rewrite action
      
      	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
      	all the pesky details. Remove old frame-based API. Make
      	GdkPixbufAnimation an abstract base class, derived by the loaders.
      b4e4a0ed