1. 07 Feb, 2013 1 commit
    • Alexander Larsson's avatar
      Add gtk_widget_(un)register_window · 3d4cd4db
      Alexander Larsson authored
      This replaces the previously hardcoded calls to gdk_window_set_user_data,
      and also lets us track which windows are a part of a widget. Old code
      should continue working as is, but new features that require the
      windows may not work perfectly.
      
      We need this for the transparent widget support to work, as we need
      to specially mark the windows of child widgets.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=687842
      3d4cd4db
  2. 27 Feb, 2012 1 commit
  3. 23 Jan, 2012 1 commit
  4. 22 Jan, 2012 1 commit
    • Paolo Borelli's avatar
      Factor out _gtk_misc_get_padding_and_border · e34589dd
      Paolo Borelli authored
      The new semi-private function will allow to implement support for css
      padding and border in widgets inheriting from GtkMisc.
      Use the new function for GtkLabel, GtkArrow and GtkImage.
      e34589dd
  5. 11 Apr, 2011 1 commit
  6. 20 Jan, 2011 1 commit
  7. 04 Jan, 2011 1 commit
  8. 26 Sep, 2010 2 commits
  9. 08 Sep, 2010 2 commits
    • Javier Jardón's avatar
    • Tristan Van Berkom's avatar
      Completely removed requisition cache from GtkWidget instance structure. · 99340074
      Tristan Van Berkom authored
      Since we have a new mechanism for requesting sizes: GtkSizeRequestIface;
      it makes no sense to maintain this cache on the GtkWidget structure...
      removing the requisition cache however does not break the old "size-request"
      signal which is there for backwards compatability reasons.
      
      In any case widget->requisition should not have been accessed,
      gtk_widget_get_child_requisition() would have been the correct way
      to consult the cache.
      
      This commit also deprecates the newly added gtk_widget_get_requisition()
      API and makes it fallback on gtk_size_request_get_size().
      99340074
  10. 27 Aug, 2010 1 commit
  11. 13 Jul, 2010 1 commit
  12. 10 Jul, 2010 1 commit
  13. 04 Apr, 2010 4 commits
  14. 06 Mar, 2010 1 commit
  15. 01 Mar, 2010 1 commit
  16. 19 Feb, 2010 1 commit
  17. 04 Jan, 2010 1 commit
    • Christian Dywan's avatar
      Deprecate flag macros for toplevel, state, no window and composite child · bb1824c1
      Christian Dywan authored
      Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
      GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
      GTK_WIDGET_COMPOSITE_CHILD.
      
      Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
      GTK_OBJECT_TYPE which have become redundant.
      
      Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
      GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
      is replaced with use of the "composite-child" property and uses of
      GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
      
      Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
      changed to direct flag usage.
      
      Documentation is updated to refer to gtk_widget_set_has_window and
      gtk_widget_get_has_window.
      
      Gail and tests are updated as well.
      
      Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
      bb1824c1
  18. 01 Jul, 2008 1 commit
  19. 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
  20. 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
  21. 07 Feb, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkcellview.c gtk/gtklabel.c gtk/gtklayout.c gtk/gtklist.c · ac6c3719
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcellview.c
      	* gtk/gtklabel.c
      	* gtk/gtklayout.c
      	* gtk/gtklist.c
      	* gtk/gtkmenu.c
      	* gtk/gtkmenushell.c
      	* gtk/gtkmisc.c
      	* gtk/gtkoptionmenu.c
      	* gtk/gtkplug.c
      	* gtk/gtkpreview.c
      	* gtk/gtkprogress.c
      	* gtk/gtkradiomenuitem.c
      	* gtk/gtkscale.c
      	* gtk/gtkscrolledwindow.c
      	* gtk/gtksocket.c: remove g_return_if_fail() from private
      	functions and virtual function implementations.
      
      
      svn path=/trunk/; revision=19492
      ac6c3719
  22. 21 Sep, 2007 1 commit
  23. 26 May, 2007 1 commit
    • Matthias Clasen's avatar
      Require gtk-doc 1.6, for signal and property links. · b80b5260
      Matthias Clasen authored
      2007-05-26  Matthias Clasen  <mclasen@redhat.com>
      
              * configure.in: Require gtk-doc 1.6, for signal and property links.
              * gtk/gtkbox.c:
              * gtk/gtkbutton.c:
              * gtk/gtkcontainer.c:
              * gtk/gtkdialog.c:
              * gtk/gtkentry.c:
              * gtk/gtkimage.c:
              * gtk/gtklabel.c:
              * gtk/gtkmisc.c:
              * gtk/gtksettings.c:
              * gtk/gtkwidget.c: Documentation improvements, link signals
              and properties where it makes sense.
      
      svn path=/trunk/; revision=17924
      b80b5260
  24. 14 May, 2006 1 commit
  25. 07 May, 2006 1 commit
  26. 02 May, 2006 1 commit
  27. 13 Sep, 2005 1 commit
  28. 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
  29. 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
  30. 22 Mar, 2005 1 commit
  31. 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
  32. 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
  33. 23 Jul, 2004 1 commit
  34. 06 Mar, 2004 1 commit
  35. 01 Mar, 2004 1 commit
    • Owen Taylor's avatar
      Add gtk_entry_set_alignment() to allow right-aligned entries and a · 4ea9813d
      Owen Taylor authored
      Sun Feb 29 22:01:49 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.[ch]: Add gtk_entry_set_alignment()
              to allow right-aligned entries and a "xalign"
              property. (#59799, patch from Egon Andersen and
              Steffen Gutmann)
      
              * gtk/gtkmisc.c (gtk_misc_class_init): Use improved
              xalign property description here too.
      
              * tests/testtext.c: UNDERLINE_ERROR test addition
              from Nicolas Settons' patch.
      4ea9813d