diff options
author | Bilal Elmoussaoui <belmouss@redhat.com> | 2023-03-27 21:19:06 +0200 |
---|---|---|
committer | Bilal Elmoussaoui <belmouss@redhat.com> | 2023-03-27 21:29:08 +0200 |
commit | d1c43b94efa6e03c69e2ef56a2233c7f3eace20c (patch) | |
tree | c8a9b26ecd39a487b16c0efa8fdf9ba4bb4003a3 /gdk | |
parent | 506206e1bd743de333f543782f5f37c2646dcc7a (diff) | |
download | gtk+-d1c43b94efa6e03c69e2ef56a2233c7f3eace20c.tar.gz |
docs: Fix various broken links
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkframeclock.c | 4 | ||||
-rw-r--r-- | gdk/gdkpaintable.c | 10 | ||||
-rw-r--r-- | gdk/gdkpaintable.h | 6 | ||||
-rw-r--r-- | gdk/gdkpopup.c | 4 |
4 files changed, 12 insertions, 12 deletions
diff --git a/gdk/gdkframeclock.c b/gdk/gdkframeclock.c index dccf5ffcb1..656849b411 100644 --- a/gdk/gdkframeclock.c +++ b/gdk/gdkframeclock.c @@ -48,7 +48,7 @@ * for the synchronization being implemented, the clock will process a frame and * emit signals for each phase that has been requested. (See the signals of the * `GdkFrameClock` class for documentation of the phases. - * %GDK_FRAME_CLOCK_PHASE_UPDATE and the [signal@GdkFrameClock::update] signal + * %GDK_FRAME_CLOCK_PHASE_UPDATE and the [signal@Gdk.FrameClock::update] signal * are most interesting for application writers, and are used to update the * animations, using the frame time given by [method@Gdk.FrameClock.get_frame_time]. * @@ -60,7 +60,7 @@ * are called at a “similar” time get the same value. This means that * if different animations are timed by looking at the difference in * time between an initial value from [method@Gdk.FrameClock.get_frame_time] - * and the value inside the [signal@GdkFrameClock::update] signal of the clock, + * and the value inside the [signal@Gdk.FrameClock::update] signal of the clock, * they will stay exactly synchronized. */ diff --git a/gdk/gdkpaintable.c b/gdk/gdkpaintable.c index adba8b161b..94f3dc7a5d 100644 --- a/gdk/gdkpaintable.c +++ b/gdk/gdkpaintable.c @@ -50,7 +50,7 @@ void gtk_snapshot_pop (GdkSnapshot * to do, it is suggested that you scale your paintable ignoring any potential * aspect ratio. * - * The contents that a `GdkPaintable` produces may depend on the [class@GdkSnapshot] + * The contents that a `GdkPaintable` produces may depend on the [class@Gdk.Snapshot] * passed to it. For example, paintables may decide to use more detailed images * on higher resolution screens or when OpenGL is available. A `GdkPaintable` * will however always produce the same output for the same snapshot. @@ -58,7 +58,7 @@ void gtk_snapshot_pop (GdkSnapshot * A `GdkPaintable` may change its contents, meaning that it will now produce * a different output with the same snapshot. Once that happens, it will call * [method@Gdk.Paintable.invalidate_contents] which will emit the - * [signal@GdkPaintable::invalidate-contents] signal. If a paintable is known + * [signal@Gdk.Paintable::invalidate-contents] signal. If a paintable is known * to never change its contents, it will set the %GDK_PAINTABLE_STATIC_CONTENTS * flag. If a consumer cannot deal with changing contents, it may call * [method@Gdk.Paintable.get_current_image] which will return a static @@ -69,7 +69,7 @@ void gtk_snapshot_pop (GdkSnapshot * can use this information to layout thepaintable appropriately. Just like the * contents, the size of a paintable can change. A paintable will indicate this * by calling [method@Gdk.Paintable.invalidate_size] which will emit the - * [signal@GdkPaintable::invalidate-size] signal. And just like for contents, + * [signal@Gdk.Paintable::invalidate-size] signal. And just like for contents, * if a paintable is known to never change its size, it will set the * %GDK_PAINTABLE_STATIC_SIZE flag. * @@ -529,7 +529,7 @@ gdk_paintable_compute_concrete_size (GdkPaintable *paintable, * the missing dimension is calculated from the present * dimension and the intrinsic aspect ratio. * Otherwise, the missing dimension is taken from the default - * object size. + * object size. */ if (image_width) *concrete_width = image_width; @@ -559,7 +559,7 @@ gdk_paintable_compute_concrete_size (GdkPaintable *paintable, * dimensions, the missing dimension is taken from the object's intrinsic * dimensions. * Otherwise, the missing dimension of the concrete object size is taken - * from the default object size. + * from the default object size. */ if (specified_width) { diff --git a/gdk/gdkpaintable.h b/gdk/gdkpaintable.h index 538ab0da46..92847a07e3 100644 --- a/gdk/gdkpaintable.h +++ b/gdk/gdkpaintable.h @@ -37,10 +37,10 @@ G_DECLARE_INTERFACE (GdkPaintable, gdk_paintable, GDK, PAINTABLE, GObject) /** * GdkPaintableFlags: * @GDK_PAINTABLE_STATIC_SIZE: The size is immutable. - * The [signal@GdkPaintable::invalidate-size] signal will never be + * The [signal@Gdk.Paintable::invalidate-size] signal will never be * emitted. * @GDK_PAINTABLE_STATIC_CONTENTS: The content is immutable. - * The [signal@GdkPaintable::invalidate-contents] signal will never be + * The [signal@Gdk.Paintable::invalidate-contents] signal will never be * emitted. * * Flags about a paintable object. @@ -97,7 +97,7 @@ struct _GdkPaintableInterface double height); /* get the current contents in an immutable form (optional) */ GdkPaintable * (* get_current_image) (GdkPaintable *paintable); - + /* get flags for potential optimizations (optional) */ GdkPaintableFlags (* get_flags) (GdkPaintable *paintable); /* preferred width of paintable or 0 if it has no width (optional) */ diff --git a/gdk/gdkpopup.c b/gdk/gdkpopup.c index 99dcbaa66e..1fd6bb6ff4 100644 --- a/gdk/gdkpopup.c +++ b/gdk/gdkpopup.c @@ -31,7 +31,7 @@ * The `GdkPopup` is positioned relative to its parent surface. * * `GdkPopup`s are typically used to implement menus and similar popups. - * They can be modal, which is indicated by the [property@GdkPopup:autohide] + * They can be modal, which is indicated by the [property@Gdk.Popup:autohide] * property. */ @@ -113,7 +113,7 @@ gdk_popup_default_init (GdkPopupInterface *iface) * otherwise it will change position according to @layout. * * After calling this function, the result should be handled in response - * to the [signal@GdkSurface::layout] signal being emitted. The resulting + * to the [signal@Gdk.Surface::layout] signal being emitted. The resulting * popup position can be queried using [method@Gdk.Popup.get_position_x], * [method@Gdk.Popup.get_position_y], and the resulting size will be sent as * parameters in the layout signal. Use [method@Gdk.Popup.get_rect_anchor] |