From 85b23757b6433280ae98126818084de25e74e1cc Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 15 Jun 2001 18:25:42 +0000 Subject: [PATCH] Docs fixups, and: 2001-06-14 Havoc Pennington Docs fixups, and: * gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with GTK_DISABLE_DEPRECATED --- ChangeLog | 7 +++++++ ChangeLog.pre-2-0 | 7 +++++++ ChangeLog.pre-2-10 | 7 +++++++ ChangeLog.pre-2-2 | 7 +++++++ ChangeLog.pre-2-4 | 7 +++++++ ChangeLog.pre-2-6 | 7 +++++++ ChangeLog.pre-2-8 | 7 +++++++ docs/reference/gtk/gtk-sections.txt | 12 ++---------- docs/reference/gtk/tmpl/gtkimagemenuitem.sgml | 9 +++++++++ docs/reference/gtk/tmpl/gtksizegroup.sgml | 2 ++ docs/reference/gtk/tmpl/gtktextiter.sgml | 9 +++++++++ docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml | 2 ++ gtk/gtklabel.c | 17 +++++++++++++++++ gtk/gtksizegroup.h | 2 +- gtk/gtktreeviewcolumn.h | 2 +- 15 files changed, 92 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d4e12ceb9..fc22c5d2f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2001-06-14 Havoc Pennington + + Docs fixups, and: + + * gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with + GTK_DISABLE_DEPRECATED + Thu Jun 14 19:21:27 2001 Jonathan Blandford * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops. Forgot diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 2d4e12ceb9..fc22c5d2f5 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,10 @@ +2001-06-14 Havoc Pennington + + Docs fixups, and: + + * gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with + GTK_DISABLE_DEPRECATED + Thu Jun 14 19:21:27 2001 Jonathan Blandford * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops. Forgot diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 2d4e12ceb9..fc22c5d2f5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,10 @@ +2001-06-14 Havoc Pennington + + Docs fixups, and: + + * gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with + GTK_DISABLE_DEPRECATED + Thu Jun 14 19:21:27 2001 Jonathan Blandford * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops. Forgot diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 2d4e12ceb9..fc22c5d2f5 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,10 @@ +2001-06-14 Havoc Pennington + + Docs fixups, and: + + * gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with + GTK_DISABLE_DEPRECATED + Thu Jun 14 19:21:27 2001 Jonathan Blandford * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops. Forgot diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 2d4e12ceb9..fc22c5d2f5 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,10 @@ +2001-06-14 Havoc Pennington + + Docs fixups, and: + + * gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with + GTK_DISABLE_DEPRECATED + Thu Jun 14 19:21:27 2001 Jonathan Blandford * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops. Forgot diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 2d4e12ceb9..fc22c5d2f5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,10 @@ +2001-06-14 Havoc Pennington + + Docs fixups, and: + + * gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with + GTK_DISABLE_DEPRECATED + Thu Jun 14 19:21:27 2001 Jonathan Blandford * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops. Forgot diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 2d4e12ceb9..fc22c5d2f5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,10 @@ +2001-06-14 Havoc Pennington + + Docs fixups, and: + + * gtk/gtkcompat.h: remove GTK_DISABLE_COMPAT_H, replace with + GTK_DISABLE_DEPRECATED + Thu Jun 14 19:21:27 2001 Jonathan Blandford * gtk/gtktreestore.c (gtk_tree_store_sort_helper): Whoops. Forgot diff --git a/docs/reference/gtk/gtk-sections.txt b/docs/reference/gtk/gtk-sections.txt index b687e6129e..b5bf9399c3 100644 --- a/docs/reference/gtk/gtk-sections.txt +++ b/docs/reference/gtk/gtk-sections.txt @@ -442,7 +442,6 @@ gtk_container_check_resize gtk_container_foreach gtk_container_foreach_full gtk_container_children -gtk_container_focus gtk_container_set_reallocate_redraws gtk_container_set_focus_child gtk_container_set_focus_vadjustment @@ -1020,7 +1019,7 @@ GtkImageStockData GtkImageMenuItem GtkImageMenuItem GtkImageMenuItemClass -gtk_image_menu_item_add_image +gtk_image_menu_item_set_image gtk_image_menu_item_get_image gtk_image_menu_item_get_type gtk_image_menu_item_new @@ -1805,7 +1804,6 @@ GtkScale gtk_scale_set_digits gtk_scale_set_draw_value gtk_scale_set_value_pos -gtk_scale_get_value_width GTK_SCALE GTK_IS_SCALE @@ -1816,8 +1814,6 @@ GTK_IS_SCALE_CLASS GTK_SCALE_GET_CLASS gtk_scale_value_width -gtk_scale_get_value_size -gtk_scale_draw_value
@@ -2235,7 +2231,7 @@ gtk_text_iter_backward_search gtk_text_iter_equal gtk_text_iter_compare gtk_text_iter_in_range -gtk_text_iter_reorder +gtk_text_iter_order gtk_text_iter_spew
@@ -2667,7 +2663,6 @@ gtk_tree_view_column_new_with_attributes gtk_tree_view_column_set_cell_renderer gtk_tree_view_column_add_attribute gtk_tree_view_column_set_attributes -gtk_tree_view_column_set_cell_data gtk_tree_view_column_set_visible gtk_tree_view_column_get_visible gtk_tree_view_column_set_sizing @@ -3657,8 +3652,6 @@ GtkFunction GtkDestroyNotify GtkCallbackMarshal GtkSignalMarshaller -GtkArgGetFunc -GtkArgSetFunc GtkTypeObject GtkArg GTK_VALUE_CHAR @@ -3764,7 +3757,6 @@ GtkStateType GtkSubmenuDirection GtkSubmenuPlacement GtkToolbarStyle -GtkTroughType GtkUpdateType GtkVisibility GtkWindowPosition diff --git a/docs/reference/gtk/tmpl/gtkimagemenuitem.sgml b/docs/reference/gtk/tmpl/gtkimagemenuitem.sgml index dd6a07fb32..ddbfdd2489 100644 --- a/docs/reference/gtk/tmpl/gtkimagemenuitem.sgml +++ b/docs/reference/gtk/tmpl/gtkimagemenuitem.sgml @@ -27,6 +27,15 @@ GtkImageMenuItem + + + + + +@image_menu_item: +@image: + + diff --git a/docs/reference/gtk/tmpl/gtksizegroup.sgml b/docs/reference/gtk/tmpl/gtksizegroup.sgml index 70783a970f..47b262708e 100644 --- a/docs/reference/gtk/tmpl/gtksizegroup.sgml +++ b/docs/reference/gtk/tmpl/gtksizegroup.sgml @@ -75,6 +75,8 @@ reached from the widget by a chain of size groups of type @size_group: +@mode: + @type: diff --git a/docs/reference/gtk/tmpl/gtktextiter.sgml b/docs/reference/gtk/tmpl/gtktextiter.sgml index 6e19122100..29f7111025 100644 --- a/docs/reference/gtk/tmpl/gtktextiter.sgml +++ b/docs/reference/gtk/tmpl/gtktextiter.sgml @@ -781,6 +781,15 @@ types related to the text widget and how they work together. @Returns: + + + + + +@first: +@second: + + diff --git a/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml b/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml index 96e910cafd..d13ab5ab3f 100644 --- a/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml +++ b/docs/reference/gtk/tmpl/gtktreeviewcolumn.sgml @@ -167,6 +167,8 @@ GtkTreeViewColumn @tree_column: +@width: + @size: diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 82590b30f1..c9a5272d9a 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -1776,6 +1776,15 @@ gtk_label_destroy_window (GtkLabel *label) label->select_info->window = NULL; } +/** + * gtk_label_set_selectable: + * @label: a #GtkLabel + * @setting: %TRUE to allow selecting text in the label + * + * Selectable labels allow the user to select text from the label, for + * copy-and-paste. + * + **/ void gtk_label_set_selectable (GtkLabel *label, gboolean setting) @@ -1826,6 +1835,14 @@ gtk_label_set_selectable (GtkLabel *label, } } +/** + * gtk_label_get_selectable: + * @label: a #GtkLabel + * + * Gets the value set by gtk_label_set_selectable(). + * + * Return value: %TRUE if the user can copy text from the label + **/ gboolean gtk_label_get_selectable (GtkLabel *label) { diff --git a/gtk/gtksizegroup.h b/gtk/gtksizegroup.h index 32d3ec21ab..0eb95ea48a 100644 --- a/gtk/gtksizegroup.h +++ b/gtk/gtksizegroup.h @@ -78,7 +78,7 @@ GType gtk_size_group_get_type (void) G_GNUC_CONST;; GtkSizeGroup * gtk_size_group_new (GtkSizeGroupMode mode); void gtk_size_group_set_mode (GtkSizeGroup *size_group, - GtkSizeGroupMode type); + GtkSizeGroupMode mode); GtkSizeGroupMode gtk_size_group_get_mode (GtkSizeGroup *size_group); void gtk_size_group_add_widget (GtkSizeGroup *size_group, GtkWidget *widget); diff --git a/gtk/gtktreeviewcolumn.h b/gtk/gtktreeviewcolumn.h index 15b45692c6..db320c6239 100644 --- a/gtk/gtktreeviewcolumn.h +++ b/gtk/gtktreeviewcolumn.h @@ -131,7 +131,7 @@ void gtk_tree_view_column_set_sizing (GtkTreeViewCol GtkTreeViewColumnSizing gtk_tree_view_column_get_sizing (GtkTreeViewColumn *tree_column); gint gtk_tree_view_column_get_width (GtkTreeViewColumn *tree_column); void gtk_tree_view_column_set_width (GtkTreeViewColumn *tree_column, - gint size); + gint width); void gtk_tree_view_column_set_min_width (GtkTreeViewColumn *tree_column, gint min_width); gint gtk_tree_view_column_get_min_width (GtkTreeViewColumn *tree_column);