Fix abi check after recent merges
This commit is contained in:
parent
4701aeb3bc
commit
d5df33c75f
181
gtk/gtk.symbols
181
gtk/gtk.symbols
@ -265,6 +265,7 @@ gtk_border_copy
|
|||||||
gtk_border_free
|
gtk_border_free
|
||||||
gtk_border_get_type G_GNUC_CONST
|
gtk_border_get_type G_GNUC_CONST
|
||||||
gtk_border_new G_GNUC_MALLOC
|
gtk_border_new G_GNUC_MALLOC
|
||||||
|
gtk_border_style_get_type G_GNUC_CONST
|
||||||
gtk_box_get_homogeneous
|
gtk_box_get_homogeneous
|
||||||
gtk_box_get_spacing
|
gtk_box_get_spacing
|
||||||
gtk_box_get_type G_GNUC_CONST
|
gtk_box_get_type G_GNUC_CONST
|
||||||
@ -592,6 +593,7 @@ gtk_container_get_focus_chain
|
|||||||
gtk_container_get_focus_child
|
gtk_container_get_focus_child
|
||||||
gtk_container_get_focus_hadjustment
|
gtk_container_get_focus_hadjustment
|
||||||
gtk_container_get_focus_vadjustment
|
gtk_container_get_focus_vadjustment
|
||||||
|
gtk_container_get_path_for_child
|
||||||
gtk_container_get_resize_mode
|
gtk_container_get_resize_mode
|
||||||
gtk_container_get_type G_GNUC_CONST
|
gtk_container_get_type G_GNUC_CONST
|
||||||
gtk_container_propagate_draw
|
gtk_container_propagate_draw
|
||||||
@ -606,6 +608,15 @@ gtk_container_set_reallocate_redraws
|
|||||||
gtk_container_set_resize_mode
|
gtk_container_set_resize_mode
|
||||||
gtk_container_unset_focus_chain
|
gtk_container_unset_focus_chain
|
||||||
gtk_corner_type_get_type G_GNUC_CONST
|
gtk_corner_type_get_type G_GNUC_CONST
|
||||||
|
gtk_css_provider_error_get_type
|
||||||
|
gtk_css_provider_error_quark
|
||||||
|
gtk_css_provider_get_default
|
||||||
|
gtk_css_provider_get_named
|
||||||
|
gtk_css_provider_get_type
|
||||||
|
gtk_css_provider_load_from_data
|
||||||
|
gtk_css_provider_load_from_file
|
||||||
|
gtk_css_provider_load_from_path
|
||||||
|
gtk_css_provider_new
|
||||||
gtk_custom_paper_unix_dialog_get_type G_GNUC_CONST
|
gtk_custom_paper_unix_dialog_get_type G_GNUC_CONST
|
||||||
gtk_debug_flag_get_type G_GNUC_CONST
|
gtk_debug_flag_get_type G_GNUC_CONST
|
||||||
gtk_decorated_window_calculate_frame_size
|
gtk_decorated_window_calculate_frame_size
|
||||||
@ -616,6 +627,13 @@ gtk_delete_type_get_type G_GNUC_CONST
|
|||||||
gtk_dest_defaults_get_type G_GNUC_CONST
|
gtk_dest_defaults_get_type G_GNUC_CONST
|
||||||
gtk_device_grab_add
|
gtk_device_grab_add
|
||||||
gtk_device_grab_remove
|
gtk_device_grab_remove
|
||||||
|
gtk_gradient_add_color_stop
|
||||||
|
gtk_gradient_get_type
|
||||||
|
gtk_gradient_new_linear
|
||||||
|
gtk_gradient_new_radial
|
||||||
|
gtk_gradient_ref
|
||||||
|
gtk_gradient_resolve
|
||||||
|
gtk_gradient_unref
|
||||||
gtk_dialog_add_action_widget
|
gtk_dialog_add_action_widget
|
||||||
gtk_dialog_add_button
|
gtk_dialog_add_button
|
||||||
gtk_dialog_add_buttons G_GNUC_NULL_TERMINATED
|
gtk_dialog_add_buttons G_GNUC_NULL_TERMINATED
|
||||||
@ -1033,6 +1051,7 @@ gtk_icon_info_get_filename
|
|||||||
gtk_icon_info_get_type G_GNUC_CONST
|
gtk_icon_info_get_type G_GNUC_CONST
|
||||||
gtk_icon_info_load_icon
|
gtk_icon_info_load_icon
|
||||||
gtk_icon_info_load_symbolic
|
gtk_icon_info_load_symbolic
|
||||||
|
gtk_icon_info_load_symbolic_for_context
|
||||||
gtk_icon_info_load_symbolic_for_style
|
gtk_icon_info_load_symbolic_for_style
|
||||||
gtk_icon_info_new_for_pixbuf
|
gtk_icon_info_new_for_pixbuf
|
||||||
gtk_icon_info_set_raw_coordinates
|
gtk_icon_info_set_raw_coordinates
|
||||||
@ -1248,6 +1267,7 @@ gtk_invisible_get_type G_GNUC_CONST
|
|||||||
gtk_invisible_new
|
gtk_invisible_new
|
||||||
gtk_invisible_new_for_screen
|
gtk_invisible_new_for_screen
|
||||||
gtk_invisible_set_screen
|
gtk_invisible_set_screen
|
||||||
|
gtk_junction_sides_get_type G_GNUC_CONST
|
||||||
gtk_justification_get_type G_GNUC_CONST
|
gtk_justification_get_type G_GNUC_CONST
|
||||||
gtk_key_snooper_install
|
gtk_key_snooper_install
|
||||||
gtk_key_snooper_remove
|
gtk_key_snooper_remove
|
||||||
@ -1430,6 +1450,13 @@ gtk_misc_get_padding
|
|||||||
gtk_misc_get_type G_GNUC_CONST
|
gtk_misc_get_type G_GNUC_CONST
|
||||||
gtk_misc_set_alignment
|
gtk_misc_set_alignment
|
||||||
gtk_misc_set_padding
|
gtk_misc_set_padding
|
||||||
|
gtk_modifier_style_get_type
|
||||||
|
gtk_modifier_style_map_color
|
||||||
|
gtk_modifier_style_new
|
||||||
|
gtk_modifier_style_set_background_color
|
||||||
|
gtk_modifier_style_set_color
|
||||||
|
gtk_modifier_style_set_color_property
|
||||||
|
gtk_modifier_style_set_font
|
||||||
gtk_mount_operation_get_parent
|
gtk_mount_operation_get_parent
|
||||||
gtk_mount_operation_get_screen
|
gtk_mount_operation_get_screen
|
||||||
gtk_mount_operation_get_type G_GNUC_CONST
|
gtk_mount_operation_get_type G_GNUC_CONST
|
||||||
@ -2057,7 +2084,23 @@ gtk_recent_manager_new
|
|||||||
gtk_recent_manager_purge_items
|
gtk_recent_manager_purge_items
|
||||||
gtk_recent_manager_remove_item
|
gtk_recent_manager_remove_item
|
||||||
gtk_recent_sort_type_get_type G_GNUC_CONST
|
gtk_recent_sort_type_get_type G_GNUC_CONST
|
||||||
|
gtk_region_flags_get_type G_GNUC_CONST
|
||||||
gtk_relief_style_get_type G_GNUC_CONST
|
gtk_relief_style_get_type G_GNUC_CONST
|
||||||
|
gtk_render_activity
|
||||||
|
gtk_render_arrow
|
||||||
|
gtk_render_background
|
||||||
|
gtk_render_check
|
||||||
|
gtk_render_expander
|
||||||
|
gtk_render_extension
|
||||||
|
gtk_render_focus
|
||||||
|
gtk_render_frame
|
||||||
|
gtk_render_frame_gap
|
||||||
|
gtk_render_handle
|
||||||
|
gtk_render_icon_pixbuf
|
||||||
|
gtk_render_layout
|
||||||
|
gtk_render_line
|
||||||
|
gtk_render_option
|
||||||
|
gtk_render_slider
|
||||||
gtk_requisition_copy
|
gtk_requisition_copy
|
||||||
gtk_requisition_free
|
gtk_requisition_free
|
||||||
gtk_requisition_get_type G_GNUC_CONST
|
gtk_requisition_get_type G_GNUC_CONST
|
||||||
@ -2223,6 +2266,7 @@ gtk_spinner_new
|
|||||||
gtk_spinner_start
|
gtk_spinner_start
|
||||||
gtk_spinner_stop
|
gtk_spinner_stop
|
||||||
gtk_spin_type_get_type G_GNUC_CONST
|
gtk_spin_type_get_type G_GNUC_CONST
|
||||||
|
gtk_state_flags_get_type G_GNUC_CONST
|
||||||
gtk_state_type_get_type G_GNUC_CONST
|
gtk_state_type_get_type G_GNUC_CONST
|
||||||
gtk_statusbar_get_context_id
|
gtk_statusbar_get_context_id
|
||||||
gtk_statusbar_get_message_area
|
gtk_statusbar_get_message_area
|
||||||
@ -2280,17 +2324,94 @@ gtk_switch_new
|
|||||||
gtk_switch_set_active
|
gtk_switch_set_active
|
||||||
gtk_style_apply_default_background
|
gtk_style_apply_default_background
|
||||||
gtk_style_attach
|
gtk_style_attach
|
||||||
|
gtk_style_context_add_class
|
||||||
|
gtk_style_context_add_provider
|
||||||
|
gtk_style_context_add_provider_for_screen
|
||||||
|
gtk_style_context_add_region
|
||||||
|
gtk_style_context_get
|
||||||
|
gtk_style_context_get_background_color
|
||||||
|
gtk_style_context_get_border
|
||||||
|
gtk_style_context_get_border_color
|
||||||
|
gtk_style_context_get_color
|
||||||
|
gtk_style_context_get_direction
|
||||||
|
gtk_style_context_get_junction_sides
|
||||||
|
gtk_style_context_get_margin
|
||||||
|
gtk_style_context_get_padding
|
||||||
|
gtk_style_context_get_path
|
||||||
|
gtk_style_context_get_property
|
||||||
|
gtk_style_context_get_screen
|
||||||
|
gtk_style_context_get_state
|
||||||
|
gtk_style_context_get_style
|
||||||
|
gtk_style_context_get_style_property
|
||||||
|
gtk_style_context_get_style_valist
|
||||||
|
gtk_style_context_get_type
|
||||||
|
gtk_style_context_get_valist
|
||||||
|
gtk_style_context_has_class
|
||||||
|
gtk_style_context_has_region
|
||||||
|
gtk_style_context_invalidate
|
||||||
|
gtk_style_context_list_classes
|
||||||
|
gtk_style_context_list_regions
|
||||||
|
gtk_style_context_lookup_color
|
||||||
|
gtk_style_context_lookup_icon_set
|
||||||
|
gtk_style_context_new
|
||||||
|
gtk_style_context_notify_state_change
|
||||||
|
gtk_style_context_pop_animatable_region
|
||||||
|
gtk_style_context_push_animatable_region
|
||||||
|
gtk_style_context_remove_class
|
||||||
|
gtk_style_context_remove_provider
|
||||||
|
gtk_style_context_remove_provider_for_screen
|
||||||
|
gtk_style_context_remove_region
|
||||||
|
gtk_style_context_reset_widgets
|
||||||
|
gtk_style_context_restore
|
||||||
|
gtk_style_context_save
|
||||||
|
gtk_style_context_set_background
|
||||||
|
gtk_style_context_set_direction
|
||||||
|
gtk_style_context_set_junction_sides
|
||||||
|
gtk_style_context_set_path
|
||||||
|
gtk_style_context_set_screen
|
||||||
|
gtk_style_context_set_state
|
||||||
|
gtk_style_context_state_is_running
|
||||||
gtk_style_copy
|
gtk_style_copy
|
||||||
gtk_style_detach
|
gtk_style_detach
|
||||||
gtk_style_get
|
gtk_style_get
|
||||||
gtk_style_get_style_property
|
gtk_style_get_style_property
|
||||||
gtk_style_get_type G_GNUC_CONST
|
gtk_style_get_type G_GNUC_CONST
|
||||||
gtk_style_get_valist
|
gtk_style_get_valist
|
||||||
|
gtk_style_has_context
|
||||||
gtk_style_lookup_color
|
gtk_style_lookup_color
|
||||||
gtk_style_lookup_icon_set
|
gtk_style_lookup_icon_set
|
||||||
gtk_style_new
|
gtk_style_new
|
||||||
|
gtk_style_properties_clear
|
||||||
|
gtk_style_properties_get
|
||||||
|
gtk_style_properties_get_property
|
||||||
|
gtk_style_properties_get_style
|
||||||
|
gtk_style_properties_get_type
|
||||||
|
gtk_style_properties_get_valist
|
||||||
|
gtk_style_properties_lookup_color
|
||||||
|
gtk_style_properties_lookup_property
|
||||||
|
gtk_style_properties_map_color
|
||||||
|
gtk_style_properties_merge
|
||||||
|
gtk_style_properties_new
|
||||||
|
gtk_style_properties_register_property
|
||||||
|
gtk_style_properties_set
|
||||||
|
gtk_style_properties_set_property
|
||||||
|
gtk_style_properties_set_valist
|
||||||
|
gtk_style_properties_unset_property
|
||||||
|
gtk_style_provider_get_icon_factory
|
||||||
|
gtk_style_provider_get_style
|
||||||
|
gtk_style_provider_get_style_property
|
||||||
|
gtk_style_provider_get_type
|
||||||
gtk_style_render_icon
|
gtk_style_render_icon
|
||||||
gtk_style_set_background
|
gtk_style_set_background
|
||||||
|
gtk_symbolic_color_get_type
|
||||||
|
gtk_symbolic_color_new_alpha
|
||||||
|
gtk_symbolic_color_new_literal
|
||||||
|
gtk_symbolic_color_new_mix
|
||||||
|
gtk_symbolic_color_new_name
|
||||||
|
gtk_symbolic_color_new_shade
|
||||||
|
gtk_symbolic_color_ref
|
||||||
|
gtk_symbolic_color_resolve
|
||||||
|
gtk_symbolic_color_unref
|
||||||
gtk_table_attach
|
gtk_table_attach
|
||||||
gtk_table_attach_defaults
|
gtk_table_attach_defaults
|
||||||
gtk_table_get_col_spacing
|
gtk_table_get_col_spacing
|
||||||
@ -2664,6 +2785,31 @@ gtk_text_window_type_get_type G_GNUC_CONST
|
|||||||
gtk_theme_engine_create_rc_style
|
gtk_theme_engine_create_rc_style
|
||||||
gtk_theme_engine_get
|
gtk_theme_engine_get
|
||||||
gtk_theme_engine_get_type G_GNUC_CONST
|
gtk_theme_engine_get_type G_GNUC_CONST
|
||||||
|
gtk_theming_engine_get
|
||||||
|
gtk_theming_engine_get_background_color
|
||||||
|
gtk_theming_engine_get_border
|
||||||
|
gtk_theming_engine_get_border_color
|
||||||
|
gtk_theming_engine_get_color
|
||||||
|
gtk_theming_engine_get_direction
|
||||||
|
gtk_theming_engine_get_junction_sides
|
||||||
|
gtk_theming_engine_get_margin
|
||||||
|
gtk_theming_engine_get_padding
|
||||||
|
gtk_theming_engine_get_path
|
||||||
|
gtk_theming_engine_get_property
|
||||||
|
gtk_theming_engine_get_screen
|
||||||
|
gtk_theming_engine_get_state
|
||||||
|
gtk_theming_engine_get_style
|
||||||
|
gtk_theming_engine_get_style_property
|
||||||
|
gtk_theming_engine_get_style_valist
|
||||||
|
gtk_theming_engine_get_type
|
||||||
|
gtk_theming_engine_get_valist
|
||||||
|
gtk_theming_engine_has_class
|
||||||
|
gtk_theming_engine_has_region
|
||||||
|
gtk_theming_engine_load
|
||||||
|
gtk_theming_engine_lookup_color
|
||||||
|
gtk_theming_engine_register_property
|
||||||
|
gtk_theming_engine_state_is_running
|
||||||
|
gtk_theming_module_get_type
|
||||||
gtk_toggle_action_get_active
|
gtk_toggle_action_get_active
|
||||||
gtk_toggle_action_get_draw_as_radio
|
gtk_toggle_action_get_draw_as_radio
|
||||||
gtk_toggle_action_get_type G_GNUC_CONST
|
gtk_toggle_action_get_type G_GNUC_CONST
|
||||||
@ -3214,6 +3360,7 @@ gtk_widget_get_no_show_all
|
|||||||
gtk_widget_get_pango_context
|
gtk_widget_get_pango_context
|
||||||
gtk_widget_get_parent
|
gtk_widget_get_parent
|
||||||
gtk_widget_get_parent_window
|
gtk_widget_get_parent_window
|
||||||
|
gtk_widget_get_path
|
||||||
gtk_widget_get_pointer
|
gtk_widget_get_pointer
|
||||||
gtk_widget_get_preferred_height
|
gtk_widget_get_preferred_height
|
||||||
gtk_widget_get_preferred_height_for_width
|
gtk_widget_get_preferred_height_for_width
|
||||||
@ -3230,7 +3377,9 @@ gtk_widget_get_sensitive
|
|||||||
gtk_widget_get_settings
|
gtk_widget_get_settings
|
||||||
gtk_widget_get_size_request
|
gtk_widget_get_size_request
|
||||||
gtk_widget_get_state
|
gtk_widget_get_state
|
||||||
|
gtk_widget_get_state_flags
|
||||||
gtk_widget_get_style
|
gtk_widget_get_style
|
||||||
|
gtk_widget_get_style_context
|
||||||
gtk_widget_get_support_multidevice
|
gtk_widget_get_support_multidevice
|
||||||
gtk_widget_get_tooltip_markup
|
gtk_widget_get_tooltip_markup
|
||||||
gtk_widget_get_tooltip_text
|
gtk_widget_get_tooltip_text
|
||||||
@ -3277,9 +3426,38 @@ gtk_widget_modify_text
|
|||||||
gtk_widget_new
|
gtk_widget_new
|
||||||
gtk_widget_override_background_color
|
gtk_widget_override_background_color
|
||||||
gtk_widget_override_color
|
gtk_widget_override_color
|
||||||
|
gtk_widget_override_cursor
|
||||||
gtk_widget_override_font
|
gtk_widget_override_font
|
||||||
gtk_widget_override_symbolic_color
|
gtk_widget_override_symbolic_color
|
||||||
gtk_widget_path
|
gtk_widget_path
|
||||||
|
gtk_widget_path_append_type
|
||||||
|
gtk_widget_path_copy
|
||||||
|
gtk_widget_path_free
|
||||||
|
gtk_widget_path_get_type G_GNUC_CONST
|
||||||
|
gtk_widget_path_get_widget_type
|
||||||
|
gtk_widget_path_has_parent
|
||||||
|
gtk_widget_path_is_type
|
||||||
|
gtk_widget_path_iter_add_class
|
||||||
|
gtk_widget_path_iter_add_region
|
||||||
|
gtk_widget_path_iter_clear_classes
|
||||||
|
gtk_widget_path_iter_clear_regions
|
||||||
|
gtk_widget_path_iter_get_name
|
||||||
|
gtk_widget_path_iter_get_widget_type
|
||||||
|
gtk_widget_path_iter_has_class
|
||||||
|
gtk_widget_path_iter_has_name
|
||||||
|
gtk_widget_path_iter_has_qclass
|
||||||
|
gtk_widget_path_iter_has_qname
|
||||||
|
gtk_widget_path_iter_has_qregion
|
||||||
|
gtk_widget_path_iter_has_region
|
||||||
|
gtk_widget_path_iter_list_classes
|
||||||
|
gtk_widget_path_iter_list_regions
|
||||||
|
gtk_widget_path_iter_remove_class
|
||||||
|
gtk_widget_path_iter_remove_region
|
||||||
|
gtk_widget_path_iter_set_name
|
||||||
|
gtk_widget_path_iter_set_widget_type
|
||||||
|
gtk_widget_path_length
|
||||||
|
gtk_widget_path_new
|
||||||
|
gtk_widget_path_prepend_type
|
||||||
gtk_widget_pop_composite_child
|
gtk_widget_pop_composite_child
|
||||||
gtk_widget_push_composite_child
|
gtk_widget_push_composite_child
|
||||||
gtk_widget_queue_compute_expand
|
gtk_widget_queue_compute_expand
|
||||||
@ -3297,6 +3475,7 @@ gtk_widget_render_icon_pixbuf
|
|||||||
gtk_widget_reparent
|
gtk_widget_reparent
|
||||||
gtk_widget_reset_rc_styles
|
gtk_widget_reset_rc_styles
|
||||||
gtk_widget_reset_shapes
|
gtk_widget_reset_shapes
|
||||||
|
gtk_widget_reset_style
|
||||||
gtk_widget_send_expose
|
gtk_widget_send_expose
|
||||||
gtk_widget_send_focus_change
|
gtk_widget_send_focus_change
|
||||||
gtk_widget_set_accel_path
|
gtk_widget_set_accel_path
|
||||||
@ -3332,6 +3511,7 @@ gtk_widget_set_redraw_on_allocate
|
|||||||
gtk_widget_set_sensitive
|
gtk_widget_set_sensitive
|
||||||
gtk_widget_set_size_request
|
gtk_widget_set_size_request
|
||||||
gtk_widget_set_state
|
gtk_widget_set_state
|
||||||
|
gtk_widget_set_state_flags
|
||||||
gtk_widget_set_style
|
gtk_widget_set_style
|
||||||
gtk_widget_set_support_multidevice
|
gtk_widget_set_support_multidevice
|
||||||
gtk_widget_set_tooltip_markup
|
gtk_widget_set_tooltip_markup
|
||||||
@ -3359,6 +3539,7 @@ gtk_widget_trigger_tooltip_query
|
|||||||
gtk_widget_unmap
|
gtk_widget_unmap
|
||||||
gtk_widget_unparent
|
gtk_widget_unparent
|
||||||
gtk_widget_unrealize
|
gtk_widget_unrealize
|
||||||
|
gtk_widget_unset_state_flags
|
||||||
#ifdef GDK_WINDOWING_WIN32
|
#ifdef GDK_WINDOWING_WIN32
|
||||||
gtk_win32_embed_widget_get_type G_GNUC_CONST
|
gtk_win32_embed_widget_get_type G_GNUC_CONST
|
||||||
#endif
|
#endif
|
||||||
|
@ -44,12 +44,12 @@ struct Gtk9Slice
|
|||||||
gint ref_count;
|
gint ref_count;
|
||||||
};
|
};
|
||||||
|
|
||||||
G_DEFINE_BOXED_TYPE (Gtk9Slice, gtk_9slice,
|
G_DEFINE_BOXED_TYPE (Gtk9Slice, _gtk_9slice,
|
||||||
gtk_9slice_ref, gtk_9slice_unref)
|
_gtk_9slice_ref, _gtk_9slice_unref)
|
||||||
|
|
||||||
|
|
||||||
Gtk9Slice *
|
Gtk9Slice *
|
||||||
gtk_9slice_new (GdkPixbuf *pixbuf,
|
_gtk_9slice_new (GdkPixbuf *pixbuf,
|
||||||
gdouble distance_top,
|
gdouble distance_top,
|
||||||
gdouble distance_bottom,
|
gdouble distance_bottom,
|
||||||
gdouble distance_left,
|
gdouble distance_left,
|
||||||
@ -264,7 +264,7 @@ render_corner (cairo_t *cr,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_9slice_render (Gtk9Slice *slice,
|
_gtk_9slice_render (Gtk9Slice *slice,
|
||||||
cairo_t *cr,
|
cairo_t *cr,
|
||||||
gdouble x,
|
gdouble x,
|
||||||
gdouble y,
|
gdouble y,
|
||||||
@ -347,7 +347,7 @@ gtk_9slice_render (Gtk9Slice *slice,
|
|||||||
}
|
}
|
||||||
|
|
||||||
Gtk9Slice *
|
Gtk9Slice *
|
||||||
gtk_9slice_ref (Gtk9Slice *slice)
|
_gtk_9slice_ref (Gtk9Slice *slice)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (slice != NULL, NULL);
|
g_return_val_if_fail (slice != NULL, NULL);
|
||||||
|
|
||||||
@ -356,7 +356,7 @@ gtk_9slice_ref (Gtk9Slice *slice)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_9slice_unref (Gtk9Slice *slice)
|
_gtk_9slice_unref (Gtk9Slice *slice)
|
||||||
{
|
{
|
||||||
g_return_if_fail (slice != NULL);
|
g_return_if_fail (slice != NULL);
|
||||||
|
|
||||||
|
@ -27,16 +27,16 @@ G_BEGIN_DECLS
|
|||||||
/* Dummy typedefs */
|
/* Dummy typedefs */
|
||||||
typedef struct Gtk9Slice Gtk9Slice;
|
typedef struct Gtk9Slice Gtk9Slice;
|
||||||
|
|
||||||
#define GTK_TYPE_9SLICE (gtk_9slice_get_type ())
|
#define GTK_TYPE_9SLICE (_gtk_9slice_get_type ())
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
GTK_SLICE_REPEAT,
|
GTK_SLICE_REPEAT,
|
||||||
GTK_SLICE_STRETCH
|
GTK_SLICE_STRETCH
|
||||||
} GtkSliceSideModifier;
|
} GtkSliceSideModifier;
|
||||||
|
|
||||||
GType gtk_9slice_get_type (void) G_GNUC_CONST;
|
GType _gtk_9slice_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
Gtk9Slice * gtk_9slice_new (GdkPixbuf *pixbuf,
|
Gtk9Slice * _gtk_9slice_new (GdkPixbuf *pixbuf,
|
||||||
gdouble distance_top,
|
gdouble distance_top,
|
||||||
gdouble distance_bottom,
|
gdouble distance_bottom,
|
||||||
gdouble distance_left,
|
gdouble distance_left,
|
||||||
@ -44,10 +44,10 @@ Gtk9Slice * gtk_9slice_new (GdkPixbuf *pixbuf,
|
|||||||
GtkSliceSideModifier horizontal_modifier,
|
GtkSliceSideModifier horizontal_modifier,
|
||||||
GtkSliceSideModifier vertical_modifier);
|
GtkSliceSideModifier vertical_modifier);
|
||||||
|
|
||||||
Gtk9Slice * gtk_9slice_ref (Gtk9Slice *slice);
|
Gtk9Slice * _gtk_9slice_ref (Gtk9Slice *slice);
|
||||||
void gtk_9slice_unref (Gtk9Slice *slice);
|
void _gtk_9slice_unref (Gtk9Slice *slice);
|
||||||
|
|
||||||
void gtk_9slice_render (Gtk9Slice *slice,
|
void _gtk_9slice_render (Gtk9Slice *slice,
|
||||||
cairo_t *cr,
|
cairo_t *cr,
|
||||||
gdouble x,
|
gdouble x,
|
||||||
gdouble y,
|
gdouble y,
|
||||||
|
@ -30,7 +30,7 @@ struct GtkAnimationDescription
|
|||||||
};
|
};
|
||||||
|
|
||||||
GtkAnimationDescription *
|
GtkAnimationDescription *
|
||||||
gtk_animation_description_new (gdouble duration,
|
_gtk_animation_description_new (gdouble duration,
|
||||||
GtkTimelineProgressType progress_type,
|
GtkTimelineProgressType progress_type,
|
||||||
gboolean loop)
|
gboolean loop)
|
||||||
{
|
{
|
||||||
@ -46,32 +46,32 @@ gtk_animation_description_new (gdouble duration,
|
|||||||
}
|
}
|
||||||
|
|
||||||
gdouble
|
gdouble
|
||||||
gtk_animation_description_get_duration (GtkAnimationDescription *desc)
|
_gtk_animation_description_get_duration (GtkAnimationDescription *desc)
|
||||||
{
|
{
|
||||||
return desc->duration;
|
return desc->duration;
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkTimelineProgressType
|
GtkTimelineProgressType
|
||||||
gtk_animation_description_get_progress_type (GtkAnimationDescription *desc)
|
_gtk_animation_description_get_progress_type (GtkAnimationDescription *desc)
|
||||||
{
|
{
|
||||||
return desc->progress_type;
|
return desc->progress_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
gtk_animation_description_get_loop (GtkAnimationDescription *desc)
|
_gtk_animation_description_get_loop (GtkAnimationDescription *desc)
|
||||||
{
|
{
|
||||||
return (desc->loop != 0);
|
return (desc->loop != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkAnimationDescription *
|
GtkAnimationDescription *
|
||||||
gtk_animation_description_ref (GtkAnimationDescription *desc)
|
_gtk_animation_description_ref (GtkAnimationDescription *desc)
|
||||||
{
|
{
|
||||||
desc->ref_count++;
|
desc->ref_count++;
|
||||||
return desc;
|
return desc;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_animation_description_unref (GtkAnimationDescription *desc)
|
_gtk_animation_description_unref (GtkAnimationDescription *desc)
|
||||||
{
|
{
|
||||||
desc->ref_count--;
|
desc->ref_count--;
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ gtk_animation_description_unref (GtkAnimationDescription *desc)
|
|||||||
}
|
}
|
||||||
|
|
||||||
GtkAnimationDescription *
|
GtkAnimationDescription *
|
||||||
gtk_animation_description_from_string (const gchar *str)
|
_gtk_animation_description_from_string (const gchar *str)
|
||||||
{
|
{
|
||||||
gchar timing_function[16] = { 0, };
|
gchar timing_function[16] = { 0, };
|
||||||
gchar duration_unit[3] = { 0, };
|
gchar duration_unit[3] = { 0, };
|
||||||
@ -120,18 +120,18 @@ gtk_animation_description_from_string (const gchar *str)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return gtk_animation_description_new ((gdouble) duration, progress_type, loop);
|
return _gtk_animation_description_new ((gdouble) duration, progress_type, loop);
|
||||||
}
|
}
|
||||||
|
|
||||||
GType
|
GType
|
||||||
gtk_animation_description_get_type (void)
|
_gtk_animation_description_get_type (void)
|
||||||
{
|
{
|
||||||
static GType type = 0;
|
static GType type = 0;
|
||||||
|
|
||||||
if (G_UNLIKELY (!type))
|
if (G_UNLIKELY (!type))
|
||||||
type = g_boxed_type_register_static (I_("GtkAnimationDescription"),
|
type = g_boxed_type_register_static (I_("GtkAnimationDescription"),
|
||||||
(GBoxedCopyFunc) gtk_animation_description_ref,
|
(GBoxedCopyFunc) _gtk_animation_description_ref,
|
||||||
(GBoxedFreeFunc) gtk_animation_description_unref);
|
(GBoxedFreeFunc) _gtk_animation_description_unref);
|
||||||
|
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
@ -27,22 +27,22 @@ G_BEGIN_DECLS
|
|||||||
/* Dummy typedefs */
|
/* Dummy typedefs */
|
||||||
typedef struct GtkAnimationDescription GtkAnimationDescription;
|
typedef struct GtkAnimationDescription GtkAnimationDescription;
|
||||||
|
|
||||||
#define GTK_TYPE_ANIMATION_DESCRIPTION (gtk_animation_description_get_type ())
|
#define GTK_TYPE_ANIMATION_DESCRIPTION (_gtk_animation_description_get_type ())
|
||||||
|
|
||||||
GType gtk_animation_description_get_type (void) G_GNUC_CONST;
|
GType _gtk_animation_description_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
GtkAnimationDescription * gtk_animation_description_new (gdouble duration,
|
GtkAnimationDescription * _gtk_animation_description_new (gdouble duration,
|
||||||
GtkTimelineProgressType progress_type,
|
GtkTimelineProgressType progress_type,
|
||||||
gboolean loop);
|
gboolean loop);
|
||||||
|
|
||||||
gdouble gtk_animation_description_get_duration (GtkAnimationDescription *desc);
|
gdouble _gtk_animation_description_get_duration (GtkAnimationDescription *desc);
|
||||||
GtkTimelineProgressType gtk_animation_description_get_progress_type (GtkAnimationDescription *desc);
|
GtkTimelineProgressType _gtk_animation_description_get_progress_type (GtkAnimationDescription *desc);
|
||||||
gboolean gtk_animation_description_get_loop (GtkAnimationDescription *desc);
|
gboolean _gtk_animation_description_get_loop (GtkAnimationDescription *desc);
|
||||||
|
|
||||||
GtkAnimationDescription * gtk_animation_description_ref (GtkAnimationDescription *desc);
|
GtkAnimationDescription * _gtk_animation_description_ref (GtkAnimationDescription *desc);
|
||||||
void gtk_animation_description_unref (GtkAnimationDescription *desc);
|
void _gtk_animation_description_unref (GtkAnimationDescription *desc);
|
||||||
|
|
||||||
GtkAnimationDescription * gtk_animation_description_from_string (const gchar *str);
|
GtkAnimationDescription * _gtk_animation_description_from_string (const gchar *str);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ search_for_mimetype_ready_cb (GObject *source,
|
|||||||
GtkAppChooserDialog *self = user_data;
|
GtkAppChooserDialog *self = user_data;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
|
||||||
gtk_app_chooser_online_search_for_mimetype_finish (online, res, &error);
|
_gtk_app_chooser_online_search_for_mimetype_finish (online, res, &error);
|
||||||
|
|
||||||
if (error != NULL)
|
if (error != NULL)
|
||||||
{
|
{
|
||||||
@ -128,7 +128,7 @@ online_button_clicked_cb (GtkButton *b,
|
|||||||
{
|
{
|
||||||
GtkAppChooserDialog *self = user_data;
|
GtkAppChooserDialog *self = user_data;
|
||||||
|
|
||||||
gtk_app_chooser_online_search_for_mimetype_async (self->priv->online,
|
_gtk_app_chooser_online_search_for_mimetype_async (self->priv->online,
|
||||||
self->priv->content_type,
|
self->priv->content_type,
|
||||||
GTK_WINDOW (self),
|
GTK_WINDOW (self),
|
||||||
search_for_mimetype_ready_cb,
|
search_for_mimetype_ready_cb,
|
||||||
@ -142,7 +142,7 @@ app_chooser_online_get_default_ready_cb (GObject *source,
|
|||||||
{
|
{
|
||||||
GtkAppChooserDialog *self = user_data;
|
GtkAppChooserDialog *self = user_data;
|
||||||
|
|
||||||
self->priv->online = gtk_app_chooser_online_get_default_finish (source, res);
|
self->priv->online = _gtk_app_chooser_online_get_default_finish (source, res);
|
||||||
|
|
||||||
if (self->priv->online != NULL)
|
if (self->priv->online != NULL)
|
||||||
{
|
{
|
||||||
@ -164,7 +164,7 @@ app_chooser_online_get_default_ready_cb (GObject *source,
|
|||||||
static void
|
static void
|
||||||
ensure_online_button (GtkAppChooserDialog *self)
|
ensure_online_button (GtkAppChooserDialog *self)
|
||||||
{
|
{
|
||||||
gtk_app_chooser_online_get_default_async (app_chooser_online_get_default_ready_cb, self);
|
_gtk_app_chooser_online_get_default_async (app_chooser_online_get_default_ready_cb, self);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* An application is valid if:
|
/* An application is valid if:
|
||||||
|
@ -30,19 +30,18 @@
|
|||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
#define gtk_app_chooser_online_get_type _gtk_app_chooser_online_get_type
|
|
||||||
static void gtk_app_chooser_online_default_init (GtkAppChooserOnlineInterface *iface);
|
static void gtk_app_chooser_online_default_init (GtkAppChooserOnlineInterface *iface);
|
||||||
G_DEFINE_INTERFACE_WITH_CODE (GtkAppChooserOnline, gtk_app_chooser_online, G_TYPE_OBJECT,
|
G_DEFINE_INTERFACE_WITH_CODE (GtkAppChooserOnline, _gtk_app_chooser_online, G_TYPE_OBJECT,
|
||||||
g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_ASYNC_INITABLE);)
|
g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_ASYNC_INITABLE);)
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_app_chooser_online_default_init (GtkAppChooserOnlineInterface *iface)
|
_gtk_app_chooser_online_default_init (GtkAppChooserOnlineInterface *iface)
|
||||||
{
|
{
|
||||||
/* do nothing */
|
/* do nothing */
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkAppChooserOnline *
|
GtkAppChooserOnline *
|
||||||
gtk_app_chooser_online_get_default_finish (GObject *source,
|
_gtk_app_chooser_online_get_default_finish (GObject *source,
|
||||||
GAsyncResult *result)
|
GAsyncResult *result)
|
||||||
{
|
{
|
||||||
GtkAppChooserOnline *retval;
|
GtkAppChooserOnline *retval;
|
||||||
@ -54,7 +53,7 @@ gtk_app_chooser_online_get_default_finish (GObject *source,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_app_chooser_online_get_default_async (GAsyncReadyCallback callback,
|
_gtk_app_chooser_online_get_default_async (GAsyncReadyCallback callback,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
{
|
{
|
||||||
GIOExtensionPoint *ep;
|
GIOExtensionPoint *ep;
|
||||||
@ -76,7 +75,7 @@ gtk_app_chooser_online_get_default_async (GAsyncReadyCallback callback,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_app_chooser_online_search_for_mimetype_async (GtkAppChooserOnline *self,
|
_gtk_app_chooser_online_search_for_mimetype_async (GtkAppChooserOnline *self,
|
||||||
const gchar *content_type,
|
const gchar *content_type,
|
||||||
GtkWindow *parent,
|
GtkWindow *parent,
|
||||||
GAsyncReadyCallback callback,
|
GAsyncReadyCallback callback,
|
||||||
@ -92,7 +91,7 @@ gtk_app_chooser_online_search_for_mimetype_async (GtkAppChooserOnline *self,
|
|||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
gtk_app_chooser_online_search_for_mimetype_finish (GtkAppChooserOnline *self,
|
_gtk_app_chooser_online_search_for_mimetype_finish (GtkAppChooserOnline *self,
|
||||||
GAsyncResult *res,
|
GAsyncResult *res,
|
||||||
GError **error)
|
GError **error)
|
||||||
{
|
{
|
||||||
|
@ -56,17 +56,17 @@ struct _GtkAppChooserOnlineInterface {
|
|||||||
|
|
||||||
GType _gtk_app_chooser_online_get_type (void) G_GNUC_CONST;
|
GType _gtk_app_chooser_online_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
void gtk_app_chooser_online_get_default_async (GAsyncReadyCallback callback,
|
void _gtk_app_chooser_online_get_default_async (GAsyncReadyCallback callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
GtkAppChooserOnline * gtk_app_chooser_online_get_default_finish (GObject *source,
|
GtkAppChooserOnline * _gtk_app_chooser_online_get_default_finish (GObject *source,
|
||||||
GAsyncResult *result);
|
GAsyncResult *result);
|
||||||
|
|
||||||
void gtk_app_chooser_online_search_for_mimetype_async (GtkAppChooserOnline *self,
|
void _gtk_app_chooser_online_search_for_mimetype_async (GtkAppChooserOnline *self,
|
||||||
const gchar *content_type,
|
const gchar *content_type,
|
||||||
GtkWindow *parent,
|
GtkWindow *parent,
|
||||||
GAsyncReadyCallback callback,
|
GAsyncReadyCallback callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
gboolean gtk_app_chooser_online_search_for_mimetype_finish (GtkAppChooserOnline *self,
|
gboolean _gtk_app_chooser_online_search_for_mimetype_finish (GtkAppChooserOnline *self,
|
||||||
GAsyncResult *res,
|
GAsyncResult *res,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
|
@ -134,7 +134,7 @@ pk_search_mime_async (GtkAppChooserOnline *obj,
|
|||||||
|
|
||||||
self->priv->result = g_simple_async_result_new (G_OBJECT (self),
|
self->priv->result = g_simple_async_result_new (G_OBJECT (self),
|
||||||
callback, user_data,
|
callback, user_data,
|
||||||
gtk_app_chooser_online_search_for_mimetype_async);
|
_gtk_app_chooser_online_search_for_mimetype_async);
|
||||||
|
|
||||||
#ifdef GDK_WINDOWING_X11
|
#ifdef GDK_WINDOWING_X11
|
||||||
window = gtk_widget_get_window (GTK_WIDGET (parent));
|
window = gtk_widget_get_window (GTK_WIDGET (parent));
|
||||||
@ -243,7 +243,7 @@ app_chooser_online_pk_init_async (GAsyncInitable *init,
|
|||||||
|
|
||||||
self->priv->init_result = g_simple_async_result_new (G_OBJECT (self),
|
self->priv->init_result = g_simple_async_result_new (G_OBJECT (self),
|
||||||
callback, user_data,
|
callback, user_data,
|
||||||
gtk_app_chooser_online_get_default_async);
|
_gtk_app_chooser_online_get_default_async);
|
||||||
|
|
||||||
self->priv->watch_id =
|
self->priv->watch_id =
|
||||||
g_bus_watch_name (G_BUS_TYPE_SESSION,
|
g_bus_watch_name (G_BUS_TYPE_SESSION,
|
||||||
|
@ -2478,7 +2478,7 @@ gtk_assistant_get_accessible (GtkWidget *widget)
|
|||||||
typedef struct _GtkAssistantAccessible GtkAssistantAccessible;
|
typedef struct _GtkAssistantAccessible GtkAssistantAccessible;
|
||||||
typedef struct _GtkAssistantAccessibleClass GtkAssistantAccessibleClass;
|
typedef struct _GtkAssistantAccessibleClass GtkAssistantAccessibleClass;
|
||||||
|
|
||||||
ATK_DEFINE_TYPE (GtkAssistantAccessible, gtk_assistant_accessible, GTK_TYPE_ASSISTANT);
|
ATK_DEFINE_TYPE (GtkAssistantAccessible, _gtk_assistant_accessible, GTK_TYPE_ASSISTANT);
|
||||||
|
|
||||||
static gint
|
static gint
|
||||||
gtk_assistant_accessible_get_n_children (AtkObject *accessible)
|
gtk_assistant_accessible_get_n_children (AtkObject *accessible)
|
||||||
@ -2537,7 +2537,7 @@ gtk_assistant_accessible_ref_child (AtkObject *accessible,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_assistant_accessible_class_init (GtkAssistantAccessibleClass *klass)
|
_gtk_assistant_accessible_class_init (GtkAssistantAccessibleClass *klass)
|
||||||
{
|
{
|
||||||
AtkObjectClass *atk_class = ATK_OBJECT_CLASS (klass);
|
AtkObjectClass *atk_class = ATK_OBJECT_CLASS (klass);
|
||||||
|
|
||||||
@ -2546,7 +2546,7 @@ gtk_assistant_accessible_class_init (GtkAssistantAccessibleClass *klass)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_assistant_accessible_init (GtkAssistantAccessible *self)
|
_gtk_assistant_accessible_init (GtkAssistantAccessible *self)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2561,7 +2561,7 @@ G_DEFINE_TYPE (GtkAssistantAccessibleFactory,
|
|||||||
static GType
|
static GType
|
||||||
gtk_assistant_accessible_factory_get_accessible_type (void)
|
gtk_assistant_accessible_factory_get_accessible_type (void)
|
||||||
{
|
{
|
||||||
return gtk_assistant_accessible_get_type ();
|
return _gtk_assistant_accessible_get_type ();
|
||||||
}
|
}
|
||||||
|
|
||||||
static AtkObject*
|
static AtkObject*
|
||||||
@ -2569,7 +2569,7 @@ gtk_assistant_accessible_factory_create_accessible (GObject *obj)
|
|||||||
{
|
{
|
||||||
AtkObject *accessible;
|
AtkObject *accessible;
|
||||||
|
|
||||||
accessible = g_object_new (gtk_assistant_accessible_get_type (), NULL);
|
accessible = g_object_new (_gtk_assistant_accessible_get_type (), NULL);
|
||||||
atk_object_initialize (accessible, obj);
|
atk_object_initialize (accessible, obj);
|
||||||
|
|
||||||
return accessible;
|
return accessible;
|
||||||
|
@ -2621,7 +2621,7 @@ slice_parse_str (GtkCssProvider *css_provider,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
slice = gtk_9slice_new (pixbuf,
|
slice = _gtk_9slice_new (pixbuf,
|
||||||
distance_top, distance_bottom,
|
distance_top, distance_bottom,
|
||||||
distance_left, distance_right,
|
distance_left, distance_right,
|
||||||
mods[0], mods[1]);
|
mods[0], mods[1]);
|
||||||
@ -2796,7 +2796,7 @@ css_provider_parse_value (GtkCssProvider *css_provider,
|
|||||||
{
|
{
|
||||||
GtkAnimationDescription *desc;
|
GtkAnimationDescription *desc;
|
||||||
|
|
||||||
desc = gtk_animation_description_from_string (value_str);
|
desc = _gtk_animation_description_from_string (value_str);
|
||||||
|
|
||||||
if (desc)
|
if (desc)
|
||||||
g_value_take_boxed (value, desc);
|
g_value_take_boxed (value, desc);
|
||||||
|
@ -345,7 +345,7 @@ typedef AtkObjectFactory GtkSpinnerAccessibleFactory;
|
|||||||
typedef AtkObjectFactoryClass GtkSpinnerAccessibleFactoryClass;
|
typedef AtkObjectFactoryClass GtkSpinnerAccessibleFactoryClass;
|
||||||
|
|
||||||
G_DEFINE_TYPE (GtkSpinnerAccessibleFactory,
|
G_DEFINE_TYPE (GtkSpinnerAccessibleFactory,
|
||||||
gtk_spinner_accessible_factory,
|
_gtk_spinner_accessible_factory,
|
||||||
ATK_TYPE_OBJECT_FACTORY);
|
ATK_TYPE_OBJECT_FACTORY);
|
||||||
|
|
||||||
static GType
|
static GType
|
||||||
@ -366,14 +366,14 @@ gtk_spinner_accessible_factory_create_accessible (GObject *obj)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_spinner_accessible_factory_class_init (AtkObjectFactoryClass *klass)
|
_gtk_spinner_accessible_factory_class_init (AtkObjectFactoryClass *klass)
|
||||||
{
|
{
|
||||||
klass->create_accessible = gtk_spinner_accessible_factory_create_accessible;
|
klass->create_accessible = gtk_spinner_accessible_factory_create_accessible;
|
||||||
klass->get_accessible_type = gtk_spinner_accessible_factory_get_accessible_type;
|
klass->get_accessible_type = gtk_spinner_accessible_factory_get_accessible_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_spinner_accessible_factory_init (AtkObjectFactory *factory)
|
_gtk_spinner_accessible_factory_init (AtkObjectFactory *factory)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -402,7 +402,7 @@ gtk_spinner_get_accessible (GtkWidget *widget)
|
|||||||
if (g_type_is_a (derived_atk_type, GTK_TYPE_ACCESSIBLE))
|
if (g_type_is_a (derived_atk_type, GTK_TYPE_ACCESSIBLE))
|
||||||
atk_registry_set_factory_type (registry,
|
atk_registry_set_factory_type (registry,
|
||||||
GTK_TYPE_SPINNER,
|
GTK_TYPE_SPINNER,
|
||||||
gtk_spinner_accessible_factory_get_type ());
|
_gtk_spinner_accessible_factory_get_type ());
|
||||||
first_time = FALSE;
|
first_time = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -495,7 +495,7 @@ enum {
|
|||||||
LAST_SIGNAL
|
LAST_SIGNAL
|
||||||
};
|
};
|
||||||
|
|
||||||
guint signals[LAST_SIGNAL] = { 0 };
|
static guint signals[LAST_SIGNAL] = { 0 };
|
||||||
|
|
||||||
static GQuark provider_list_quark = 0;
|
static GQuark provider_list_quark = 0;
|
||||||
|
|
||||||
@ -842,19 +842,19 @@ animation_info_new (GtkStyleContext *context,
|
|||||||
info = g_slice_new0 (AnimationInfo);
|
info = g_slice_new0 (AnimationInfo);
|
||||||
|
|
||||||
info->rectangles = g_array_new (FALSE, FALSE, sizeof (cairo_rectangle_int_t));
|
info->rectangles = g_array_new (FALSE, FALSE, sizeof (cairo_rectangle_int_t));
|
||||||
info->timeline = gtk_timeline_new (duration);
|
info->timeline = _gtk_timeline_new (duration);
|
||||||
info->window = g_object_ref (window);
|
info->window = g_object_ref (window);
|
||||||
info->state = state;
|
info->state = state;
|
||||||
info->target_value = target_value;
|
info->target_value = target_value;
|
||||||
info->region_id = region_id;
|
info->region_id = region_id;
|
||||||
|
|
||||||
gtk_timeline_set_progress_type (info->timeline, progress_type);
|
_gtk_timeline_set_progress_type (info->timeline, progress_type);
|
||||||
gtk_timeline_set_loop (info->timeline, loop);
|
_gtk_timeline_set_loop (info->timeline, loop);
|
||||||
|
|
||||||
if (!loop && !target_value)
|
if (!loop && !target_value)
|
||||||
{
|
{
|
||||||
gtk_timeline_set_direction (info->timeline, GTK_TIMELINE_DIRECTION_BACKWARD);
|
_gtk_timeline_set_direction (info->timeline, GTK_TIMELINE_DIRECTION_BACKWARD);
|
||||||
gtk_timeline_rewind (info->timeline);
|
_gtk_timeline_rewind (info->timeline);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_signal_connect (info->timeline, "frame",
|
g_signal_connect (info->timeline, "frame",
|
||||||
@ -862,7 +862,7 @@ animation_info_new (GtkStyleContext *context,
|
|||||||
g_signal_connect (info->timeline, "finished",
|
g_signal_connect (info->timeline, "finished",
|
||||||
G_CALLBACK (timeline_finished_cb), context);
|
G_CALLBACK (timeline_finished_cb), context);
|
||||||
|
|
||||||
gtk_timeline_start (info->timeline);
|
_gtk_timeline_start (info->timeline);
|
||||||
|
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
@ -1076,7 +1076,7 @@ build_icon_factories (GtkStyleContext *context,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GtkWidgetPath *
|
static GtkWidgetPath *
|
||||||
create_query_path (GtkStyleContext *context)
|
create_query_path (GtkStyleContext *context)
|
||||||
{
|
{
|
||||||
GtkStyleContextPrivate *priv;
|
GtkStyleContextPrivate *priv;
|
||||||
@ -1628,7 +1628,7 @@ gtk_style_context_state_is_running (GtkStyleContext *context,
|
|||||||
context_has_animatable_region (context, info->region_id))
|
context_has_animatable_region (context, info->region_id))
|
||||||
{
|
{
|
||||||
if (progress)
|
if (progress)
|
||||||
*progress = gtk_timeline_get_progress (info->timeline);
|
*progress = _gtk_timeline_get_progress (info->timeline);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
@ -2855,9 +2855,9 @@ gtk_style_context_notify_state_change (GtkStyleContext *context,
|
|||||||
if (!desc)
|
if (!desc)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (gtk_animation_description_get_duration (desc) == 0)
|
if (_gtk_animation_description_get_duration (desc) == 0)
|
||||||
{
|
{
|
||||||
gtk_animation_description_unref (desc);
|
_gtk_animation_description_unref (desc);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2867,37 +2867,37 @@ gtk_style_context_notify_state_change (GtkStyleContext *context,
|
|||||||
info->target_value != state_value)
|
info->target_value != state_value)
|
||||||
{
|
{
|
||||||
/* Target values are the opposite */
|
/* Target values are the opposite */
|
||||||
if (!gtk_timeline_get_loop (info->timeline))
|
if (!_gtk_timeline_get_loop (info->timeline))
|
||||||
{
|
{
|
||||||
/* Reverse the animation */
|
/* Reverse the animation */
|
||||||
if (gtk_timeline_get_direction (info->timeline) == GTK_TIMELINE_DIRECTION_FORWARD)
|
if (_gtk_timeline_get_direction (info->timeline) == GTK_TIMELINE_DIRECTION_FORWARD)
|
||||||
gtk_timeline_set_direction (info->timeline, GTK_TIMELINE_DIRECTION_BACKWARD);
|
_gtk_timeline_set_direction (info->timeline, GTK_TIMELINE_DIRECTION_BACKWARD);
|
||||||
else
|
else
|
||||||
gtk_timeline_set_direction (info->timeline, GTK_TIMELINE_DIRECTION_FORWARD);
|
_gtk_timeline_set_direction (info->timeline, GTK_TIMELINE_DIRECTION_FORWARD);
|
||||||
|
|
||||||
info->target_value = state_value;
|
info->target_value = state_value;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Take it out of its looping state */
|
/* Take it out of its looping state */
|
||||||
gtk_timeline_set_loop (info->timeline, FALSE);
|
_gtk_timeline_set_loop (info->timeline, FALSE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!info &&
|
else if (!info &&
|
||||||
(!gtk_animation_description_get_loop (desc) ||
|
(!_gtk_animation_description_get_loop (desc) ||
|
||||||
state_value))
|
state_value))
|
||||||
{
|
{
|
||||||
info = animation_info_new (context, region_id,
|
info = animation_info_new (context, region_id,
|
||||||
gtk_animation_description_get_duration (desc),
|
_gtk_animation_description_get_duration (desc),
|
||||||
gtk_animation_description_get_progress_type (desc),
|
_gtk_animation_description_get_progress_type (desc),
|
||||||
gtk_animation_description_get_loop (desc),
|
_gtk_animation_description_get_loop (desc),
|
||||||
state, state_value, window);
|
state, state_value, window);
|
||||||
|
|
||||||
priv->animations = g_slist_prepend (priv->animations, info);
|
priv->animations = g_slist_prepend (priv->animations, info);
|
||||||
priv->animations_invalidated = TRUE;
|
priv->animations_invalidated = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
gtk_animation_description_unref (desc);
|
_gtk_animation_description_unref (desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1971,8 +1971,8 @@ gtk_theming_engine_render_frame (GtkThemingEngine *engine,
|
|||||||
|
|
||||||
if (slice)
|
if (slice)
|
||||||
{
|
{
|
||||||
gtk_9slice_render (slice, cr, x, y, width, height);
|
_gtk_9slice_render (slice, cr, x, y, width, height);
|
||||||
gtk_9slice_unref (slice);
|
_gtk_9slice_unref (slice);
|
||||||
}
|
}
|
||||||
else if (border_style != GTK_BORDER_STYLE_NONE)
|
else if (border_style != GTK_BORDER_STYLE_NONE)
|
||||||
render_frame_internal (engine, cr,
|
render_frame_internal (engine, cr,
|
||||||
|
@ -76,20 +76,20 @@ static void gtk_timeline_get_property (GObject *object,
|
|||||||
guint prop_id,
|
guint prop_id,
|
||||||
GValue *value,
|
GValue *value,
|
||||||
GParamSpec *pspec);
|
GParamSpec *pspec);
|
||||||
static void gtk_timeline_finalize (GObject *object);
|
static void _gtk_timeline_finalize (GObject *object);
|
||||||
|
|
||||||
|
|
||||||
G_DEFINE_TYPE (GtkTimeline, gtk_timeline, G_TYPE_OBJECT)
|
G_DEFINE_TYPE (GtkTimeline, _gtk_timeline, G_TYPE_OBJECT)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_timeline_class_init (GtkTimelineClass *klass)
|
_gtk_timeline_class_init (GtkTimelineClass *klass)
|
||||||
{
|
{
|
||||||
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
GObjectClass *object_class = G_OBJECT_CLASS (klass);
|
||||||
|
|
||||||
object_class->set_property = gtk_timeline_set_property;
|
object_class->set_property = gtk_timeline_set_property;
|
||||||
object_class->get_property = gtk_timeline_get_property;
|
object_class->get_property = gtk_timeline_get_property;
|
||||||
object_class->finalize = gtk_timeline_finalize;
|
object_class->finalize = _gtk_timeline_finalize;
|
||||||
|
|
||||||
g_object_class_install_property (object_class,
|
g_object_class_install_property (object_class,
|
||||||
PROP_FPS,
|
PROP_FPS,
|
||||||
@ -163,7 +163,7 @@ gtk_timeline_class_init (GtkTimelineClass *klass)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_timeline_init (GtkTimeline *timeline)
|
_gtk_timeline_init (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -194,19 +194,19 @@ gtk_timeline_set_property (GObject *object,
|
|||||||
switch (prop_id)
|
switch (prop_id)
|
||||||
{
|
{
|
||||||
case PROP_FPS:
|
case PROP_FPS:
|
||||||
gtk_timeline_set_fps (timeline, g_value_get_uint (value));
|
_gtk_timeline_set_fps (timeline, g_value_get_uint (value));
|
||||||
break;
|
break;
|
||||||
case PROP_DURATION:
|
case PROP_DURATION:
|
||||||
gtk_timeline_set_duration (timeline, g_value_get_uint (value));
|
_gtk_timeline_set_duration (timeline, g_value_get_uint (value));
|
||||||
break;
|
break;
|
||||||
case PROP_LOOP:
|
case PROP_LOOP:
|
||||||
gtk_timeline_set_loop (timeline, g_value_get_boolean (value));
|
_gtk_timeline_set_loop (timeline, g_value_get_boolean (value));
|
||||||
break;
|
break;
|
||||||
case PROP_DIRECTION:
|
case PROP_DIRECTION:
|
||||||
gtk_timeline_set_direction (timeline, g_value_get_enum (value));
|
_gtk_timeline_set_direction (timeline, g_value_get_enum (value));
|
||||||
break;
|
break;
|
||||||
case PROP_SCREEN:
|
case PROP_SCREEN:
|
||||||
gtk_timeline_set_screen (timeline,
|
_gtk_timeline_set_screen (timeline,
|
||||||
GDK_SCREEN (g_value_get_object (value)));
|
GDK_SCREEN (g_value_get_object (value)));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
@ -249,7 +249,7 @@ gtk_timeline_get_property (GObject *object,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_timeline_finalize (GObject *object)
|
_gtk_timeline_finalize (GObject *object)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
GtkTimeline *timeline;
|
GtkTimeline *timeline;
|
||||||
@ -266,10 +266,10 @@ gtk_timeline_finalize (GObject *object)
|
|||||||
if (priv->timer)
|
if (priv->timer)
|
||||||
g_timer_destroy (priv->timer);
|
g_timer_destroy (priv->timer);
|
||||||
|
|
||||||
G_OBJECT_CLASS (gtk_timeline_parent_class)->finalize (object);
|
G_OBJECT_CLASS (_gtk_timeline_parent_class)->finalize (object);
|
||||||
}
|
}
|
||||||
|
|
||||||
gdouble
|
static gdouble
|
||||||
calculate_progress (gdouble linear_progress,
|
calculate_progress (gdouble linear_progress,
|
||||||
GtkTimelineProgressType progress_type)
|
GtkTimelineProgressType progress_type)
|
||||||
{
|
{
|
||||||
@ -354,7 +354,7 @@ gtk_timeline_run_frame (GtkTimeline *timeline)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
gtk_timeline_rewind (timeline);
|
_gtk_timeline_rewind (timeline);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@ -369,7 +369,7 @@ gtk_timeline_run_frame (GtkTimeline *timeline)
|
|||||||
* Return Value: the newly created #GtkTimeline
|
* Return Value: the newly created #GtkTimeline
|
||||||
**/
|
**/
|
||||||
GtkTimeline *
|
GtkTimeline *
|
||||||
gtk_timeline_new (guint duration)
|
_gtk_timeline_new (guint duration)
|
||||||
{
|
{
|
||||||
return g_object_new (GTK_TYPE_TIMELINE,
|
return g_object_new (GTK_TYPE_TIMELINE,
|
||||||
"duration", duration,
|
"duration", duration,
|
||||||
@ -377,7 +377,7 @@ gtk_timeline_new (guint duration)
|
|||||||
}
|
}
|
||||||
|
|
||||||
GtkTimeline *
|
GtkTimeline *
|
||||||
gtk_timeline_new_for_screen (guint duration,
|
_gtk_timeline_new_for_screen (guint duration,
|
||||||
GdkScreen *screen)
|
GdkScreen *screen)
|
||||||
{
|
{
|
||||||
return g_object_new (GTK_TYPE_TIMELINE,
|
return g_object_new (GTK_TYPE_TIMELINE,
|
||||||
@ -393,7 +393,7 @@ gtk_timeline_new_for_screen (guint duration,
|
|||||||
* Runs the timeline from the current frame.
|
* Runs the timeline from the current frame.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gtk_timeline_start (GtkTimeline *timeline)
|
_gtk_timeline_start (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
GtkSettings *settings;
|
GtkSettings *settings;
|
||||||
@ -440,7 +440,7 @@ gtk_timeline_start (GtkTimeline *timeline)
|
|||||||
* Pauses the timeline.
|
* Pauses the timeline.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gtk_timeline_pause (GtkTimeline *timeline)
|
_gtk_timeline_pause (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -464,7 +464,7 @@ gtk_timeline_pause (GtkTimeline *timeline)
|
|||||||
* Rewinds the timeline.
|
* Rewinds the timeline.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gtk_timeline_rewind (GtkTimeline *timeline)
|
_gtk_timeline_rewind (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -472,7 +472,7 @@ gtk_timeline_rewind (GtkTimeline *timeline)
|
|||||||
|
|
||||||
priv = timeline->priv;
|
priv = timeline->priv;
|
||||||
|
|
||||||
if (gtk_timeline_get_direction(timeline) != GTK_TIMELINE_DIRECTION_FORWARD)
|
if (_gtk_timeline_get_direction (timeline) != GTK_TIMELINE_DIRECTION_FORWARD)
|
||||||
priv->progress = priv->last_progress = 1.;
|
priv->progress = priv->last_progress = 1.;
|
||||||
else
|
else
|
||||||
priv->progress = priv->last_progress = 0.;
|
priv->progress = priv->last_progress = 0.;
|
||||||
@ -496,7 +496,7 @@ gtk_timeline_rewind (GtkTimeline *timeline)
|
|||||||
* Return Value: %TRUE if the timeline is running
|
* Return Value: %TRUE if the timeline is running
|
||||||
**/
|
**/
|
||||||
gboolean
|
gboolean
|
||||||
gtk_timeline_is_running (GtkTimeline *timeline)
|
_gtk_timeline_is_running (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -516,7 +516,7 @@ gtk_timeline_is_running (GtkTimeline *timeline)
|
|||||||
* Return Value: frames per second
|
* Return Value: frames per second
|
||||||
**/
|
**/
|
||||||
guint
|
guint
|
||||||
gtk_timeline_get_fps (GtkTimeline *timeline)
|
_gtk_timeline_get_fps (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -535,7 +535,7 @@ gtk_timeline_get_fps (GtkTimeline *timeline)
|
|||||||
* the timeline will play.
|
* the timeline will play.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gtk_timeline_set_fps (GtkTimeline *timeline,
|
_gtk_timeline_set_fps (GtkTimeline *timeline,
|
||||||
guint fps)
|
guint fps)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
@ -547,7 +547,7 @@ gtk_timeline_set_fps (GtkTimeline *timeline,
|
|||||||
|
|
||||||
priv->fps = fps;
|
priv->fps = fps;
|
||||||
|
|
||||||
if (gtk_timeline_is_running (timeline))
|
if (_gtk_timeline_is_running (timeline))
|
||||||
{
|
{
|
||||||
g_source_remove (priv->source_id);
|
g_source_remove (priv->source_id);
|
||||||
priv->source_id = gdk_threads_add_timeout (FRAME_INTERVAL (priv->fps),
|
priv->source_id = gdk_threads_add_timeout (FRAME_INTERVAL (priv->fps),
|
||||||
@ -568,7 +568,7 @@ gtk_timeline_set_fps (GtkTimeline *timeline,
|
|||||||
* Return Value: %TRUE if the timeline loops
|
* Return Value: %TRUE if the timeline loops
|
||||||
**/
|
**/
|
||||||
gboolean
|
gboolean
|
||||||
gtk_timeline_get_loop (GtkTimeline *timeline)
|
_gtk_timeline_get_loop (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -587,7 +587,7 @@ gtk_timeline_get_loop (GtkTimeline *timeline)
|
|||||||
* when it has reached the end.
|
* when it has reached the end.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gtk_timeline_set_loop (GtkTimeline *timeline,
|
_gtk_timeline_set_loop (GtkTimeline *timeline,
|
||||||
gboolean loop)
|
gboolean loop)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
@ -604,7 +604,7 @@ gtk_timeline_set_loop (GtkTimeline *timeline,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_timeline_set_duration (GtkTimeline *timeline,
|
_gtk_timeline_set_duration (GtkTimeline *timeline,
|
||||||
guint duration)
|
guint duration)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
@ -621,7 +621,7 @@ gtk_timeline_set_duration (GtkTimeline *timeline,
|
|||||||
}
|
}
|
||||||
|
|
||||||
guint
|
guint
|
||||||
gtk_timeline_get_duration (GtkTimeline *timeline)
|
_gtk_timeline_get_duration (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -640,7 +640,7 @@ gtk_timeline_get_duration (GtkTimeline *timeline)
|
|||||||
* Sets the direction of the timeline.
|
* Sets the direction of the timeline.
|
||||||
**/
|
**/
|
||||||
void
|
void
|
||||||
gtk_timeline_set_direction (GtkTimeline *timeline,
|
_gtk_timeline_set_direction (GtkTimeline *timeline,
|
||||||
GtkTimelineDirection direction)
|
GtkTimelineDirection direction)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
@ -660,7 +660,7 @@ gtk_timeline_set_direction (GtkTimeline *timeline,
|
|||||||
* Return Value: direction
|
* Return Value: direction
|
||||||
**/
|
**/
|
||||||
GtkTimelineDirection
|
GtkTimelineDirection
|
||||||
gtk_timeline_get_direction (GtkTimeline *timeline)
|
_gtk_timeline_get_direction (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -671,7 +671,7 @@ gtk_timeline_get_direction (GtkTimeline *timeline)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_timeline_set_screen (GtkTimeline *timeline,
|
_gtk_timeline_set_screen (GtkTimeline *timeline,
|
||||||
GdkScreen *screen)
|
GdkScreen *screen)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
@ -690,7 +690,7 @@ gtk_timeline_set_screen (GtkTimeline *timeline,
|
|||||||
}
|
}
|
||||||
|
|
||||||
GdkScreen *
|
GdkScreen *
|
||||||
gtk_timeline_get_screen (GtkTimeline *timeline)
|
_gtk_timeline_get_screen (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -701,7 +701,7 @@ gtk_timeline_get_screen (GtkTimeline *timeline)
|
|||||||
}
|
}
|
||||||
|
|
||||||
gdouble
|
gdouble
|
||||||
gtk_timeline_get_progress (GtkTimeline *timeline)
|
_gtk_timeline_get_progress (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -712,7 +712,7 @@ gtk_timeline_get_progress (GtkTimeline *timeline)
|
|||||||
}
|
}
|
||||||
|
|
||||||
GtkTimelineProgressType
|
GtkTimelineProgressType
|
||||||
gtk_timeline_get_progress_type (GtkTimeline *timeline)
|
_gtk_timeline_get_progress_type (GtkTimeline *timeline)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
|
||||||
@ -723,7 +723,7 @@ gtk_timeline_get_progress_type (GtkTimeline *timeline)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gtk_timeline_set_progress_type (GtkTimeline *timeline,
|
_gtk_timeline_set_progress_type (GtkTimeline *timeline,
|
||||||
GtkTimelineProgressType progress_type)
|
GtkTimelineProgressType progress_type)
|
||||||
{
|
{
|
||||||
GtkTimelinePriv *priv;
|
GtkTimelinePriv *priv;
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
#define GTK_TYPE_TIMELINE (gtk_timeline_get_type ())
|
#define GTK_TYPE_TIMELINE (_gtk_timeline_get_type ())
|
||||||
#define GTK_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TIMELINE, GtkTimeline))
|
#define GTK_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TIMELINE, GtkTimeline))
|
||||||
#define GTK_TIMELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TIMELINE, GtkTimelineClass))
|
#define GTK_TIMELINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TIMELINE, GtkTimelineClass))
|
||||||
#define GTK_IS_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TIMELINE))
|
#define GTK_IS_TIMELINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TIMELINE))
|
||||||
@ -73,42 +73,42 @@ struct GtkTimelineClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
GType gtk_timeline_get_type (void) G_GNUC_CONST;
|
GType _gtk_timeline_get_type (void) G_GNUC_CONST;
|
||||||
|
|
||||||
GtkTimeline *gtk_timeline_new (guint duration);
|
GtkTimeline * _gtk_timeline_new (guint duration);
|
||||||
GtkTimeline *gtk_timeline_new_for_screen (guint duration,
|
GtkTimeline * _gtk_timeline_new_for_screen (guint duration,
|
||||||
GdkScreen *screen);
|
GdkScreen *screen);
|
||||||
|
|
||||||
void gtk_timeline_start (GtkTimeline *timeline);
|
void _gtk_timeline_start (GtkTimeline *timeline);
|
||||||
void gtk_timeline_pause (GtkTimeline *timeline);
|
void _gtk_timeline_pause (GtkTimeline *timeline);
|
||||||
void gtk_timeline_rewind (GtkTimeline *timeline);
|
void _gtk_timeline_rewind (GtkTimeline *timeline);
|
||||||
|
|
||||||
gboolean gtk_timeline_is_running (GtkTimeline *timeline);
|
gboolean _gtk_timeline_is_running (GtkTimeline *timeline);
|
||||||
|
|
||||||
guint gtk_timeline_get_fps (GtkTimeline *timeline);
|
guint _gtk_timeline_get_fps (GtkTimeline *timeline);
|
||||||
void gtk_timeline_set_fps (GtkTimeline *timeline,
|
void _gtk_timeline_set_fps (GtkTimeline *timeline,
|
||||||
guint fps);
|
guint fps);
|
||||||
|
|
||||||
gboolean gtk_timeline_get_loop (GtkTimeline *timeline);
|
gboolean _gtk_timeline_get_loop (GtkTimeline *timeline);
|
||||||
void gtk_timeline_set_loop (GtkTimeline *timeline,
|
void _gtk_timeline_set_loop (GtkTimeline *timeline,
|
||||||
gboolean loop);
|
gboolean loop);
|
||||||
|
|
||||||
guint gtk_timeline_get_duration (GtkTimeline *timeline);
|
guint _gtk_timeline_get_duration (GtkTimeline *timeline);
|
||||||
void gtk_timeline_set_duration (GtkTimeline *timeline,
|
void _gtk_timeline_set_duration (GtkTimeline *timeline,
|
||||||
guint duration);
|
guint duration);
|
||||||
|
|
||||||
GdkScreen *gtk_timeline_get_screen (GtkTimeline *timeline);
|
GdkScreen * _gtk_timeline_get_screen (GtkTimeline *timeline);
|
||||||
void gtk_timeline_set_screen (GtkTimeline *timeline,
|
void _gtk_timeline_set_screen (GtkTimeline *timeline,
|
||||||
GdkScreen *screen);
|
GdkScreen *screen);
|
||||||
|
|
||||||
GtkTimelineDirection gtk_timeline_get_direction (GtkTimeline *timeline);
|
GtkTimelineDirection _gtk_timeline_get_direction (GtkTimeline *timeline);
|
||||||
void gtk_timeline_set_direction (GtkTimeline *timeline,
|
void _gtk_timeline_set_direction (GtkTimeline *timeline,
|
||||||
GtkTimelineDirection direction);
|
GtkTimelineDirection direction);
|
||||||
|
|
||||||
gdouble gtk_timeline_get_progress (GtkTimeline *timeline);
|
gdouble _gtk_timeline_get_progress (GtkTimeline *timeline);
|
||||||
|
|
||||||
GtkTimelineProgressType gtk_timeline_get_progress_type (GtkTimeline *timeline);
|
GtkTimelineProgressType _gtk_timeline_get_progress_type (GtkTimeline *timeline);
|
||||||
void gtk_timeline_set_progress_type (GtkTimeline *timeline,
|
void _gtk_timeline_set_progress_type (GtkTimeline *timeline,
|
||||||
GtkTimelineProgressType progress_type);
|
GtkTimelineProgressType progress_type);
|
||||||
|
|
||||||
|
|
||||||
|
@ -4097,10 +4097,10 @@ _gtk_widget_start_state_transitions (GtkWidget *widget)
|
|||||||
|
|
||||||
if (animation_desc)
|
if (animation_desc)
|
||||||
{
|
{
|
||||||
if (gtk_animation_description_get_loop (animation_desc))
|
if (_gtk_animation_description_get_loop (animation_desc))
|
||||||
_gtk_widget_notify_state_change (widget, flag, TRUE);
|
_gtk_widget_notify_state_change (widget, flag, TRUE);
|
||||||
|
|
||||||
gtk_animation_description_unref (animation_desc);
|
_gtk_animation_description_unref (animation_desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
flag >>= 1;
|
flag >>= 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user