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
..
2010-09-24 13:41:29 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2005-06-20 22:06:27 +00:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2008-11-29 08:22:00 +00:00
2010-05-25 22:57:46 -04:00
2010-05-08 01:18:53 -04:00
2010-09-26 15:11:45 +02:00
2010-05-08 01:18:53 -04:00
2010-09-21 00:18:11 -04:00
2010-08-10 21:02:27 +02:00
2010-06-29 16:06:58 +02:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-08-10 21:02:25 +02:00
2010-09-08 21:31:33 +03:00
2010-09-26 15:11:45 +02:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-07-12 19:45:32 +02:00
2010-06-29 16:06:58 +02:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-07-05 17:21:55 +02:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2005-06-20 22:06:27 +00:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2005-06-20 22:06:27 +00:00
2005-06-20 22:06:27 +00:00
2010-05-08 01:18:53 -04:00
2010-09-21 00:18:11 -04:00
2010-05-25 22:57:46 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-09-19 01:01:09 -04:00
2010-08-10 21:02:25 +02:00
2010-05-08 01:18:53 -04:00
2010-07-09 23:24:38 +02:00
2010-05-08 01:18:53 -04:00
2006-05-05 16:21:19 +00:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-06-29 16:06:58 +02:00
2010-09-21 00:18:11 -04:00
2010-05-08 01:18:53 -04:00
2010-06-16 19:51:04 +02:00
2010-05-08 01:18:53 -04:00
2010-05-25 22:57:46 -04:00
2010-06-03 01:18:42 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-10 20:06:10 -04:00
2010-09-15 04:51:36 +09:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-07-09 21:40:46 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-08-10 21:02:30 +02:00
2010-05-08 01:18:53 -04:00
2005-06-20 22:06:27 +00:00
2005-06-20 22:06:27 +00:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-24 20:16:07 +02:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-06-25 12:15:49 -04:00
2010-05-08 01:18:53 -04:00
2010-05-08 01:18:53 -04:00
2010-06-29 16:06:58 +02:00