summaryrefslogtreecommitdiff
path: root/gtk/gtkdrawingarea.c
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2011-01-29 21:26:12 +0100
committerPaolo Borelli <pborelli@gnome.org>2011-01-29 21:32:56 +0100
commit350d0b54e3ff4d0919d876201f9e9843947bc511 (patch)
tree975006c7bad30483357adaa128a4bc21fe588fc1 /gtk/gtkdrawingarea.c
parentf783a75d61dbe7ae511bf65b6c3aafaffa8b4216 (diff)
downloadgtk+-350d0b54e3ff4d0919d876201f9e9843947bc511.tar.gz
Do not use old functions in the docs.
Diffstat (limited to 'gtk/gtkdrawingarea.c')
-rw-r--r--gtk/gtkdrawingarea.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkdrawingarea.c b/gtk/gtkdrawingarea.c
index 6f8272b154..fc16e1532c 100644
--- a/gtk/gtkdrawingarea.c
+++ b/gtk/gtkdrawingarea.c
@@ -122,11 +122,11 @@
*
* To receive mouse events on a drawing area, you will need to enable
* them with gtk_widget_add_events(). To receive keyboard events, you
- * will need to set the #GTK_CAN_FOCUS flag on the drawing area, and
+ * will need to set the "can-focus" property on the drawing area, and you
* should probably draw some user-visible indication that the drawing
- * area is focused. Use the GTK_HAS_FOCUS() macro in your expose event
+ * area is focused. Use gtk_widget_has_focus() in your expose event
* handler to decide whether to draw the focus indicator. See
- * gtk_paint_focus() for one way to draw focus.
+ * gtk_render_focus() for one way to draw focus.
*/
static void gtk_drawing_area_realize (GtkWidget *widget);