From: Matthias Clasen Date: Mon, 25 Feb 2013 10:30:00 +0000 (+0100) Subject: Some more documentation fixes X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;ds=sidebyside;h=b2340254109d8599244c875fe7bc5e234f64da08;p=~andy%2Fgtk Some more documentation fixes Make frame-clock-related symbols show up in the gtk docs. --- diff --git a/docs/reference/gtk/gtk3-sections.txt b/docs/reference/gtk/gtk3-sections.txt index 6062a4541..74ff7900c 100644 --- a/docs/reference/gtk/gtk3-sections.txt +++ b/docs/reference/gtk/gtk3-sections.txt @@ -5151,6 +5151,10 @@ gtk_widget_draw gtk_widget_queue_draw gtk_widget_queue_resize gtk_widget_queue_resize_no_redraw +gtk_widget_get_frame_clock +GtkTickCallback +gtk_widget_add_tick_callback +gtk_widget_remove_tick_callback gtk_widget_size_request gtk_widget_get_child_requisition gtk_widget_size_allocate @@ -5809,6 +5813,7 @@ gtk_style_context_get_parent gtk_style_context_get_path gtk_style_context_get_property gtk_style_context_get_screen +gtk_style_context_get_frame_clock gtk_style_context_get_state gtk_style_context_get_style gtk_style_context_get_style_property @@ -5850,6 +5855,7 @@ gtk_style_context_remove_region gtk_style_context_has_region gtk_style_context_list_regions gtk_style_context_set_screen +gtk_style_context_set_frame_clock gtk_style_context_set_state @@ -6493,8 +6499,6 @@ gtk_icon_info_load_symbolic gtk_icon_info_load_symbolic_async gtk_icon_info_load_symbolic_finish gtk_icon_info_load_symbolic_for_style -gtk_icon_info_load_symbolic_for_style_async -gtk_icon_info_load_symbolic_for_style_finish gtk_icon_info_load_symbolic_for_context gtk_icon_info_load_symbolic_for_context_async gtk_icon_info_load_symbolic_for_context_finish diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c index 6cbe0ffb6..2ba9281b8 100644 --- a/gtk/gtkwidget.c +++ b/gtk/gtkwidget.c @@ -4634,11 +4634,11 @@ static guint tick_callback_id; * gdk_frame_clock_get_frame_time() should generally be used for timing * continuous animations and * gdk_frame_timings_get_predicted_presentation_time() if you are - * trying to display isolated frames particular times. + * trying to display isolated frames at particular times. * * This is a more convenient alternative to connecting directly to the - * ::update signal of GdkFrameClock, since you don't have to worry about - * when a #GdkFrameClock is assigned to a widget. + * #GdkFrameClock::update signal of #GdkFrameClock, since you don't + * have to worry about when a #GdkFrameClock is assigned to a widget. * * Returns: an id for the connection of this callback. Remove the callback * by passing it to gtk_widget_remove_tick_callback() @@ -5056,8 +5056,9 @@ gtk_widget_queue_resize_no_redraw (GtkWidget *widget) * * Unrealized widgets do not have a frame clock. * - * Since: 3.0 * Return value: (transfer none): a #GdkFrameClock (or #NULL if widget is unrealized) + * + * Since: 3.0 */ GdkFrameClock* gtk_widget_get_frame_clock (GtkWidget *widget)