1. 16 Jun, 2014 1 commit
  2. 14 Jun, 2014 1 commit
  3. 19 Feb, 2014 1 commit
  4. 09 Jul, 2013 1 commit
  5. 22 Apr, 2013 2 commits
  6. 05 Mar, 2013 1 commit
  7. 11 Nov, 2012 2 commits
  8. 09 Nov, 2012 2 commits
    • Jasper St. Pierre's avatar
      gtkbin: Remove the silliest code on earth · f4438a1f
      Jasper St. Pierre authored
      What is this bin doing with all these crazy deltas? Company does:
      <Company> that can safely be removed
      <Company> in general, code that isn't obvious can either be understood
      <Company> with a bit of thinking or it can be removed
      <Company> if in doubt, go for the 2nd of those :)
      Most GtkBin subclasses override this strange garbage anyway, so it's
      not like this code is ever *run*, per se. Just make it proxy directly
      to the child, and hope nothing goes wrong.
    • Jasper St. Pierre's avatar
      gtkbin: Complete more of a base implementation for GtkBin subclasses · 3563d11f
      Jasper St. Pierre authored
      Implement get_preferred_width, get_preferred_height, and size_allocate.
      This allows GtkBin subclasses to be quick and easy, without the
      author doing the subclassing to have to do much work.
  9. 27 Feb, 2012 1 commit
  10. 25 Mar, 2011 1 commit
  11. 29 Dec, 2010 1 commit
  12. 26 Sep, 2010 1 commit
    • Benjamin Otte's avatar
      Move GtkSizeRequest into GtkWidget · d9c92598
      Benjamin Otte authored
      It doesn't make sense to keep them separate as GtkSizeRequest requires a
      GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
      one without the other.
      It also makes the code a lot easier because no casts are required when
      calling functions.
      Also, the names would translate to gtk_widget_get_width() and people
      agreed that this would be a too generic name, so a "preferred" was added
      to the names.
      So this patch moves the functions:
      gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
      gtk_size_request_get_width() => gtk_widget_get_preferred_width()
      gtk_size_request_get_height() => gtk_widget_get_preferred_height()
      gtk_size_request_get_size() => gtk_widget_get_preferred_size()
      gtk_size_request_get_width_for_height() =>
      gtk_size_request_get_height_for_width() =>
      ... and moves the corresponding vfuncs to the GtkWidgetClass.
      The patch also renames the implementations of the vfuncs in widgets to
      include the word "preferrred".
  13. 13 Sep, 2010 1 commit
    • Havoc Pennington's avatar
      default impls of width_for_height,hfw should chain directly not use wrapper API · cf6eb477
      Havoc Pennington authored
      In GtkBin and GtkWidget we tried to provide handy defaults that
      call get_width if there's no get_width_for_height and
      get_height for get_height_for_width.
      However, they used the wrapper API on GtkSizeRequest instead of
      chaining directly to the other method implementation.
      This could result in all kinds of surprising behavior, for example,
      get_width_for_height() would now already include the effects of set_size_request().
      If nothing else it's inefficient. But it's just conceptually wrong,
      because to chain to another implementation, we should call the other
      implementation, not call a wrapper around the other implementation
      (when we're already inside a previous invocation of the wrapper,
      i.e. compute_size_for_orientation() ends up reinvoking itself
      in the same orientation on the same object which it pretty
      likely isn't intending to do)
  14. 27 Aug, 2010 1 commit
  15. 13 Jul, 2010 2 commits
  16. 10 Jul, 2010 1 commit
  17. 18 Jun, 2010 1 commit
    • Tristan Van Berkom's avatar
      Mass api change from GtkExtendedLayout --> GtkSizeRequest · edd57602
      Tristan Van Berkom authored
      This commit makes a few massive changes to the extended layout
        a.) gtkextendedlayout.c --> gtksizerequest.c
        b.) _is_height_for_width --> get_request_mode()
        c.) get_desired_size(), get_desired_width(), get_desired_height() -->
            get_size(), get_width(), get_height()
      This is the first partial commit and only effects portions
      of the tree that have already been merged in master (in order to
      easily cherry pick this commit).
  18. 21 Apr, 2010 1 commit
  19. 20 Apr, 2010 1 commit
  20. 18 Apr, 2010 1 commit
  21. 13 Apr, 2010 1 commit
    • Tristan Van Berkom's avatar
      Mega commit to change ->get_desired_size() for ->get_desired_width/height(). · d2c35ec6
      Tristan Van Berkom authored
      This commit changes gtk_extended_layout_get_desired_size() for
      per dimension variants. Furthermore this commit reverts the actions
      done in size-groups for now as it needs a different approach.
      The natural width/height parameters added to aux_info have been changed
      for a per width cache for heights and a per height cache for widths.
      gtk-demo is still working, currently sizegroups are not taken
      into account as mentioned above - size groups need to be alerted both
      when the widths and heights are updated independantly and then that
      information needs to repropagate also to other extended layout implementors.
  22. 11 Apr, 2010 1 commit
  23. 09 Apr, 2010 1 commit
    • Tristan Van Berkom's avatar
      Reimplemented GtkExtendedLayout on GtkBin · 73056e92
      Tristan Van Berkom authored
      Instead of implementing ->get_desired_size() on GtkBin, which
      cant really be done because border widths are in the domain of
      the concrete subclasses; here we implement only the get_height_for_width
      and get_width_for_height apis - GtkBin subclasses whom might have a
      variable border width depending on allocations need to write their
      own height-for-width implementations.
  24. 05 Apr, 2010 1 commit
  25. 04 Apr, 2010 5 commits
  26. 06 Mar, 2010 1 commit
  27. 01 Mar, 2010 1 commit
  28. 19 Dec, 2009 2 commits
  29. 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.
  30. 01 Jul, 2008 1 commit
  31. 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