[gtk+/gtk-style-context] docs: Refer to gtk_paint_*() instead draw_*() vfuncs in the migration guide
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context] docs: Refer to gtk_paint_*() instead draw_*() vfuncs in the migration guide
- Date: Thu, 18 Nov 2010 18:02:19 +0000 (UTC)
commit 89018f0bf86cbb21e32d34fa59955c92917cd4ba
Author: Javier Jardón <jjardon gnome org>
Date: Thu Nov 18 18:55:25 2010 +0100
docs: Refer to gtk_paint_*() instead draw_*() vfuncs in the migration guide
docs/reference/gtk/migrating-GtkStyleContext.xml | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/docs/reference/gtk/migrating-GtkStyleContext.xml b/docs/reference/gtk/migrating-GtkStyleContext.xml
index e0a200e..886343d 100644
--- a/docs/reference/gtk/migrating-GtkStyleContext.xml
+++ b/docs/reference/gtk/migrating-GtkStyleContext.xml
@@ -41,20 +41,18 @@
<orderedlist>
<listitem>
- All variations of <literal>draw_box()</literal>, <literal>draw_flat_box()</literal>,
- <literal>draw_shadow()</literal>, <literal>draw_box_gap()</literal> and
- <literal>draw_shadow_gap()</literal> become replaced by <literal>render_background()</literal>,
- <literal>render_frame()</literal> and <literal>render_frame_gap()</literal>, where
- the first would render frameless backgrounds and the last two would render all frame
- variants.
+ All variations of <literal>gtk_paint_box()</literal>, <literal>gtk_paint_flat_box()</literal>,
+ <literal>gtk_paint_shadow()</literal>, <literal>gtk_paint_box_gap()</literal> and
+ <literal>gtk_paint_shadow_gap()</literal> become replaced by gtk_render_background(),
+ gtk_render_frame() and gtk_render_frame_gap(), where the first would render frameless
+ backgrounds and the last two would render all frame variants.
</listitem>
<listitem>
- <literal>draw_resize_grip()</literal> disappears in favor of
- <literal>render_handle()</literal> with a #GTK_STYLE_CLASS_GRIP class set in the
- style context.
+ <literal>gtk_paint_resize_grip()</literal> disappears in favor of gtk_render_handle()
+ with a #GTK_STYLE_CLASS_GRIP class set in the style context.
</listitem>
<listitem>
- <literal>draw_spinner()</literal> disappears in favor of <literal>render_activity()</literal>
+ <literal>gtk_paint_spinner()</literal> disappears in favor of gtk_render_activity()
with a #GTK_STYLE_CLASS_SPINNER class set in the style context.
</listitem>
</orderedlist>
@@ -541,4 +539,4 @@
</listitem>
</orderedlist>
</refsect2>
-</chapter>
\ No newline at end of file
+</chapter>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]