1. 05 May, 2013 1 commit
  2. 27 Feb, 2012 1 commit
  3. 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_widget_get_preferred_width_for_height()
      gtk_size_request_get_height_for_width() =>
        gtk_widget_get_preferred_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".
      d9c92598
  4. 05 Aug, 2010 1 commit
  5. 27 Jun, 2010 1 commit
  6. 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
      code:
        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).
      
      Conflicts:
      
      	gtk/Makefile.am
      	gtk/gtk.h
      	gtk/gtk.symbols
      	gtk/gtkextendedlayout.h
      edd57602