X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpspp-sheet-view-column.h;h=f3aa94f6e5fd02f4081ee89e27ee0c45bd75b926;hb=2fd2474505b93912de67053897566bf325dd5b08;hp=f18fee1d104e2d6b0ddb57c26c6de2870a1ba0e0;hpb=6f3865480503c571963d8a2d1af858a4d72d4e88;p=pspp diff --git a/src/ui/gui/pspp-sheet-view-column.h b/src/ui/gui/pspp-sheet-view-column.h index f18fee1d10..f3aa94f6e5 100644 --- a/src/ui/gui/pspp-sheet-view-column.h +++ b/src/ui/gui/pspp-sheet-view-column.h @@ -59,64 +59,62 @@ typedef void (* PsppSheetCellDataFunc) (PsppSheetViewColumn *tree_column, struct _PsppSheetViewColumn { - GtkObject parent; - - GtkWidget *GSEAL (tree_view); - GtkWidget *GSEAL (button); - GtkWidget *GSEAL (child); - GtkWidget *GSEAL (arrow); - GtkWidget *GSEAL (alignment); - GdkWindow *GSEAL (window); - GtkCellEditable *GSEAL (editable_widget); - gfloat GSEAL (xalign); - guint GSEAL (property_changed_signal); - gint GSEAL (spacing); - GtkAllocation GSEAL (allocation); + GObject parent; + + GtkWidget *PSEAL (tree_view); + GtkWidget *PSEAL (button); + GtkWidget *PSEAL (child); + GtkWidget *PSEAL (alignment); + GdkWindow *PSEAL (window); + GtkCellEditable *PSEAL (editable_widget); + gfloat PSEAL (xalign); + guint PSEAL (property_changed_signal); + gint PSEAL (spacing); + GtkAllocation PSEAL (allocation); /* Sizing fields */ /* see gtk+/doc/tree-column-sizing.txt for more information on them */ - gint GSEAL (requested_width); - gint GSEAL (button_request); - gint GSEAL (resized_width); - gint GSEAL (width); - gint GSEAL (fixed_width); - gint GSEAL (min_width); - gint GSEAL (max_width); + gint PSEAL (requested_width); + gint PSEAL (button_request); + gint PSEAL (resized_width); + gint PSEAL (width); + gint PSEAL (fixed_width); + gint PSEAL (min_width); + gint PSEAL (max_width); /* dragging columns */ - gint GSEAL (drag_x); - gint GSEAL (drag_y); + gint PSEAL (drag_x); + gint PSEAL (drag_y); - gchar *GSEAL (title); - GList *GSEAL (cell_list); + gchar *PSEAL (title); + GList *PSEAL (cell_list); /* Sorting */ - guint GSEAL (sort_clicked_signal); - guint GSEAL (sort_column_changed_signal); - gint GSEAL (sort_column_id); - GtkSortType GSEAL (sort_order); + guint PSEAL (sort_clicked_signal); + guint PSEAL (sort_column_changed_signal); + gint PSEAL (sort_column_id); + GtkSortType PSEAL (sort_order); /* Flags */ - guint GSEAL (visible) : 1; - guint GSEAL (resizable) : 1; - guint GSEAL (clickable) : 1; - guint GSEAL (dirty) : 1; - guint GSEAL (show_sort_indicator) : 1; - guint GSEAL (maybe_reordered) : 1; - guint GSEAL (reorderable) : 1; - guint GSEAL (use_resized_width) : 1; - guint GSEAL (expand) : 1; - guint GSEAL (quick_edit) : 1; - guint GSEAL (selected) : 1; - guint GSEAL (selectable) : 1; - guint GSEAL (row_head) : 1; - guint GSEAL (tabbable) : 1; - guint GSEAL (need_button) : 1; + guint PSEAL (visible) : 1; + guint PSEAL (resizable) : 1; + guint PSEAL (clickable) : 1; + guint PSEAL (dirty) : 1; + guint PSEAL (show_sort_indicator) : 1; + guint PSEAL (maybe_reordered) : 1; + guint PSEAL (reorderable) : 1; + guint PSEAL (use_resized_width) : 1; + guint PSEAL (expand) : 1; + guint PSEAL (quick_edit) : 1; + guint PSEAL (selected) : 1; + guint PSEAL (selectable) : 1; + guint PSEAL (row_head) : 1; + guint PSEAL (tabbable) : 1; }; struct _PsppSheetViewColumnClass { - GtkObjectClass parent_class; + GObjectClass parent_class; gboolean (*clicked) (PsppSheetViewColumn *tree_column); gboolean (*button_press_event) (PsppSheetViewColumn *, @@ -141,9 +139,9 @@ void pspp_sheet_view_column_pack_end (PsppSheetVie GtkCellRenderer *cell, gboolean expand); void pspp_sheet_view_column_clear (PsppSheetViewColumn *tree_column); -#ifndef GTK_DISABLE_DEPRECATED + GList *pspp_sheet_view_column_get_cell_renderers (PsppSheetViewColumn *tree_column); -#endif + void pspp_sheet_view_column_add_attribute (PsppSheetViewColumn *tree_column, GtkCellRenderer *cell_renderer, const gchar *attribute, @@ -185,7 +183,7 @@ void pspp_sheet_view_column_clicked (PsppSheetVie */ void pspp_sheet_view_column_set_title (PsppSheetViewColumn *tree_column, const gchar *title); -G_CONST_RETURN gchar *pspp_sheet_view_column_get_title (PsppSheetViewColumn *tree_column); +const gchar * pspp_sheet_view_column_get_title (PsppSheetViewColumn *tree_column); void pspp_sheet_view_column_set_expand (PsppSheetViewColumn *tree_column, gboolean expand); gboolean pspp_sheet_view_column_get_expand (PsppSheetViewColumn *tree_column); @@ -262,8 +260,6 @@ void pspp_sheet_view_column_size_request (PsppSheetView void pspp_sheet_view_column_size_allocate (PsppSheetViewColumn *tree_column, GtkAllocation *allocation); gboolean pspp_sheet_view_column_can_focus (PsppSheetViewColumn *tree_column); -void pspp_sheet_view_column_set_need_button (PsppSheetViewColumn *tree_column, - gboolean need_button); G_END_DECLS