From d1fbb52eb4827d3629db8ece47413db9ad0cbd38 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Fri, 18 Feb 2011 22:17:04 +0000 Subject: [PATCH] docs: migrating-2to3: improve cross-reference --- docs/reference/gtk/migrating-2to3.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/gtk/migrating-2to3.xml b/docs/reference/gtk/migrating-2to3.xml index 0f186105c..677fd3e34 100644 --- a/docs/reference/gtk/migrating-2to3.xml +++ b/docs/reference/gtk/migrating-2to3.xml @@ -935,7 +935,7 @@ AM_CONDITIONAL(BUILD_x11, [test "x$have_x11" = "xyes"]) is available via the new gtk_widget_get_allocated_width() and gtk_widget_get_allocated_height() functions. It is not necessary to check for GTK_WIDGET_IS_DRAWABLE(), since GTK+ already does this check - before emitting the ::draw signal. + before emitting the #GtkWidget::draw signal. There are some special considerations for widgets with multiple windows. @@ -954,7 +954,7 @@ AM_CONDITIONAL(BUILD_x11, [test "x$have_x11" = "xyes"]) } ... - In contrast, the ::draw signal handler may have to draw multiple + In contrast, the #GtkWidget::draw signal handler may have to draw multiple windows in one call. GTK+ has a convenience function gtk_cairo_should_draw_window() that can be used to find out if a window needs to be drawn. With that, the example above would look -- 2.43.2