1. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
      6529c076
  2. 07 Apr, 2009 1 commit
    • Matthias Clasen's avatar
      Fix a GtkBuilder crash · 45894c9f
      Matthias Clasen authored
      Always set an error when returning FALSE from gtk_builder_value_from_string.
      This fixes the crash reported in bug 532858.
      45894c9f
  3. 16 Jul, 2008 1 commit
    • Paolo Borelli's avatar
      Bug 447998 - GtkBuilder does not support building parts of the xml tree · 6ee8be88
      Paolo Borelli authored
      2008-07-15  Paolo Borelli  <pborelli@katamail.com>
      
      	Bug 447998 - GtkBuilder does not support building parts of the xml tree
      
      	* gtk/gtkbuilder.c:
      	* gtk/gtkbuilder.h:
      	* gtk/gtkbuilderprivate.h:
      	* gtk/gtkbuilderparser.c:
      	* gtk/gtk.symbols:
      	Add two new functions that allow cherry picking and construct
      	objects from a ui description file or string.
      
      	* gtk/tests/builder.c: tests for the above.
      
      
      svn path=/trunk/; revision=20845
      6ee8be88
  4. 01 Jul, 2008 1 commit
  5. 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
  6. 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
  7. 11 Jun, 2008 1 commit
    • Behdad Esfahbod's avatar
      Bug 503071 – Application direction changes to right to left even if · d76e3d55
      Behdad Esfahbod authored
      2008-06-11  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 503071 – Application direction changes to right to left even if
              theres no translation
      
              * configure.in: Bump glib requirement.
      
              * gtk/gtkaccellabel.c
              (_gtk_accel_label_class_get_accelerator_label):
              * gtk/gtkactiongroup.c (dgettext_swapped):
              * gtk/gtkbuilder.c (gtk_builder_class_init):
              * gtk/gtkbuilderparser.c (_dpgettext),
              (_gtk_builder_parser_translate):
              * gtk/gtkfilechooserdefault.c (list_size_data_func):
              * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
              * gtk/gtkintl.h:
              * gtk/gtkmain.c (setlocale_initialization),
              (do_pre_parse_initialization), (gettext_initialization):
              * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
              Use g_dgettext() and g_dngettext().
      
      
      svn path=/trunk/; revision=20358
      d76e3d55
  8. 16 Apr, 2008 1 commit
    • Tristan Van Berkom's avatar
      Chain up in buildable_finish() · b1542fe9
      Tristan Van Berkom authored
      
      	* gtk/gtkwindow.c: Chain up in buildable_finish()
      
      	* gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
      	cases where g_path_get_dirname() returns "."
      
      	* docs/reference/gtk/tmpl/gtklabel.sgml, 
      	docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
      	for the <attributes> tags on GtkLabel
      
      
      svn path=/trunk/; revision=20008
      b1542fe9
  9. 07 Mar, 2008 2 commits
    • Johan Dahlin's avatar
      - Treat enums like enums and not values - Avoid invalid free, in case of · 424cc287
      Johan Dahlin authored
      2008-03-07  Johan Dahlin  <johan@gnome.org>
      
          * gtk/gtkbuilder.c:
          * gtk/gtkbuilderparser.c:
          * gtk/gtkbuilderprivate.h:
          * gtk/gtkiconfactory.c:
          * tests/buildertest.c:
          - Treat enums like enums and not values
          - Avoid invalid free, in case of more than two sources
          - Add better error messages
          - Add much improved tests
          (#520979, Christian Persch)
      
      
      svn path=/trunk/; revision=19732
      424cc287
    • Johan Dahlin's avatar
      Implement GtkBuildable on GtkIconFactory, to make it possible to register · 61be2a71
      Johan Dahlin authored
      2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
      
          * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
          * gtk/gtkbuilder.c:
          * gtk/gtkbuilderprivate.h:
          * gtk/gtkiconfactory.c:
          * tests/buildertest.c:
          Implement GtkBuildable on GtkIconFactory, to make
          it possible to register custom stock icons.
          Fixes #517066
      
      
      svn path=/trunk/; revision=19726
      61be2a71
  10. 01 Mar, 2008 2 commits
  11. 20 Feb, 2008 1 commit
  12. 10 Feb, 2008 1 commit
  13. 06 Jan, 2008 1 commit
  14. 05 Jan, 2008 1 commit
    • Mathias Hasselmann's avatar
      Avoid some compiler warnings (#507000). · 26124bb1
      Mathias Hasselmann authored
      * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
      for value argument of _gtk_builder_flags_from_string.
      * gtk/gtkwidget.c: Don't alias the child pointer passed
      to gdk_window_get_user_data.
      
      svn path=/trunk/; revision=19306
      26124bb1
  15. 27 Nov, 2007 2 commits
    • Ryan Lortie's avatar
      add clarification stating that the construct_child function is responsible · 08e15bbb
      Ryan Lortie authored
      2006-11-26  Ryan Lortie  <desrt@desrt.ca>
      
              * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
              that the construct_child function is responsible for returning a
              reference.
              * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
              objects from constructors
              * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
              g_object_ref() to this construction function (it's the only
              implementer in GTK)
      
              Fixes #496645.
      
      
      svn path=/trunk/; revision=19075
      08e15bbb
    • Ryan Lortie's avatar
      remove concept of root objects and just refcount all objects in the · 490af125
      Ryan Lortie authored
      2006-11-26  Ryan Lortie  <desrt@desrt.ca>
      
              * gtkbuilder.c: remove concept of root objects and just refcount
              all objects in the builder.  Fixes #496651.
      
      
      svn path=/trunk/; revision=19074
      490af125
  16. 11 Nov, 2007 1 commit
  17. 10 Nov, 2007 1 commit
    • Matthias Clasen's avatar
      Don't leak buffer if an error occurs. · 06d28ff8
      Matthias Clasen authored
      2007-11-10  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkbuilder.c (gtk_builder_add_from_file): Don't
              leak buffer if an error occurs.
      
      
      
      svn path=/trunk/; revision=18979
      06d28ff8
  18. 09 Nov, 2007 1 commit
  19. 30 Oct, 2007 1 commit
  20. 24 Oct, 2007 2 commits
  21. 22 Oct, 2007 1 commit
  22. 14 Sep, 2007 1 commit
  23. 04 Sep, 2007 1 commit
  24. 06 Jul, 2007 1 commit
  25. 05 Jul, 2007 1 commit
  26. 03 Jul, 2007 1 commit
  27. 30 Jun, 2007 3 commits
    • Johan Dahlin's avatar
      Improve error handling for enum/flags, rename the converter functions to · aaab9c05
      Johan Dahlin authored
      2007-06-30  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkbuilder.c:
          * gtk/gtkbuilder.h:
          * gtk/gtkbuilderparser.c:
          * gtk/gtkbuilderprivate.h:
          * gtk/gtkwidget.c: 
          * tests/buildertest.c:
      
          Improve error handling for enum/flags, rename the converter functions
          to be consistent. Add tests. Fixes #452465
      
      
      svn path=/trunk/; revision=18312
      aaab9c05
    • Johan Dahlin's avatar
      Make boolean string parsing consistent, #452464 · 357e2cbf
      Johan Dahlin authored
      2007-06-30  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type):
          * gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean),
          (parse_property), (parse_signal):
          * gtk/gtkbuilderprivate.h:
          * tests/buildertest.c: (test_value_from_string):
          Make boolean string parsing consistent, #452464
      
      
      svn path=/trunk/; revision=18305
      357e2cbf
    • Matthias Clasen's avatar
      documentation updates · 3060ce7d
      Matthias Clasen authored
      svn path=/trunk/; revision=18303
      3060ce7d
  28. 29 Jun, 2007 1 commit
    • Johan Dahlin's avatar
      Improve reference counting, #447967 · 571e8e1a
      Johan Dahlin authored
      2007-06-29  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkbuilder.c: (gtk_builder_finalize),
          (gtk_builder_get_parameters), (_gtk_builder_construct):
          * tests/buildertest.c:
      
          Improve reference counting, #447967
      
      
      svn path=/trunk/; revision=18292
      571e8e1a
  29. 27 Jun, 2007 2 commits
    • Johan Dahlin's avatar
      Print out the name of the right object in the warning (#451314, Philip · 099ec157
      Johan Dahlin authored
      2007-06-27  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkbuilder.c (apply_delayed_properties): 
          Print out the name of the right object in the warning
          (#451314, Philip Withnall)
      
      
      svn path=/trunk/; revision=18270
      099ec157
    • Johan Dahlin's avatar
      Add GtkBuilder and GError arguments to gtk_builder_value_from_string and · ec3bb377
      Johan Dahlin authored
          * gtk/gtkbuilder.c: (gtk_builder_get_parameters),
          (gtk_builder_value_from_string),
          (gtk_builder_value_from_string_type):
          * gtk/gtkbuilder.h:
          * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property),
          (attributes_text_element):
          * gtk/gtkliststore.c: (list_store_text):
          * tests/buildertest.c: (test_value_from_string):
      
          Add GtkBuilder and GError arguments to gtk_builder_value_from_string
          and gtk_builder_value_from_string_type. (#451428)
      
      
      svn path=/trunk/; revision=18262
      ec3bb377
  30. 26 Jun, 2007 1 commit
    • Johan Dahlin's avatar
      Fix a bunch of small bugs when parsing property values · a992482d
      Johan Dahlin authored
          * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a
          bunch of small bugs when parsing property values
          (boolean/int/uint/long/ulong/float/double). Bug #451353.
      
          * tests/buildertest.c: Add tests for the above.
      
      
      svn path=/trunk/; revision=18250
      a992482d
  31. 19 Jun, 2007 1 commit
  32. 16 Jun, 2007 1 commit
  33. 15 Jun, 2007 1 commit