gtk2/demos
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
..
gtk-demo Move GtkSizeRequest into GtkWidget 2010-09-26 15:11:45 +02:00
testgtk demos: Do not use deprecated API 2010-09-08 17:45:51 +02:00
apple-red.png It was cold and rainy this Saturday morning, so I needed something to warm 2000-06-11 18:18:28 +00:00
background.jpg It was cold and rainy this Saturday morning, so I needed something to warm 2000-06-11 18:18:28 +00:00
gnome-applets.png It was cold and rainy this Saturday morning, so I needed something to warm 2000-06-11 18:18:28 +00:00
gnome-calendar.png It was cold and rainy this Saturday morning, so I needed something to warm 2000-06-11 18:18:28 +00:00
gnome-foot.png It was cold and rainy this Saturday morning, so I needed something to warm 2000-06-11 18:18:28 +00:00
gnome-gimp.png It was cold and rainy this Saturday morning, so I needed something to warm 2000-06-11 18:18:28 +00:00
gnome-gmush.png It was cold and rainy this Saturday morning, so I needed something to warm 2000-06-11 18:18:28 +00:00
gnome-gsame.png It was cold and rainy this Saturday morning, so I needed something to warm 2000-06-11 18:18:28 +00:00
gnu-keys.png It was cold and rainy this Saturday morning, so I needed something to warm 2000-06-11 18:18:28 +00:00
Makefile.am demos: Remove testpixbuf 2010-08-10 21:02:26 +02:00
pixbuf-demo.c pixbuf-demo: Use draw signal 2010-09-26 15:11:41 +02:00
pixbuf-init.c Some cleanups after the module cache file change 2010-05-18 19:23:06 -04:00
testanimation.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
testpixbuf-color.c API: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window() 2010-09-26 15:11:32 +02:00
testpixbuf-save.c testpixbuf-save: Use the draw signal 2010-09-26 15:11:41 +02:00
testpixbuf-scale.c Move GtkSizeRequest into GtkWidget 2010-09-26 15:11:45 +02:00