Mark as const.

2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.h (gtk_requisition_get_type):
	* gtk/gtktypeutils.h (gtk_identifier_get_type):
	* gtk/gtktexttag.h (gtk_text_attributes_get_type):
	* gtk/gtkstyle.h (gtk_border_get_type):
	* gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type):
	* gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type):
	* gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type):
	* gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type):
	* gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const.

	* gtk/gtk.symbols:
	* gtk/Makefile.am: Mark get_type() functions
	generated by glib-mkenums as const.
This commit is contained in:
Matthias Clasen 2004-11-28 07:02:27 +00:00 committed by Matthias Clasen
parent fdec871410
commit c50066b452
15 changed files with 159 additions and 103 deletions

View File

@ -1,5 +1,19 @@
2004-11-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.h (gtk_requisition_get_type):
* gtk/gtktypeutils.h (gtk_identifier_get_type):
* gtk/gtktexttag.h (gtk_text_attributes_get_type):
* gtk/gtkstyle.h (gtk_border_get_type):
* gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type):
* gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type):
* gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type):
* gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type):
* gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const.
* gtk/gtk.symbols:
* gtk/Makefile.am: Mark get_type() functions
generated by glib-mkenums as const.
* gdk/gdkvisual.h (gdk_visual_get_type):
* gdk/gdkscreen.h (gdk_screen_get_type):
* gdk/gdkinput.h (gdk_device_get_type):

View File

@ -1,5 +1,19 @@
2004-11-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.h (gtk_requisition_get_type):
* gtk/gtktypeutils.h (gtk_identifier_get_type):
* gtk/gtktexttag.h (gtk_text_attributes_get_type):
* gtk/gtkstyle.h (gtk_border_get_type):
* gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type):
* gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type):
* gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type):
* gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type):
* gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const.
* gtk/gtk.symbols:
* gtk/Makefile.am: Mark get_type() functions
generated by glib-mkenums as const.
* gdk/gdkvisual.h (gdk_visual_get_type):
* gdk/gdkscreen.h (gdk_screen_get_type):
* gdk/gdkinput.h (gdk_device_get_type):

View File

@ -1,5 +1,19 @@
2004-11-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.h (gtk_requisition_get_type):
* gtk/gtktypeutils.h (gtk_identifier_get_type):
* gtk/gtktexttag.h (gtk_text_attributes_get_type):
* gtk/gtkstyle.h (gtk_border_get_type):
* gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type):
* gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type):
* gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type):
* gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type):
* gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const.
* gtk/gtk.symbols:
* gtk/Makefile.am: Mark get_type() functions
generated by glib-mkenums as const.
* gdk/gdkvisual.h (gdk_visual_get_type):
* gdk/gdkscreen.h (gdk_screen_get_type):
* gdk/gdkinput.h (gdk_device_get_type):

View File

@ -1,5 +1,19 @@
2004-11-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.h (gtk_requisition_get_type):
* gtk/gtktypeutils.h (gtk_identifier_get_type):
* gtk/gtktexttag.h (gtk_text_attributes_get_type):
* gtk/gtkstyle.h (gtk_border_get_type):
* gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type):
* gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type):
* gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type):
* gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type):
* gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const.
* gtk/gtk.symbols:
* gtk/Makefile.am: Mark get_type() functions
generated by glib-mkenums as const.
* gdk/gdkvisual.h (gdk_visual_get_type):
* gdk/gdkscreen.h (gdk_screen_get_type):
* gdk/gdkinput.h (gdk_device_get_type):

View File

@ -622,7 +622,7 @@ stamp-gtktypebuiltins.h: @REBUILD@ $(gtk_public_h_sources) Makefile
( cd $(srcdir) && glib-mkenums \
--fhead "#ifndef __GTK_TYPE_BUILTINS_H__\n#define __GTK_TYPE_BUILTINS_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void);\n#define GTK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
--vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define GTK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
--ftail "G_END_DECLS\n\n#endif /* __GTK_TYPE_BUILTINS_H__ */" \
$(gtk_public_h_sources) ) >> xgen-gtbh \
&& (cmp -s xgen-gtbh gtktypebuiltins.h || cp xgen-gtbh gtktypebuiltins.h ) \

View File

