diff options
author | Benjamin Otte <otte@redhat.com> | 2013-04-22 17:37:05 -0400 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2013-04-22 18:29:01 -0400 |
commit | 3450388ff03794ef4c4e7c24e91bfb40798dbec5 (patch) | |
tree | 5e1ac6eb992437e320d57f466e481e831b9d1b53 /gtk/gtkwidgetprivate.h | |
parent | 009aadf378150c32aed9347bbffffda2ca0af6f2 (diff) | |
download | gtk+-3450388ff03794ef4c4e7c24e91bfb40798dbec5.tar.gz |
sizerequest: Split out a common function
Diffstat (limited to 'gtk/gtkwidgetprivate.h')
-rw-r--r-- | gtk/gtkwidgetprivate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkwidgetprivate.h b/gtk/gtkwidgetprivate.h index 4542580e41..84cad6429f 100644 --- a/gtk/gtkwidgetprivate.h +++ b/gtk/gtkwidgetprivate.h @@ -70,6 +70,11 @@ void _gtk_widget_compute_size_for_orientation (GtkWidget *widget, gint for_size, gint *minimum_size, gint *natural_size); +void _gtk_widget_get_preferred_size_for_size (GtkWidget *widget, + GtkOrientation orientation, + gint size, + gint *minimum, + gint *natural); gboolean _gtk_widget_get_translation_to_window (GtkWidget *widget, GdkWindow *window, |