diff --git a/docs/reference/gtk/gtk-docs.sgml b/docs/reference/gtk/gtk-docs.sgml index 4e97d0b605..34c1aa1be2 100644 --- a/docs/reference/gtk/gtk-docs.sgml +++ b/docs/reference/gtk/gtk-docs.sgml @@ -307,6 +307,7 @@ that is, GUI components such as #GtkButton or #GtkTextView. + diff --git a/docs/reference/gtk/migrating-2to3.xml b/docs/reference/gtk/migrating-2to3.xml index 389a578c0d..bcc27b8844 100644 --- a/docs/reference/gtk/migrating-2to3.xml +++ b/docs/reference/gtk/migrating-2to3.xml @@ -380,6 +380,35 @@ cairo_destroy (cr); +
+ GtkProgressBar orientation + + + In GTK+ 2.x, #GtkProgressBar and #GtkCellRendererProgress were using the + GtkProgressBarOrientation enumeration to specify their orientation and + direction. In GTK+ 3, both the widget and the cell renderer implement + #GtkOrientable, and have an additional 'inverted' property to determine + their direction. Therefore, a call to gtk_progress_bar_set_orientation() + needs to be replaced by a pair of calls to + gtk_orientable_set_orientation() and gtk_progress_bar_set_inverted(). + The following values correspond: + + + + GTK+ 2.xGTK+ 3 + GtkProgressBarOrientationGtkOrientationinverted + + + GTK_PROGRESS_LEFT_TO_RIGHTGTK_ORIENTATION_HORIZONTALFALSE + GTK_PROGRESS_RIGHT_TO_LEFTGTK_ORIENTATION_HORIZONTALTRUE + GTK_PROGRESS_TOP_TO_BOTTOMGTK_ORIENTATION_VERTICALFALSE + GTK_PROGRESS_BOTTOM_TO_TOPGTK_ORIENTATION_VERTICALTRUE + + +
+
+
+
Prevent mixed linkage