Files
gtk3/tests
Benjamin Otte d9c9259861 Move GtkSizeRequest into GtkWidget
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".
2010-09-26 15:11:45 +02:00
..
2008-07-01 22:57:50 +00:00
2009-04-02 10:14:04 +02:00
2003-09-30 20:55:24 +00:00
2010-07-13 19:40:47 +02:00
2010-09-15 20:14:56 -04:00
2010-06-07 16:46:30 -04:00
2010-07-13 19:40:47 +02:00
2010-09-26 15:11:40 +02:00
2008-07-01 22:57:50 +00:00
2006-04-26 12:39:25 +00:00
2010-09-26 15:11:45 +02:00
2010-05-03 01:51:20 +02:00
2010-07-13 19:40:47 +02:00
2009-06-15 09:14:00 +08:00
2008-07-01 22:57:50 +00:00
2008-07-01 22:57:50 +00:00
2010-08-24 23:49:21 +02:00
2008-07-11 14:17:49 +00:00
2010-07-13 19:40:47 +02:00
2010-05-03 01:51:23 +02:00