@ -43,7 +43,7 @@ gtk_accelerator_name
gtk_accelerator_parse
gtk_accelerator_set_default_mod_mask
gtk_accelerator_valid G_GNUC_CONST
gtk_accel_flags_get_type
gtk_accel_flags_get_type G_GNUC_CONST
gtk_accel_group_activate
gtk_accel_group_connect
gtk_accel_group_connect_by_path
@ -139,16 +139,16 @@ gtk_alignment_new
gtk_alignment_set
gtk_alignment_set_padding
gtk_alternative_dialog_button_order
gtk_anchor_type_get_type
gtk_arg_flags_get_type
gtk_anchor_type_get_type G_GNUC_CONST
gtk_arg_flags_get_type G_GNUC_CONST
gtk_arrow_get_type G_GNUC_CONST
gtk_arrow_new
gtk_arrow_set
gtk_arrow_type_get_type
gtk_arrow_type_get_type G_GNUC_CONST
gtk_aspect_frame_get_type G_GNUC_CONST
gtk_aspect_frame_new
gtk_aspect_frame_set
gtk_attach_options_get_type
gtk_attach_options_get_type G_GNUC_CONST
#ifdef INCLUDE_VARIABLES
gtk_binary_age
#endif
@ -168,7 +168,7 @@ gtk_bin_get_child
gtk_bin_get_type G_GNUC_CONST
gtk_border_copy
gtk_border_free
gtk_border_get_type
gtk_border_get_type G_GNUC_CONST
gtk_box_get_homogeneous
gtk_box_get_spacing
gtk_box_get_type G_GNUC_CONST
@ -181,7 +181,7 @@ gtk_box_reorder_child
gtk_box_set_child_packing
gtk_box_set_homogeneous
gtk_box_set_spacing
gtk_button_action_get_type
gtk_button_action_get_type G_GNUC_CONST
gtk_button_box_get_child_ipadding
gtk_button_box_get_child_secondary
gtk_button_box_get_child_size
@ -191,7 +191,7 @@ gtk_button_box_set_child_ipadding
gtk_button_box_set_child_secondary
gtk_button_box_set_child_size
gtk_button_box_set_layout
gtk_button_box_style_get_type
gtk_button_box_style_get_type G_GNUC_CONST
gtk_button_clicked
gtk_button_enter
gtk_button_get_alignment
@ -216,10 +216,10 @@ gtk_button_set_label
gtk_button_set_relief
gtk_button_set_use_stock
gtk_button_set_use_underline
gtk_buttons_type_get_type
gtk_buttons_type_get_type G_GNUC_CONST
gtk_calendar_clear_marks
gtk_calendar_display_options
gtk_calendar_display_options_get_type
gtk_calendar_display_options_get_type G_GNUC_CONST
gtk_calendar_freeze
gtk_calendar_get_date
gtk_calendar_get_display_options
@ -251,7 +251,7 @@ gtk_cell_renderer_editing_canceled
gtk_cell_renderer_get_fixed_size
gtk_cell_renderer_get_size
gtk_cell_renderer_get_type G_GNUC_CONST
gtk_cell_renderer_mode_get_type
gtk_cell_renderer_mode_get_type G_GNUC_CONST
gtk_cell_renderer_pixbuf_get_type G_GNUC_CONST
gtk_cell_renderer_pixbuf_new
gtk_cell_renderer_progress_get_type G_GNUC_CONST
@ -259,7 +259,7 @@ gtk_cell_renderer_progress_new
gtk_cell_renderer_render
gtk_cell_renderer_set_fixed_size
gtk_cell_renderer_start_editing
gtk_cell_renderer_state_get_type
gtk_cell_renderer_state_get_type G_GNUC_CONST
gtk_cell_renderer_text_get_type G_GNUC_CONST
gtk_cell_renderer_text_new
gtk_cell_renderer_text_set_fixed_height_from_font
@ -269,7 +269,7 @@ gtk_cell_renderer_toggle_get_type G_GNUC_CONST
gtk_cell_renderer_toggle_new
gtk_cell_renderer_toggle_set_active
gtk_cell_renderer_toggle_set_radio
gtk_cell_type_get_type
gtk_cell_type_get_type G_GNUC_CONST
gtk_cell_view_get_cell_renderers
gtk_cell_view_get_displayed_row
gtk_cell_view_get_size_of_row
@ -333,7 +333,7 @@ gtk_clist_column_titles_active
gtk_clist_column_titles_hide
gtk_clist_column_titles_passive
gtk_clist_column_titles_show
gtk_clist_drag_pos_get_type
gtk_clist_drag_pos_get_type G_GNUC_CONST
gtk_clist_find_row_from_data
gtk_clist_freeze
gtk_clist_get_cell_style
@ -516,15 +516,15 @@ gtk_container_set_focus_vadjustment
gtk_container_set_reallocate_redraws
gtk_container_set_resize_mode
gtk_container_unset_focus_chain
gtk_corner_type_get_type
gtk_corner_type_get_type G_GNUC_CONST
gtk_ctree_collapse
gtk_ctree_collapse_recursive
gtk_ctree_collapse_to_depth
gtk_ctree_expand
gtk_ctree_expander_style_get_type
gtk_ctree_expander_style_get_type G_GNUC_CONST
gtk_ctree_expand_recursive
gtk_ctree_expand_to_depth
gtk_ctree_expansion_type_get_type
gtk_ctree_expansion_type_get_type G_GNUC_CONST
gtk_ctree_export_to_gnode
gtk_ctree_find
gtk_ctree_find_all_by_row_data
@ -540,7 +540,7 @@ gtk_ctree_is_ancestor
gtk_ctree_is_hot_spot
gtk_ctree_is_viewable
gtk_ctree_last
gtk_ctree_line_style_get_type
gtk_ctree_line_style_get_type G_GNUC_CONST
gtk_ctree_move
gtk_ctree_new
gtk_ctree_new_with_titles
@ -567,7 +567,7 @@ gtk_ctree_node_set_row_style
gtk_ctree_node_set_selectable
gtk_ctree_node_set_shift
gtk_ctree_node_set_text
gtk_ctree_pos_get_type
gtk_ctree_pos_get_type G_GNUC_CONST
gtk_ctree_post_recursive
gtk_ctree_post_recursive_to_depth
gtk_ctree_pre_recursive
@ -597,8 +597,8 @@ gtk_curve_set_curve_type
gtk_curve_set_gamma
gtk_curve_set_range
gtk_curve_set_vector
gtk_curve_type_get_type
gtk_debug_flag_get_type
gtk_curve_type_get_type G_GNUC_CONST
gtk_debug_flag_get_type G_GNUC_CONST
#ifdef INCLUDE_VARIABLES
gtk_debug_flags
#endif
@ -606,12 +606,12 @@ gtk_decorated_window_calculate_frame_size
gtk_decorated_window_init
gtk_decorated_window_move_resize_window
gtk_decorated_window_set_title
gtk_delete_type_get_type
gtk_dest_defaults_get_type
gtk_delete_type_get_type G_GNUC_CONST
gtk_dest_defaults_get_type G_GNUC_CONST
gtk_dialog_add_action_widget
gtk_dialog_add_button
gtk_dialog_add_buttons
gtk_dialog_flags_get_type
gtk_dialog_flags_get_type G_GNUC_CONST
gtk_dialog_get_has_separator
gtk_dialog_get_type G_GNUC_CONST
gtk_dialog_new
@ -623,7 +623,7 @@ gtk_dialog_set_alternative_button_order_from_array
gtk_dialog_set_default_response
gtk_dialog_set_has_separator
gtk_dialog_set_response_sensitive
gtk_direction_type_get_type
gtk_direction_type_get_type G_GNUC_CONST
gtk_disable_setlocale
gtk_drag_begin
gtk_drag_check_threshold
@ -768,9 +768,9 @@ gtk_expander_set_label_widget
gtk_expander_set_spacing
gtk_expander_set_use_markup
gtk_expander_set_use_underline
gtk_expander_style_get_type
gtk_expander_style_get_type G_GNUC_CONST
gtk_false G_GNUC_CONST
gtk_file_chooser_action_get_type
gtk_file_chooser_action_get_type G_GNUC_CONST
gtk_file_chooser_add_filter
gtk_file_chooser_add_shortcut_folder
gtk_file_chooser_add_shortcut_folder_uri
@ -841,7 +841,7 @@ gtk_file_filter_add_mime_type
gtk_file_filter_add_pattern
gtk_file_filter_add_pixbuf_formats
gtk_file_filter_filter
gtk_file_filter_flags_get_type
gtk_file_filter_flags_get_type G_GNUC_CONST
gtk_file_filter_get_name
gtk_file_filter_get_needed
gtk_file_filter_get_type G_GNUC_CONST
@ -1022,10 +1022,10 @@ gtk_icon_info_get_builtin_pixbuf
gtk_icon_info_get_display_name
gtk_icon_info_get_embedded_rect
gtk_icon_info_get_filename
gtk_icon_info_get_type
gtk_icon_info_get_type G_GNUC_CONST
gtk_icon_info_load_icon
gtk_icon_info_set_raw_coordinates
gtk_icon_lookup_flags_get_type
gtk_icon_lookup_flags_get_type G_GNUC_CONST
gtk_icon_set_add_source
gtk_icon_set_copy
gtk_icon_set_get_sizes
@ -1037,7 +1037,7 @@ gtk_icon_set_render_icon
gtk_icon_set_unref
gtk_icon_size_from_name
gtk_icon_size_get_name
gtk_icon_size_get_type
gtk_icon_size_get_type G_GNUC_CONST
gtk_icon_size_lookup
gtk_icon_size_lookup_for_settings
gtk_icon_size_register
@ -1092,7 +1092,7 @@ gtk_icon_view_get_pixbuf_column
gtk_icon_view_get_selected_items
gtk_icon_view_get_selection_mode
gtk_icon_view_get_text_column
gtk_icon_view_get_type
gtk_icon_view_get_type G_GNUC_CONST
gtk_icon_view_item_activated
gtk_icon_view_new
gtk_icon_view_new_with_model
@ -1108,7 +1108,7 @@ gtk_icon_view_set_selection_mode
gtk_icon_view_set_text_column
gtk_icon_view_unselect_all
gtk_icon_view_unselect_path
gtk_identifier_get_type
gtk_identifier_get_type G_GNUC_CONST
gtk_idle_add
gtk_idle_add_full
gtk_idle_add_priority
@ -1151,7 +1151,7 @@ gtk_image_set_from_pixbuf
gtk_image_set_from_pixmap
gtk_image_set_from_stock
gtk_image_set_pixel_size
gtk_image_type_get_type
gtk_image_type_get_type G_GNUC_CONST
gtk_im_context_delete_surrounding
gtk_im_context_filter_keypress
gtk_im_context_focus_in
@ -1170,8 +1170,8 @@ gtk_im_context_simple_new
gtk_im_multicontext_append_menuitems
gtk_im_multicontext_get_type G_GNUC_CONST
gtk_im_multicontext_new
gtk_im_preedit_style_get_type
gtk_im_status_style_get_type
gtk_im_preedit_style_get_type G_GNUC_CONST
gtk_im_status_style_get_type G_GNUC_CONST
gtk_init
#ifdef G_OS_WIN32
gtk_init_abi_check
@ -1222,7 +1222,7 @@ gtk_item_factory_set_translate_func
gtk_item_get_type G_GNUC_CONST
gtk_item_select
gtk_item_toggle
gtk_justification_get_type
gtk_justification_get_type G_GNUC_CONST
gtk_key_snooper_install
gtk_key_snooper_remove
gtk_label_get
@ -1362,13 +1362,13 @@ gtk_marshal_VOID__STRING_INT_POINTER
gtk_marshal_VOID__UINT_POINTER_UINT_ENUM_ENUM_POINTER
gtk_marshal_VOID__UINT_POINTER_UINT_UINT_ENUM
gtk_marshal_VOID__UINT_STRING
gtk_match_type_get_type
gtk_match_type_get_type G_GNUC_CONST
gtk_menu_attach
gtk_menu_attach_to_widget
gtk_menu_bar_get_type G_GNUC_CONST
gtk_menu_bar_new
gtk_menu_detach
gtk_menu_direction_type_get_type
gtk_menu_direction_type_get_type G_GNUC_CONST
gtk_menu_get_accel_group
gtk_menu_get_active
gtk_menu_get_attach_widget
@ -1425,8 +1425,8 @@ gtk_message_dialog_get_type G_GNUC_CONST
gtk_message_dialog_new G_GNUC_PRINTF(5,6)
gtk_message_dialog_new_with_markup G_GNUC_PRINTF(5,6)
gtk_message_dialog_set_markup
gtk_message_type_get_type
gtk_metric_type_get_type
gtk_message_type_get_type G_GNUC_CONST
gtk_metric_type_get_type G_GNUC_CONST
#ifdef INCLUDE_VARIABLES
gtk_micro_version
gtk_minor_version
@ -1436,7 +1436,7 @@ gtk_misc_get_padding
gtk_misc_get_type G_GNUC_CONST
gtk_misc_set_alignment
gtk_misc_set_padding
gtk_movement_step_get_type
gtk_movement_step_get_type G_GNUC_CONST
gtk_notebook_append_page
gtk_notebook_append_page_menu
gtk_notebook_get_current_page
@ -1478,10 +1478,10 @@ gtk_notebook_set_tab_label_packing
gtk_notebook_set_tab_label_text
gtk_notebook_set_tab_pos
gtk_notebook_set_tab_vborder
gtk_notebook_tab_get_type
gtk_notebook_tab_get_type G_GNUC_CONST
gtk_object_add_arg_type
gtk_object_destroy
gtk_object_flags_get_type
gtk_object_flags_get_type G_GNUC_CONST
gtk_object_get
gtk_object_get_data
gtk_object_get_data_by_id
@ -1514,7 +1514,7 @@ gtk_option_menu_remove_menu
gtk_option_menu_set_history
gtk_option_menu_set_menu
gtk_orientation_get_type
gtk_pack_type_get_type
gtk_pack_type_get_type G_GNUC_CONST
gtk_paint_arrow
gtk_paint_box
gtk_paint_box_gap
@ -1548,8 +1548,8 @@ gtk_paned_pack2
gtk_paned_set_position
gtk_parse_args
gtk_path_bar_get_type G_GNUC_CONST
gtk_path_priority_type_get_type
gtk_path_type_get_type
gtk_path_priority_type_get_type G_GNUC_CONST
gtk_path_type_get_type G_GNUC_CONST
gtk_pixmap_get
gtk_pixmap_get_type G_GNUC_CONST
gtk_pixmap_new
@ -1563,8 +1563,8 @@ gtk_plug_get_type G_GNUC_CONST
gtk_plug_new
gtk_plug_new_for_display
#endif
gtk_policy_type_get_type
gtk_position_type_get_type
gtk_policy_type_get_type G_GNUC_CONST
gtk_position_type_get_type G_GNUC_CONST
gtk_preview_draw_row
gtk_preview_get_cmap
gtk_preview_get_info
@ -1580,9 +1580,9 @@ gtk_preview_set_gamma
gtk_preview_set_install_cmap
gtk_preview_set_reserved
gtk_preview_size
gtk_preview_type_get_type
gtk_preview_type_get_type G_GNUC_CONST
gtk_preview_uninit
gtk_private_flags_get_type
gtk_private_flags_get_type G_GNUC_CONST
gtk_progress_bar_get_fraction
gtk_progress_bar_get_orientation
gtk_progress_bar_get_pulse_step
@ -1591,7 +1591,7 @@ gtk_progress_bar_get_ellipsize
gtk_progress_bar_get_type G_GNUC_CONST
gtk_progress_bar_new
gtk_progress_bar_new_with_adjustment
gtk_progress_bar_orientation_get_type
gtk_progress_bar_orientation_get_type G_GNUC_CONST
gtk_progress_bar_pulse
gtk_progress_bar_set_activity_blocks
gtk_progress_bar_set_activity_step
@ -1602,7 +1602,7 @@ gtk_progress_bar_set_orientation
gtk_progress_bar_set_pulse_step
gtk_progress_bar_set_text
gtk_progress_bar_set_ellipsize
gtk_progress_bar_style_get_type
gtk_progress_bar_style_get_type G_GNUC_CONST
gtk_progress_bar_update
gtk_progress_configure
gtk_progress_get_current_percentage
@ -1671,7 +1671,7 @@ gtk_rc_add_widget_class_style
gtk_rc_add_widget_name_style
gtk_rc_find_module_in_path
gtk_rc_find_pixmap_in_path
gtk_rc_flags_get_type
gtk_rc_flags_get_type G_GNUC_CONST
gtk_rc_get_default_files
gtk_rc_get_im_module_file
gtk_rc_get_im_module_path
@ -1699,13 +1699,13 @@ gtk_rc_style_get_type G_GNUC_CONST
gtk_rc_style_new
gtk_rc_style_ref
gtk_rc_style_unref
gtk_rc_token_type_get_type
gtk_relief_style_get_type
gtk_rc_token_type_get_type G_GNUC_CONST
gtk_relief_style_get_type G_GNUC_CONST
gtk_requisition_copy
gtk_requisition_free
gtk_requisition_get_type
gtk_resize_mode_get_type
gtk_response_type_get_type
gtk_requisition_get_type G_GNUC_CONST
gtk_resize_mode_get_type G_GNUC_CONST
gtk_response_type_get_type G_GNUC_CONST
gtk_rgb_to_hsv
gtk_ruler_draw_pos
gtk_ruler_draw_ticks
@ -1737,8 +1737,8 @@ gtk_scrolled_window_set_placement
gtk_scrolled_window_set_policy
gtk_scrolled_window_set_shadow_type
gtk_scrolled_window_set_vadjustment
gtk_scroll_step_get_type
gtk_scroll_type_get_type
gtk_scroll_step_get_type G_GNUC_CONST
gtk_scroll_type_get_type G_GNUC_CONST
gtk_selection_add_target
gtk_selection_add_targets
gtk_selection_clear
@ -1757,7 +1757,7 @@ gtk_selection_data_set_text
gtk_selection_data_set_uris
gtk_selection_data_targets_include_image
gtk_selection_data_targets_include_text
gtk_selection_mode_get_type
gtk_selection_mode_get_type G_GNUC_CONST
gtk_selection_owner_set
gtk_selection_owner_set_for_display
gtk_selection_remove_all
@ -1778,9 +1778,9 @@ gtk_settings_set_double_property
gtk_settings_set_long_property
gtk_settings_set_property_value
gtk_settings_set_string_property
gtk_shadow_type_get_type
gtk_shadow_type_get_type G_GNUC_CONST
gtk_show_about_dialog
gtk_side_type_get_type
gtk_side_type_get_type G_GNUC_CONST
gtk_signal_compat_matched
gtk_signal_connect_full
gtk_signal_connect_object_while_alive
@ -1792,11 +1792,11 @@ gtk_signal_emitv
gtk_signal_emitv_by_name
gtk_signal_new
gtk_signal_newv
gtk_signal_run_type_get_type
gtk_signal_run_type_get_type G_GNUC_CONST
gtk_size_group_add_widget
gtk_size_group_get_mode
gtk_size_group_get_type G_GNUC_CONST
gtk_size_group_mode_get_type
gtk_size_group_mode_get_type G_GNUC_CONST
gtk_size_group_new
gtk_size_group_remove_widget
gtk_size_group_set_mode
@ -1807,7 +1807,7 @@ gtk_socket_get_type G_GNUC_CONST
gtk_socket_new
gtk_socket_steal
#endif
gtk_sort_type_get_type
gtk_sort_type_get_type G_GNUC_CONST
gtk_spin_button_configure
gtk_spin_button_get_adjustment
gtk_spin_button_get_digits
@ -1833,9 +1833,9 @@ gtk_spin_button_set_value
gtk_spin_button_set_wrap
gtk_spin_button_spin
gtk_spin_button_update
gtk_spin_button_update_policy_get_type
gtk_spin_type_get_type
gtk_state_type_get_type
gtk_spin_button_update_policy_get_type G_GNUC_CONST
gtk_spin_type_get_type G_GNUC_CONST
gtk_state_type_get_type G_GNUC_CONST
gtk_statusbar_get_context_id
gtk_statusbar_get_has_resize_grip
gtk_statusbar_get_type G_GNUC_CONST
@ -1863,8 +1863,8 @@ gtk_style_render_icon
gtk_style_set_background
gtk_style_set_font
gtk_style_unref
gtk_submenu_direction_get_type
gtk_submenu_placement_get_type
gtk_submenu_direction_get_type G_GNUC_CONST
gtk_submenu_placement_get_type G_GNUC_CONST
gtk_table_attach
gtk_table_attach_defaults
gtk_table_get_col_spacing
@ -1880,7 +1880,7 @@ gtk_table_set_col_spacings
gtk_table_set_homogeneous
gtk_table_set_row_spacing
gtk_table_set_row_spacings
gtk_target_flags_get_type
gtk_target_flags_get_type G_GNUC_CONST
gtk_target_list_add
gtk_target_list_add_image_targets
gtk_target_list_add_table
@ -1899,7 +1899,7 @@ gtk_text_attr_appearance_type
#endif
gtk_text_attributes_copy
gtk_text_attributes_copy_values
gtk_text_attributes_get_type
gtk_text_attributes_get_type G_GNUC_CONST
gtk_text_attributes_new
gtk_text_attributes_ref
gtk_text_attributes_unref
@ -1976,7 +1976,7 @@ gtk_text_child_anchor_unregister_child
#ifdef INCLUDE_VARIABLES
gtk_text_child_type
#endif
gtk_text_direction_get_type
gtk_text_direction_get_type G_GNUC_CONST
gtk_text_forward_delete
gtk_text_freeze
gtk_text_get_length
@ -2127,7 +2127,7 @@ gtk_text_new
gtk_text_pixbuf_type
gtk_text_right_mark_type
#endif
gtk_text_search_flags_get_type
gtk_text_search_flags_get_type G_GNUC_CONST
gtk_text_set_adjustments
gtk_text_set_editable
gtk_text_set_line_wrap
@ -2208,7 +2208,7 @@ gtk_text_view_set_tabs
gtk_text_view_set_wrap_mode
gtk_text_view_starts_display_line
gtk_text_view_window_to_buffer_coords
gtk_text_window_type_get_type
gtk_text_window_type_get_type G_GNUC_CONST
gtk_theme_engine_create_rc_style
gtk_theme_engine_get
gtk_theme_engine_get_type G_GNUC_CONST
@ -2248,7 +2248,7 @@ gtk_toolbar_append_element
gtk_toolbar_append_item
gtk_toolbar_append_space
gtk_toolbar_append_widget
gtk_toolbar_child_type_get_type
gtk_toolbar_child_type_get_type G_GNUC_CONST
gtk_toolbar_get_drop_index
gtk_toolbar_get_icon_size
gtk_toolbar_get_item_index
@ -2278,15 +2278,15 @@ gtk_toolbar_set_orientation
gtk_toolbar_set_show_arrow
gtk_toolbar_set_style
gtk_toolbar_set_tooltips
gtk_toolbar_space_style_get_type
gtk_toolbar_style_get_type
gtk_toolbar_space_style_get_type G_GNUC_CONST
gtk_toolbar_style_get_type G_GNUC_CONST
gtk_toolbar_unset_icon_size
gtk_toolbar_unset_style
gtk_tool_button_get_icon_widget
gtk_tool_button_get_label
gtk_tool_button_get_label_widget
gtk_tool_button_get_stock_id
gtk_tool_button_get_type
gtk_tool_button_get_type G_GNUC_CONST
gtk_tool_button_get_use_underline
gtk_tool_button_new
gtk_tool_button_new_from_stock
@ -2364,7 +2364,7 @@ gtk_tree_model_filter_refilter
gtk_tree_model_filter_set_modify_func
gtk_tree_model_filter_set_visible_column
gtk_tree_model_filter_set_visible_func
gtk_tree_model_flags_get_type
gtk_tree_model_flags_get_type G_GNUC_CONST
gtk_tree_model_foreach
gtk_tree_model_get
gtk_tree_model_get_column_type
@ -2544,9 +2544,9 @@ gtk_tree_view_column_set_spacing
gtk_tree_view_column_set_title
gtk_tree_view_column_set_visible
gtk_tree_view_column_set_widget
gtk_tree_view_column_sizing_get_type
gtk_tree_view_column_sizing_get_type G_GNUC_CONST
gtk_tree_view_create_row_drag_icon
gtk_tree_view_drop_position_get_type
gtk_tree_view_drop_position_get_type G_GNUC_CONST
gtk_tree_view_enable_model_drag_dest
gtk_tree_view_enable_model_drag_source
gtk_tree_view_expand_all
@ -2582,7 +2582,7 @@ gtk_tree_view_insert_column
gtk_tree_view_insert_column_with_attributes
gtk_tree_view_insert_column_with_data_func
gtk_tree_view_map_expanded_rows
gtk_tree_view_mode_get_type
gtk_tree_view_mode_get_type G_GNUC_CONST
gtk_tree_view_move_column_after
gtk_tree_view_new
gtk_tree_view_new_with_model
@ -2637,13 +2637,13 @@ gtk_ui_manager_get_type G_GNUC_CONST
gtk_ui_manager_get_ui
gtk_ui_manager_get_widget
gtk_ui_manager_insert_action_group
gtk_ui_manager_item_type_get_type
gtk_ui_manager_item_type_get_type G_GNUC_CONST
gtk_ui_manager_new
gtk_ui_manager_new_merge_id
gtk_ui_manager_remove_action_group
gtk_ui_manager_remove_ui
gtk_ui_manager_set_add_tearoffs
gtk_update_type_get_type
gtk_update_type_get_type G_GNUC_CONST
gtk_vbox_get_type G_GNUC_CONST
gtk_vbox_new
gtk_vbutton_box_get_layout_default
@ -2660,7 +2660,7 @@ gtk_viewport_new
gtk_viewport_set_hadjustment
gtk_viewport_set_shadow_type
gtk_viewport_set_vadjustment
gtk_visibility_get_type
gtk_visibility_get_type G_GNUC_CONST
gtk_vpaned_get_type G_GNUC_CONST
gtk_vpaned_new
gtk_vruler_get_type G_GNUC_CONST
@ -2691,7 +2691,7 @@ gtk_widget_destroyed
gtk_widget_draw
gtk_widget_ensure_style
gtk_widget_event
gtk_widget_flags_get_type
gtk_widget_flags_get_type G_GNUC_CONST
gtk_widget_freeze_child_notify
gtk_widget_get_accessible
gtk_widget_get_ancestor
@ -2726,7 +2726,7 @@ gtk_widget_get_visual
gtk_widget_grab_default
gtk_widget_grab_focus
gtk_widget_has_screen
gtk_widget_help_type_get_type
gtk_widget_help_type_get_type G_GNUC_CONST
gtk_widget_hide
gtk_widget_hide_all
gtk_widget_hide_on_delete
@ -2853,7 +2853,7 @@ gtk_window_mnemonic_activate
gtk_window_move
gtk_window_new
gtk_window_parse_geometry
gtk_window_position_get_type
gtk_window_position_get_type G_GNUC_CONST
gtk_window_present
gtk_window_propagate_key_event
gtk_window_remove_accel_group
@ -2897,8 +2897,8 @@ gtk_window_set_transient_for
gtk_window_set_type_hint
gtk_window_set_wmclass
gtk_window_stick
gtk_window_type_get_type
gtk_window_type_get_type G_GNUC_CONST
gtk_window_unfullscreen
gtk_window_unmaximize
gtk_window_unstick
gtk_wrap_mode_get_type
gtk_wrap_mode_get_type G_GNUC_CONST

