drawingarea: Clarify some comments
authorTimm Bäder <mail@baedert.org>
Mon, 18 Jun 2018 09:17:41 +0000 (11:17 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 18 Jun 2018 15:35:03 +0000 (17:35 +0200)
gtk/gtkdrawingarea.c

index 8abc7511c6da673c977bf91b5965029797fac65d..a4d405de9137fd53eba72cba7da967a043b10efa 100644 (file)
@@ -60,9 +60,6 @@ static GParamSpec *props[LAST_PROP] = { NULL, };
  * elements. It’s essentially a blank widget; you can draw on it. After
  * creating a drawing area, the application may want to connect to:
  *
- * - Mouse and button press signals to respond to input from
- *   the user.
- *
  * - The #GtkWidget::realize signal to take any necessary actions
  *   when the widget is instantiated on a particular display.
  *   (Create GDK resources in response to this signal.)
@@ -77,10 +74,6 @@ static GParamSpec *props[LAST_PROP] = { NULL, };
  * area to display a circle in the normal widget foreground
  * color.
  *
- * Note that GDK automatically clears the exposed area before causing a
- * redraw, and that drawing is implicitly clipped to the exposed
- * area.
- *
  * ## Simple GtkDrawingArea usage
  *
  * |[<!-- language="C" -->
@@ -436,7 +429,7 @@ gtk_drawing_area_get_content_height (GtkDrawingArea *self)
  * function.
  *
  * If what you are drawing does change, call gtk_widget_queue_draw() on the
- * drawing area. This will call a redraw and will call @draw_func again.
+ * drawing area. This will cause a redraw and will call @draw_func again.
  */
 void
 gtk_drawing_area_set_draw_func (GtkDrawingArea         *self,