[gtk: 1/2] GtkPaned: Fix symbol names in code example
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] GtkPaned: Fix symbol names in code example
- Date: Sun, 9 Oct 2022 12:22:13 +0000 (UTC)
commit 661130d4295f889a3b8c6f389d0b138e95cb6a04
Author: Tilo Villwock <codemusings gmail com>
Date: Sat Oct 8 13:49:10 2022 +0200
GtkPaned: Fix symbol names in code example
gtk/gtkpaned.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkpaned.c b/gtk/gtkpaned.c
index 7596f6a689..3ea21f35e8 100644
--- a/gtk/gtkpaned.c
+++ b/gtk/gtkpaned.c
@@ -102,13 +102,13 @@
* gtk_widget_set_size_request (hpaned, 200, -1);
*
* gtk_paned_set_start_child (GTK_PANED (hpaned), frame1);
- * gtk_paned_set_start_child_resize (GTK_PANED (hpaned), TRUE);
- * gtk_paned_set_start_child_shrink (GTK_PANED (hpaned), FALSE);
+ * gtk_paned_set_resize_start_child (GTK_PANED (hpaned), TRUE);
+ * gtk_paned_set_shrink_start_child (GTK_PANED (hpaned), FALSE);
* gtk_widget_set_size_request (frame1, 50, -1);
*
* gtk_paned_set_end_child (GTK_PANED (hpaned), frame2);
- * gtk_paned_set_end_child_resize (GTK_PANED (hpaned), FALSE);
- * gtk_paned_set_end_child_shrink (GTK_PANED (hpaned), FALSE);
+ * gtk_paned_set_resize_end_child (GTK_PANED (hpaned), FALSE);
+ * gtk_paned_set_shrink_end_child (GTK_PANED (hpaned), FALSE);
* gtk_widget_set_size_request (frame2, 50, -1);
* ```
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]