View File

@ -70,7 +70,7 @@ void gtk_accel_map_foreach_unfiltered (gpointer data,
GtkAccelMapForeach foreach_func);
/* --- notification --- */
GType gtk_accel_map_get_type (void);
GType gtk_accel_map_get_type (void) G_GNUC_CONST;
GtkAccelMap *gtk_accel_map_get (void);

View File

@ -32,7 +32,7 @@ G_BEGIN_DECLS
typedef struct _GtkFileChooserDefault GtkFileChooserDefault;
GType _gtk_file_chooser_default_get_type (void);
GType _gtk_file_chooser_default_get_type (void) G_GNUC_CONST;
GtkWidget *_gtk_file_chooser_default_new (const char *file_system);
G_END_DECLS

View File

@ -55,7 +55,7 @@ struct _GtkFileChooserEmbedIface
void (*default_size_changed) (GtkFileChooserEmbed *chooser_embed);
};
GType _gtk_file_chooser_embed_get_type (void);
GType _gtk_file_chooser_embed_get_type (void) G_GNUC_CONST;
void _gtk_file_chooser_embed_get_default_size (GtkFileChooserEmbed *chooser_embed,
gint *default_width,

View File

@ -33,7 +33,7 @@ G_BEGIN_DECLS
typedef struct _GtkFileChooserEntry GtkFileChooserEntry;
GType _gtk_file_chooser_entry_get_type (void);
GType _gtk_file_chooser_entry_get_type (void) G_GNUC_CONST;
GtkWidget * _gtk_file_chooser_entry_new (gboolean eat_tab);
void _gtk_file_chooser_entry_set_action (GtkFileChooserEntry *chooser_entry,
GtkFileChooserAction action);

View File

@ -33,7 +33,7 @@ G_BEGIN_DECLS
typedef struct _GtkFileSystemModel GtkFileSystemModel;
GType _gtk_file_system_model_get_type (void);
GType _gtk_file_system_model_get_type (void) G_GNUC_CONST;
typedef enum {
GTK_FILE_SYSTEM_MODEL_INFO,

View File

@ -852,7 +852,7 @@ void gtk_paint_resize_grip (GtkStyle *style,
gint height);
GType gtk_border_get_type (void);
GType gtk_border_get_type (void) G_GNUC_CONST;
GtkBorder *gtk_border_copy (const GtkBorder *border_);
void gtk_border_free ( GtkBorder *border_);

View File

@ -228,7 +228,7 @@ void gtk_text_attributes_copy_values (GtkTextAttributes *src,
void gtk_text_attributes_unref (GtkTextAttributes *values);
void gtk_text_attributes_ref (GtkTextAttributes *values);
GType gtk_text_attributes_get_type (void);
GType gtk_text_attributes_get_type (void) G_GNUC_CONST;
#ifdef __cplusplus

View File

@ -107,7 +107,7 @@ G_BEGIN_DECLS
/* urg */
#define GTK_TYPE_IDENTIFIER (gtk_identifier_get_type ())
GType gtk_identifier_get_type (void);
GType gtk_identifier_get_type (void) G_GNUC_CONST;
/* --- typedefs --- */
/* here we come with some necessary forward declarations for structures and

View File

@ -766,7 +766,7 @@ void gtk_widget_add_mnemonic_label (GtkWidget *widget,
void gtk_widget_remove_mnemonic_label (GtkWidget *widget,
GtkWidget *label);
GType gtk_requisition_get_type (void);
GType gtk_requisition_get_type (void) G_GNUC_CONST;
GtkRequisition *gtk_requisition_copy (const GtkRequisition *requisition);
void gtk_requisition_free (GtkRequisition *requisition);