headers: don't mark _get_type and _quark functions const

They register types as a side effect, and newer compilers drop calls
whose result isn't used.

The same change as GTK 3 commit f30efa7759 by Matthias Clasen.
This commit is contained in:
Daemonratte 2026-10-15 09:53:23 +02:00
commit d1ad63a098
252 changed files with 682 additions and 682 deletions

View file

@ -155,7 +155,7 @@ void gdk_rectangle_union (const GdkRectangle *src1,
const GdkRectangle *src2,
GdkRectangle *dest);
GType gdk_rectangle_get_type (void) G_GNUC_CONST;
GType gdk_rectangle_get_type (void);
#define GDK_TYPE_RECTANGLE (gdk_rectangle_get_type ())

View file

@ -48,7 +48,7 @@ gdk_event_get_root_coords
gdk_event_get_screen
gdk_event_get_state
gdk_event_get_time
gdk_event_get_type G_GNUC_CONST
gdk_event_get_type
gdk_event_handler_set
gdk_event_new
gdk_event_peek
@ -186,7 +186,7 @@ gdk_utf8_to_compound_text
#if IN_HEADER(__GDK_PROPERTY_H__)
#if IN_FILE(__GDK_C__)
gdk_atom_get_type G_GNUC_CONST
gdk_atom_get_type
#endif
#endif
@ -229,54 +229,54 @@ gdk_x11_free_text_list
#if IN_HEADER(__GDK_ENUM_TYPES_H__)
#if IN_FILE(__GDK_ENUM_TYPES_C__)
gdk_rgb_dither_get_type G_GNUC_CONST
gdk_drag_protocol_get_type G_GNUC_CONST
gdk_input_source_get_type G_GNUC_CONST
gdk_input_condition_get_type G_GNUC_CONST
gdk_input_mode_get_type G_GNUC_CONST
gdk_axis_use_get_type G_GNUC_CONST
gdk_byte_order_get_type G_GNUC_CONST
gdk_cap_style_get_type G_GNUC_CONST
gdk_crossing_mode_get_type G_GNUC_CONST
gdk_extension_mode_get_type G_GNUC_CONST
gdk_event_mask_get_type G_GNUC_CONST
gdk_event_type_get_type G_GNUC_CONST
gdk_fill_get_type G_GNUC_CONST
gdk_rgb_dither_get_type
gdk_drag_protocol_get_type
gdk_input_source_get_type
gdk_input_condition_get_type
gdk_input_mode_get_type
gdk_axis_use_get_type
gdk_byte_order_get_type
gdk_cap_style_get_type
gdk_crossing_mode_get_type
gdk_extension_mode_get_type
gdk_event_mask_get_type
gdk_event_type_get_type
gdk_fill_get_type
#ifndef GDK_DISABLE_DEPRECATED
gdk_fill_rule_get_type G_GNUC_CONST
gdk_fill_rule_get_type
#endif
gdk_filter_return_get_type G_GNUC_CONST
gdk_function_get_type G_GNUC_CONST
gdk_grab_status_get_type G_GNUC_CONST
gdk_gravity_get_type G_GNUC_CONST
gdk_join_style_get_type G_GNUC_CONST
gdk_line_style_get_type G_GNUC_CONST
gdk_modifier_type_get_type G_GNUC_CONST
gdk_notify_type_get_type G_GNUC_CONST
gdk_overlap_type_get_type G_GNUC_CONST
gdk_owner_change_get_type G_GNUC_CONST
gdk_property_state_get_type G_GNUC_CONST
gdk_prop_mode_get_type G_GNUC_CONST
gdk_scroll_direction_get_type G_GNUC_CONST
gdk_setting_action_get_type G_GNUC_CONST
gdk_status_get_type G_GNUC_CONST
gdk_subwindow_mode_get_type G_GNUC_CONST
gdk_visibility_state_get_type G_GNUC_CONST
gdk_wm_decoration_get_type G_GNUC_CONST
gdk_wm_function_get_type G_GNUC_CONST
gdk_font_type_get_type G_GNUC_CONST
gdk_cursor_type_get_type G_GNUC_CONST
gdk_drag_action_get_type G_GNUC_CONST
gdk_gc_values_mask_get_type G_GNUC_CONST
gdk_window_attributes_type_get_type G_GNUC_CONST
gdk_window_class_get_type G_GNUC_CONST
gdk_window_edge_get_type G_GNUC_CONST
gdk_window_hints_get_type G_GNUC_CONST
gdk_window_state_get_type G_GNUC_CONST
gdk_window_type_get_type G_GNUC_CONST
gdk_window_type_hint_get_type G_GNUC_CONST
gdk_image_type_get_type G_GNUC_CONST
gdk_visual_type_get_type G_GNUC_CONST
gdk_filter_return_get_type
gdk_function_get_type
gdk_grab_status_get_type
gdk_gravity_get_type
gdk_join_style_get_type
gdk_line_style_get_type
gdk_modifier_type_get_type
gdk_notify_type_get_type
gdk_overlap_type_get_type
gdk_owner_change_get_type
gdk_property_state_get_type
gdk_prop_mode_get_type
gdk_scroll_direction_get_type
gdk_setting_action_get_type
gdk_status_get_type
gdk_subwindow_mode_get_type
gdk_visibility_state_get_type
gdk_wm_decoration_get_type
gdk_wm_function_get_type
gdk_font_type_get_type
gdk_cursor_type_get_type
gdk_drag_action_get_type
gdk_gc_values_mask_get_type
gdk_window_attributes_type_get_type
gdk_window_class_get_type
gdk_window_edge_get_type
gdk_window_hints_get_type
gdk_window_state_get_type
gdk_window_type_get_type
gdk_window_type_hint_get_type
gdk_image_type_get_type
gdk_visual_type_get_type
#endif
#endif
@ -285,7 +285,7 @@ gdk_visual_type_get_type G_GNUC_CONST
#ifndef GDK_DISABLE_DEPRECATED
gdk_font_from_description
#endif
gdk_font_get_type G_GNUC_CONST
gdk_font_get_type
gdk_font_ref
gdk_font_unref
#ifndef GDK_DISABLE_DEPRECATED
@ -346,7 +346,7 @@ gdk_color_alloc
gdk_color_copy
gdk_color_equal
gdk_color_free
gdk_color_get_type G_GNUC_CONST
gdk_color_get_type
gdk_color_hash
gdk_colormap_alloc_color
gdk_colormap_get_system
@ -363,7 +363,7 @@ gdk_color_to_string
#if IN_HEADER(__GDK_COLOR_H__)
#if IN_FILE(__GDK_COLOR_X11_C__)
gdk_colormap_new
gdk_colormap_get_type G_GNUC_CONST
gdk_colormap_get_type
#ifndef GDK_DISABLE_DEPRECATED
gdk_colormap_change
gdk_colors_alloc
@ -380,7 +380,7 @@ gdk_colormap_get_screen
#if IN_HEADER(__GDK_CURSOR_H__)
#if IN_FILE(__GDK_CURSOR_C__)
gdk_cursor_get_type G_GNUC_CONST
gdk_cursor_get_type
gdk_cursor_get_cursor_type
gdk_cursor_new
gdk_cursor_ref
@ -412,7 +412,7 @@ gdk_device_get_name
gdk_device_get_n_axes
gdk_device_get_n_keys
gdk_device_get_source
gdk_device_get_type G_GNUC_CONST
gdk_device_get_type
gdk_device_set_axis_use
gdk_device_set_key
gdk_device_set_source
@ -458,7 +458,7 @@ gdk_display_close
gdk_display_get_core_pointer
gdk_display_get_event
gdk_display_get_pointer
gdk_display_get_type G_GNUC_CONST
gdk_display_get_type
gdk_display_get_window_at_pointer
gdk_display_is_closed
gdk_display_peek_event
@ -533,7 +533,7 @@ gdk_display_set_double_click_time
#if IN_HEADER(__GDK_DISPLAY_MANAGER_H__)
#if IN_FILE(__GDK_DISPLAY_MANAGER_C__)
gdk_display_manager_get
gdk_display_manager_get_type G_GNUC_CONST
gdk_display_manager_get_type
gdk_display_manager_list_displays
gdk_display_manager_set_default_display
gdk_display_manager_get_default_display
@ -544,7 +544,7 @@ gdk_display_manager_get_default_display
#if IN_FILE(__GDK_DND_X11_C__)
gdk_drag_abort
gdk_drag_begin
gdk_drag_context_get_type G_GNUC_CONST
gdk_drag_context_get_type
#ifndef GDK_DISABLE_DEPRECATED
gdk_drag_context_new
gdk_drag_context_ref
@ -598,7 +598,7 @@ gdk_drawable_get_visual
#endif
gdk_drawable_get_depth
gdk_drawable_get_image
gdk_drawable_get_type G_GNUC_CONST
gdk_drawable_get_type
gdk_drawable_get_visible_region
gdk_drawable_set_colormap
gdk_draw_arc
@ -630,7 +630,7 @@ gdk_draw_layout_with_colors
#if IN_HEADER(__GDK_GC_H__)
#if IN_FILE(__GDK_GC_C__)
gdk_gc_new
gdk_gc_get_type G_GNUC_CONST
gdk_gc_get_type
gdk_gc_new_with_values
#ifndef GDK_DISABLE_DEPRECATED
gdk_gc_ref
@ -672,7 +672,7 @@ gdk_gc_get_screen
#if IN_HEADER(__GDK_PIXMAP_X11_H__)
#if IN_FILE(__GDK_PIXMAP_X11_C__)
#ifdef GDK_WINDOWING_X11
gdk_pixmap_impl_x11_get_type G_GNUC_CONST
gdk_pixmap_impl_x11_get_type
#endif
#endif
#endif
@ -680,7 +680,7 @@ gdk_pixmap_impl_x11_get_type G_GNUC_CONST
#if IN_HEADER(__GDK_WINDOW_X11_H__)
#if IN_FILE(__GDK_WINDOW_X11_C__)
#ifdef GDK_WINDOWING_X11
gdk_window_impl_x11_get_type G_GNUC_CONST
gdk_window_impl_x11_get_type
#endif
#endif
#endif
@ -767,7 +767,7 @@ gdk_window_is_input_only
gdk_window_is_shaped
gdk_window_is_viewable
gdk_window_is_visible
gdk_window_object_get_type G_GNUC_CONST
gdk_window_object_get_type
gdk_window_peek_children
gdk_window_process_all_updates
gdk_window_process_updates
@ -801,7 +801,7 @@ gdk_offscreen_window_get_embedder
#if IN_HEADER(__GDK_INTERNALS_H__)
#if IN_FILE(__GDK_OFFSCREEN_WINDOW_C__)
gdk_offscreen_window_get_type G_GNUC_CONST
gdk_offscreen_window_get_type
#endif
#endif
@ -892,14 +892,14 @@ gdk_image_new_bitmap
#endif
gdk_image_get_pixel
gdk_image_put_pixel
gdk_image_get_type G_GNUC_CONST
gdk_image_get_type
#endif
#endif
#if IN_HEADER(__GDK_KEYS_H__)
#if IN_FILE(__GDK_KEYS_C__)
gdk_keymap_get_default
gdk_keymap_get_type G_GNUC_CONST
gdk_keymap_get_type
gdk_keyval_is_lower G_GNUC_CONST
gdk_keyval_is_upper G_GNUC_CONST
gdk_keyval_to_lower G_GNUC_CONST
@ -974,7 +974,7 @@ gdk_visual_get_best_with_both
gdk_visual_get_best_with_depth
gdk_visual_get_best_with_type
gdk_visual_get_screen
gdk_visual_get_type G_GNUC_CONST
gdk_visual_get_type
#endif
#endif
@ -999,7 +999,7 @@ gdk_pango_context_set_colormap
gdk_pango_layout_get_clip_region
gdk_pango_layout_line_get_clip_region
gdk_pango_renderer_get_default
gdk_pango_renderer_get_type G_GNUC_CONST
gdk_pango_renderer_get_type
gdk_pango_renderer_new
gdk_pango_renderer_set_drawable
gdk_pango_renderer_set_gc
@ -1036,7 +1036,7 @@ gdk_pixmap_create_from_xpm
gdk_pixmap_colormap_create_from_xpm_d
gdk_pixmap_create_from_xpm_d
gdk_pixmap_get_size
gdk_pixmap_get_type G_GNUC_CONST
gdk_pixmap_get_type
gdk_pixmap_new
#endif
#endif
@ -1093,7 +1093,7 @@ gdk_region_polygon
#if IN_FILE(__GDK_RGB_C__)
gdk_rgb_cmap_free
gdk_rgb_cmap_copy
gdk_rgb_cmap_get_type G_GNUC_CONST
gdk_rgb_cmap_get_type
gdk_rgb_cmap_new
gdk_rgb_colormap_ditherable
gdk_rgb_ditherable
@ -1129,7 +1129,7 @@ gdk_draw_rgbx_64_image_dithalign
#if IN_HEADER(__GDK_SCREEN_H__)
#if IN_FILE(__GDK_SCREEN_C__)
gdk_screen_get_type G_GNUC_CONST
gdk_screen_get_type
gdk_screen_get_monitor_at_point
gdk_screen_get_monitor_at_window
gdk_screen_set_font_options
@ -1302,7 +1302,7 @@ gdk_win32_selection_add_targets
#if IN_HEADER(__GDK_WIN32_H__)
#if IN_FILE(__GDK_KEYS_WIN32_C__)
gdk_win32_keymap_get_type G_GNUC_CONST
gdk_win32_keymap_get_type
gdk_win32_keymap_check_compose
#endif
#endif
@ -1417,7 +1417,7 @@ gdk_xid_table_lookup_for_display
#if IN_HEADER(__GDK_APP_LAUNCH_CONTEXT_H__)
#if IN_FILE(__GDK_APP_LAUNCH_CONTEXT_C__)
gdk_app_launch_context_get_type G_GNUC_CONST
gdk_app_launch_context_get_type
gdk_app_launch_context_new
gdk_app_launch_context_set_display
gdk_app_launch_context_set_screen
@ -1430,7 +1430,7 @@ gdk_app_launch_context_set_icon_name
#if IN_HEADER(__GDK_WINDOW_IMPL_H__)
#if IN_FILE(__GDK_WINDOW_IMPL_C__)
gdk_window_impl_get_type G_GNUC_CONST
gdk_window_impl_get_type
#endif
#endif

View file

@ -86,7 +86,7 @@ struct _GdkColormapClass
};
GType gdk_colormap_get_type (void) G_GNUC_CONST;
GType gdk_colormap_get_type (void);
GdkColormap* gdk_colormap_new (GdkVisual *visual,
gboolean allocate);
@ -140,7 +140,7 @@ gboolean gdk_color_equal (const GdkColor *colora,
const GdkColor *colorb);
gchar * gdk_color_to_string (const GdkColor *color);
GType gdk_color_get_type (void) G_GNUC_CONST;
GType gdk_color_get_type (void);
/* The following functions are deprecated */
#ifndef GDK_DISABLE_DEPRECATED

View file

@ -134,7 +134,7 @@ struct _GdkCursor
/* Cursors
*/
GType gdk_cursor_get_type (void) G_GNUC_CONST;
GType gdk_cursor_get_type (void);
GdkCursor* gdk_cursor_new_for_display (GdkDisplay *display,
GdkCursorType cursor_type);

View file

@ -138,7 +138,7 @@ struct _GdkDisplayPointerHooks
gint *win_y);
};
GType gdk_display_get_type (void) G_GNUC_CONST;
GType gdk_display_get_type (void);
GdkDisplay *gdk_display_open (const gchar *display_name);
const gchar * gdk_display_get_name (GdkDisplay *display);

View file

@ -54,7 +54,7 @@ struct _GdkDisplayManagerClass
GdkDisplay *display);
};
GType gdk_display_manager_get_type (void) G_GNUC_CONST;
GType gdk_display_manager_get_type (void);
GdkDisplayManager *gdk_display_manager_get (void);
GdkDisplay * gdk_display_manager_get_default_display (GdkDisplayManager *display_manager);

View file

@ -103,7 +103,7 @@ struct _GdkDragContextClass {
/* Drag and Drop */
GType gdk_drag_context_get_type (void) G_GNUC_CONST;
GType gdk_drag_context_get_type (void);
#if !defined (GDK_DISABLE_DEPRECATED) || defined (GDK_COMPILATION)
GdkDragContext * gdk_drag_context_new (void);
#endif

View file

@ -236,7 +236,7 @@ struct _GdkTrapezoid
double y1, x11, x21, y2, x12, x22;
};
GType gdk_drawable_get_type (void) G_GNUC_CONST;
GType gdk_drawable_get_type (void);
/* Manipulation of drawables
*/

View file

@ -17,7 +17,7 @@ G_BEGIN_DECLS
/*** END file-production ***/
/*** BEGIN value-header ***/
GType @enum_name@_get_type (void) G_GNUC_CONST;
GType @enum_name@_get_type (void);
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
/*** END value-header ***/

View file

@ -513,7 +513,7 @@ union _GdkEvent
GdkEventGrabBroken grab_broken;
};
GType gdk_event_get_type (void) G_GNUC_CONST;
GType gdk_event_get_type (void);
gboolean gdk_events_pending (void);
GdkEvent* gdk_event_get (void);

View file

@ -53,7 +53,7 @@ struct _GdkFont
gint descent;
};
GType gdk_font_get_type (void) G_GNUC_CONST;
GType gdk_font_get_type (void);
GdkFont* gdk_font_ref (GdkFont *font);
void gdk_font_unref (GdkFont *font);

View file

@ -221,7 +221,7 @@ struct _GdkGCClass
#ifndef GDK_DISABLE_DEPRECATED
GType gdk_gc_get_type (void) G_GNUC_CONST;
GType gdk_gc_get_type (void);
GdkGC *gdk_gc_new (GdkDrawable *drawable);
GdkGC *gdk_gc_new_with_values (GdkDrawable *drawable,
GdkGCValues *values,

View file

@ -90,7 +90,7 @@ struct _GdkImageClass
GObjectClass parent_class;
};
GType gdk_image_get_type (void) G_GNUC_CONST;
GType gdk_image_get_type (void);
#ifndef GDK_DISABLE_DEPRECATED
GdkImage* gdk_image_new (GdkImageType type,

View file

@ -123,7 +123,7 @@ struct _GdkTimeCoord
gdouble axes[GDK_MAX_TIMECOORD_AXES];
};
GType gdk_device_get_type (void) G_GNUC_CONST;
GType gdk_device_get_type (void);
#ifndef GDK_MULTIHEAD_SAFE
/* Returns a list of GdkDevice * */

View file

@ -538,11 +538,11 @@ struct _GdkPaintableIface
void (* end_paint) (GdkPaintable *paintable);
};
GType _gdk_paintable_get_type (void) G_GNUC_CONST;
GType _gdk_paintable_get_type (void);
/* Implementation types */
GType _gdk_window_impl_get_type (void) G_GNUC_CONST;
GType _gdk_pixmap_impl_get_type (void) G_GNUC_CONST;
GType _gdk_window_impl_get_type (void);
GType _gdk_pixmap_impl_get_type (void);
/**

View file

@ -78,7 +78,7 @@ struct _GdkKeymapClass
void (*state_changed) (GdkKeymap *keymap);
};
GType gdk_keymap_get_type (void) G_GNUC_CONST;
GType gdk_keymap_get_type (void);
#ifndef GDK_MULTIHEAD_SAFE
GdkKeymap* gdk_keymap_get_default (void);

View file

@ -86,7 +86,7 @@ struct _GdkPangoRendererClass
PangoRendererClass parent_class;
};
GType gdk_pango_renderer_get_type (void) G_GNUC_CONST;
GType gdk_pango_renderer_get_type (void);
PangoRenderer *gdk_pango_renderer_new (GdkScreen *screen);
PangoRenderer *gdk_pango_renderer_get_default (GdkScreen *screen);

View file

@ -62,7 +62,7 @@ struct _GdkPixmapObjectClass
};
GType gdk_pixmap_get_type (void) G_GNUC_CONST;
GType gdk_pixmap_get_type (void);
/* Pixmaps
*/

View file

@ -42,7 +42,7 @@ typedef enum
GDK_PROP_MODE_APPEND
} GdkPropMode;
GType gdk_atom_get_type (void) G_GNUC_CONST;
GType gdk_atom_get_type (void);
GdkAtom gdk_atom_intern (const gchar *atom_name,
gboolean only_if_exists);
GdkAtom gdk_atom_intern_static_string (const gchar *atom_name);

View file

@ -127,7 +127,7 @@ void gdk_draw_indexed_image (GdkDrawable *drawable,
const guchar *buf,
gint rowstride,
GdkRgbCmap *cmap);
GType gdk_rgb_cmap_get_type (void) G_GNUC_CONST;
GType gdk_rgb_cmap_get_type (void);
GdkRgbCmap *gdk_rgb_cmap_copy (const GdkRgbCmap *cmap);
GdkRgbCmap *gdk_rgb_cmap_new (guint32 *colors,
gint n_colors);

View file

@ -66,7 +66,7 @@ struct _GdkScreenClass
void (*monitors_changed) (GdkScreen *screen);
};
GType gdk_screen_get_type (void) G_GNUC_CONST;
GType gdk_screen_get_type (void);
GdkColormap *gdk_screen_get_default_colormap (GdkScreen *screen);
void gdk_screen_set_default_colormap (GdkScreen *screen,
GdkColormap *colormap);

View file

@ -97,7 +97,7 @@ struct _GdkVisual
gint GSEAL (blue_prec);
};
GType gdk_visual_get_type (void) G_GNUC_CONST;
GType gdk_visual_get_type (void);
#ifndef GDK_MULTIHEAD_SAFE
gint gdk_visual_get_best_depth (void);

View file

@ -328,7 +328,7 @@ struct _GdkWindowObjectClass
/* Windows
*/
GType gdk_window_object_get_type (void) G_GNUC_CONST;
GType gdk_window_object_get_type (void);
GdkWindow* gdk_window_new (GdkWindow *parent,
GdkWindowAttr *attributes,
gint attributes_mask);

View file

@ -150,7 +150,7 @@ struct _GdkWindowImplIface
};
/* Interface Functions */
GType gdk_window_impl_get_type (void) G_GNUC_CONST;
GType gdk_window_impl_get_type (void);
/* private definitions from gdkwindow.h */

File diff suppressed because it is too large Load diff

View file

@ -70,7 +70,7 @@ struct _GtkAboutDialogClass
void (*_gtk_reserved3) (void);
};
GType gtk_about_dialog_get_type (void) G_GNUC_CONST;
GType gtk_about_dialog_get_type (void);
GtkWidget *gtk_about_dialog_new (void);
void gtk_show_about_dialog (GtkWindow *parent,
const gchar *first_property_name,

View file

@ -119,7 +119,7 @@ struct _GtkAccelKey
/* -- Accelerator Groups --- */
GType gtk_accel_group_get_type (void) G_GNUC_CONST;
GType gtk_accel_group_get_type (void);
GtkAccelGroup* gtk_accel_group_new (void);
gboolean gtk_accel_group_get_is_locked (GtkAccelGroup *accel_group);
GdkModifierType

View file

@ -94,7 +94,7 @@ struct _GtkAccelLabelClass
#define gtk_accel_label_accelerator_width gtk_accel_label_get_accel_width
#endif /* GTK_DISABLE_DEPRECATED */
GType gtk_accel_label_get_type (void) G_GNUC_CONST;
GType gtk_accel_label_get_type (void);
GtkWidget* gtk_accel_label_new (const gchar *string);
GtkWidget* gtk_accel_label_get_accel_widget (GtkAccelLabel *accel_label);
guint gtk_accel_label_get_accel_width (GtkAccelLabel *accel_label);

View file

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

View file

@ -66,7 +66,7 @@ struct _GtkAccessibleClass
void (*_gtk_reserved4) (void);
};
GType gtk_accessible_get_type (void) G_GNUC_CONST;
GType gtk_accessible_get_type (void);
void gtk_accessible_set_widget (GtkAccessible *accessible,
GtkWidget *widget);

View file

@ -85,7 +85,7 @@ struct _GtkActionClass
void (*_gtk_reserved4) (void);
};
GType gtk_action_get_type (void) G_GNUC_CONST;
GType gtk_action_get_type (void);
GtkAction *gtk_action_new (const gchar *name,
const gchar *label,
const gchar *tooltip,

View file

@ -108,7 +108,7 @@ struct _GtkRadioActionEntry
gint value;
};
GType gtk_action_group_get_type (void) G_GNUC_CONST;
GType gtk_action_group_get_type (void);
GtkActionGroup *gtk_action_group_new (const gchar *name);
const gchar *gtk_action_group_get_name (GtkActionGroup *action_group);
gboolean gtk_action_group_get_sensitive (GtkActionGroup *action_group);

View file

@ -66,7 +66,7 @@ struct _GtkActivatableIface
};
GType gtk_activatable_get_type (void) G_GNUC_CONST;
GType gtk_activatable_get_type (void);
void gtk_activatable_sync_action_properties (GtkActivatable *activatable,
GtkAction *action);

View file

@ -75,7 +75,7 @@ struct _GtkAdjustmentClass
};
GType gtk_adjustment_get_type (void) G_GNUC_CONST;
GType gtk_adjustment_get_type (void);
GtkObject* gtk_adjustment_new (gdouble value,
gdouble lower,
gdouble upper,

View file

@ -65,7 +65,7 @@ struct _GtkAlignmentClass
};
GType gtk_alignment_get_type (void) G_GNUC_CONST;
GType gtk_alignment_get_type (void);
GtkWidget* gtk_alignment_new (gfloat xalign,
gfloat yalign,
gfloat xscale,

View file

@ -63,7 +63,7 @@ struct _GtkArrowClass
};
GType gtk_arrow_get_type (void) G_GNUC_CONST;
GType gtk_arrow_get_type (void);
GtkWidget* gtk_arrow_new (GtkArrowType arrow_type,
GtkShadowType shadow_type);
void gtk_arrow_set (GtkArrow *arrow,

View file

@ -66,7 +66,7 @@ struct _GtkAspectFrameClass
};
GType gtk_aspect_frame_get_type (void) G_GNUC_CONST;
GType gtk_aspect_frame_get_type (void);
GtkWidget* gtk_aspect_frame_new (const gchar *label,
gfloat xalign,
gfloat yalign,

View file

@ -119,7 +119,7 @@ struct _GtkAssistantClass
*/
typedef gint (*GtkAssistantPageFunc) (gint current_page, gpointer data);
GType gtk_assistant_get_type (void) G_GNUC_CONST;
GType gtk_assistant_get_type (void);
GtkWidget *gtk_assistant_new (void);
gint gtk_assistant_get_current_page (GtkAssistant *assistant);
void gtk_assistant_set_current_page (GtkAssistant *assistant,

View file

@ -65,7 +65,7 @@ struct _GtkButtonBoxClass
};
GType gtk_button_box_get_type (void) G_GNUC_CONST;
GType gtk_button_box_get_type (void);
GtkButtonBoxStyle gtk_button_box_get_layout (GtkButtonBox *widget);
void gtk_button_box_set_layout (GtkButtonBox *widget,

View file

@ -61,7 +61,7 @@ struct _GtkBinClass
};
GType gtk_bin_get_type (void) G_GNUC_CONST;
GType gtk_bin_get_type (void);
GtkWidget *gtk_bin_get_child (GtkBin *bin);

View file

@ -101,7 +101,7 @@ struct _GtkBoxChild
};
#endif
GType gtk_box_get_type (void) G_GNUC_CONST;
GType gtk_box_get_type (void);
GtkWidget* _gtk_box_new (GtkOrientation orientation,
gboolean homogeneous,
gint spacing);

View file

@ -133,7 +133,7 @@ struct _GtkBuildableIface
};
GType gtk_buildable_get_type (void) G_GNUC_CONST;
GType gtk_buildable_get_type (void);
void gtk_buildable_set_name (GtkBuildable *buildable,
const gchar *name);

View file

@ -91,7 +91,7 @@ typedef void (*GtkBuilderConnectFunc) (GtkBuilder *builder,
GConnectFlags flags,
gpointer user_data);
GType gtk_builder_get_type (void) G_GNUC_CONST;
GType gtk_builder_get_type (void);
GtkBuilder* gtk_builder_new (void);
guint gtk_builder_add_from_file (GtkBuilder *builder,

View file

@ -88,7 +88,7 @@ struct _GtkButtonClass
};
GType gtk_button_get_type (void) G_GNUC_CONST;
GType gtk_button_get_type (void);
GtkWidget* gtk_button_new (void);
GtkWidget* gtk_button_new_with_label (const gchar *label);
GtkWidget* gtk_button_new_from_stock (const gchar *stock_id);

View file

@ -156,7 +156,7 @@ struct _GtkCalendarClass
};
GType gtk_calendar_get_type (void) G_GNUC_CONST;
GType gtk_calendar_get_type (void);
GtkWidget* gtk_calendar_new (void);
gboolean gtk_calendar_select_month (GtkCalendar *calendar,

View file

@ -51,7 +51,7 @@ struct _GtkCellEditableIface
};
GType gtk_cell_editable_get_type (void) G_GNUC_CONST;
GType gtk_cell_editable_get_type (void);
void gtk_cell_editable_start_editing (GtkCellEditable *cell_editable,
GdkEvent *event);

View file

@ -75,7 +75,7 @@ struct _GtkCellLayoutIface
GList* (* get_cells) (GtkCellLayout *cell_layout);
};
GType gtk_cell_layout_get_type (void) G_GNUC_CONST;
GType gtk_cell_layout_get_type (void);
void gtk_cell_layout_pack_start (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gboolean expand);

View file

@ -122,7 +122,7 @@ struct _GtkCellRendererClass
void (*_gtk_reserved2) (void);
};
GType gtk_cell_renderer_get_type (void) G_GNUC_CONST;
GType gtk_cell_renderer_get_type (void);
void gtk_cell_renderer_get_size (GtkCellRenderer *cell,
GtkWidget *widget,

View file

@ -82,7 +82,7 @@ struct _GtkCellRendererAccelClass
void (*_gtk_reserved4) (void);
};
GType gtk_cell_renderer_accel_get_type (void) G_GNUC_CONST;
GType gtk_cell_renderer_accel_get_type (void);
GtkCellRenderer *gtk_cell_renderer_accel_new (void);

View file

@ -56,7 +56,7 @@ struct _GtkCellRendererComboClass
GtkCellRendererTextClass parent;
};
GType gtk_cell_renderer_combo_get_type (void) G_GNUC_CONST;
GType gtk_cell_renderer_combo_get_type (void);
GtkCellRenderer *gtk_cell_renderer_combo_new (void);
G_END_DECLS

View file

@ -61,7 +61,7 @@ struct _GtkCellRendererPixbufClass
void (*_gtk_reserved4) (void);
};
GType gtk_cell_renderer_pixbuf_get_type (void) G_GNUC_CONST;
GType gtk_cell_renderer_pixbuf_get_type (void);
GtkCellRenderer *gtk_cell_renderer_pixbuf_new (void);

View file

@ -66,7 +66,7 @@ struct _GtkCellRendererProgressClass
void (*_gtk_reserved4) (void);
};
GType gtk_cell_renderer_progress_get_type (void) G_GNUC_CONST;
GType gtk_cell_renderer_progress_get_type (void);
GtkCellRenderer* gtk_cell_renderer_progress_new (void);
G_END_DECLS

View file

@ -59,7 +59,7 @@ struct _GtkCellRendererSpinnerClass
void (*_gtk_reserved4) (void);
};
GType gtk_cell_renderer_spinner_get_type (void) G_GNUC_CONST;
GType gtk_cell_renderer_spinner_get_type (void);
GtkCellRenderer *gtk_cell_renderer_spinner_new (void);
G_END_DECLS

View file

@ -93,7 +93,7 @@ struct _GtkCellRendererTextClass
void (*_gtk_reserved4) (void);
};
GType gtk_cell_renderer_text_get_type (void) G_GNUC_CONST;
GType gtk_cell_renderer_text_get_type (void);
GtkCellRenderer *gtk_cell_renderer_text_new (void);
void gtk_cell_renderer_text_set_fixed_height_from_font (GtkCellRendererText *renderer,

View file

@ -64,7 +64,7 @@ struct _GtkCellRendererToggleClass
void (*_gtk_reserved4) (void);
};
GType gtk_cell_renderer_toggle_get_type (void) G_GNUC_CONST;
GType gtk_cell_renderer_toggle_get_type (void);
GtkCellRenderer *gtk_cell_renderer_toggle_new (void);
gboolean gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle);

View file

@ -54,7 +54,7 @@ struct _GtkCellViewClass
GtkWidgetClass parent_class;
};
GType gtk_cell_view_get_type (void) G_GNUC_CONST;
GType gtk_cell_view_get_type (void);
GtkWidget *gtk_cell_view_new (void);
GtkWidget *gtk_cell_view_new_with_text (const gchar *text);
GtkWidget *gtk_cell_view_new_with_markup (const gchar *markup);

View file

@ -68,7 +68,7 @@ struct _GtkCheckButtonClass
};
GType gtk_check_button_get_type (void) G_GNUC_CONST;
GType gtk_check_button_get_type (void);
GtkWidget* gtk_check_button_new (void);
GtkWidget* gtk_check_button_new_with_label (const gchar *label);
GtkWidget* gtk_check_button_new_with_mnemonic (const gchar *label);

View file

@ -74,7 +74,7 @@ struct _GtkCheckMenuItemClass
};
GType gtk_check_menu_item_get_type (void) G_GNUC_CONST;
GType gtk_check_menu_item_get_type (void);
GtkWidget* gtk_check_menu_item_new (void);
GtkWidget* gtk_check_menu_item_new_with_label (const gchar *label);

View file

@ -67,7 +67,7 @@ typedef void (* GtkClipboardGetFunc) (GtkClipboard *clipboard,
typedef void (* GtkClipboardClearFunc) (GtkClipboard *clipboard,
gpointer user_data_or_owner);
GType gtk_clipboard_get_type (void) G_GNUC_CONST;
GType gtk_clipboard_get_type (void);
GtkClipboard *gtk_clipboard_get_for_display (GdkDisplay *display,
GdkAtom selection);

View file

@ -440,7 +440,7 @@ struct _GtkCell
} u;
};
GType gtk_clist_get_type (void) G_GNUC_CONST;
GType gtk_clist_get_type (void);
/* create a new GtkCList */
GtkWidget* gtk_clist_new (gint columns);

View file

@ -80,7 +80,7 @@ struct _GtkColorButtonClass {
};
GType gtk_color_button_get_type (void) G_GNUC_CONST;
GType gtk_color_button_get_type (void);
GtkWidget *gtk_color_button_new (void);
GtkWidget *gtk_color_button_new_with_color (const GdkColor *color);
void gtk_color_button_set_color (GtkColorButton *color_button,

View file

@ -79,7 +79,7 @@ struct _GtkColorSelectionClass
/* ColorSelection */
GType gtk_color_selection_get_type (void) G_GNUC_CONST;
GType gtk_color_selection_get_type (void);
GtkWidget *gtk_color_selection_new (void);
gboolean gtk_color_selection_get_has_opacity_control (GtkColorSelection *colorsel);
void gtk_color_selection_set_has_opacity_control (GtkColorSelection *colorsel,

View file

@ -72,7 +72,7 @@ struct _GtkColorSelectionDialogClass
/* ColorSelectionDialog */
GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
GType gtk_color_selection_dialog_get_type (void);
GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel);

View file

@ -84,7 +84,7 @@ struct _GtkComboClass {
void (*_gtk_reserved4) (void);
};
GType gtk_combo_get_type (void) G_GNUC_CONST;
GType gtk_combo_get_type (void);
GtkWidget* gtk_combo_new (void);
/* the text in the entry must be or not be in the list */

View file

@ -67,7 +67,7 @@ struct _GtkComboBoxClass
/* construction */
GType gtk_combo_box_get_type (void) G_GNUC_CONST;
GType gtk_combo_box_get_type (void);
GtkWidget *gtk_combo_box_new (void);
GtkWidget *gtk_combo_box_new_with_entry (void);
GtkWidget *gtk_combo_box_new_with_model (GtkTreeModel *model);

View file

@ -62,7 +62,7 @@ struct _GtkComboBoxEntryClass
};
GType gtk_combo_box_entry_get_type (void) G_GNUC_CONST;
GType gtk_combo_box_entry_get_type (void);
GtkWidget *gtk_combo_box_entry_new (void);
GtkWidget *gtk_combo_box_entry_new_with_model (GtkTreeModel *model,
gint text_column);

View file

@ -57,7 +57,7 @@ struct _GtkComboBoxTextClass
void (*_gtk_reserved4) (void);
};
GType gtk_combo_box_text_get_type (void) G_GNUC_CONST;
GType gtk_combo_box_text_get_type (void);
GtkWidget* gtk_combo_box_text_new (void);
GtkWidget* gtk_combo_box_text_new_with_entry (void);
void gtk_combo_box_text_append_text (GtkComboBoxText *combo_box,

View file

@ -104,7 +104,7 @@ struct _GtkContainerClass
/* Application-level methods */
GType gtk_container_get_type (void) G_GNUC_CONST;
GType gtk_container_get_type (void);
void gtk_container_set_border_width (GtkContainer *container,
guint border_width);
guint gtk_container_get_border_width (GtkContainer *container);

View file

@ -172,7 +172,7 @@ struct _GtkCTreeNode {
* Creation, insertion, deletion *
***********************************************************/
GType gtk_ctree_get_type (void) G_GNUC_CONST;
GType gtk_ctree_get_type (void);
GtkWidget * gtk_ctree_new_with_titles (gint columns,
gint tree_column,
gchar *titles[]);
@ -436,7 +436,7 @@ void gtk_ctree_sort_recursive (GtkCTree *ctree,
* no-op's for the copy and free routines. It is defined in order to
* provide type information for the signal arguments
*/
GType gtk_ctree_node_get_type (void) G_GNUC_CONST;
GType gtk_ctree_node_get_type (void);
G_END_DECLS

View file

@ -85,7 +85,7 @@ struct _GtkCurveClass
};
GType gtk_curve_get_type (void) G_GNUC_CONST;
GType gtk_curve_get_type (void);
GtkWidget* gtk_curve_new (void);
void gtk_curve_reset (GtkCurve *curve);
void gtk_curve_set_gamma (GtkCurve *curve, gfloat gamma_);

View file

@ -57,7 +57,7 @@ struct _GtkCustomPaperUnixDialogClass
void (*_gtk_reserved7) (void);
};
GType gtk_custom_paper_unix_dialog_get_type (void) G_GNUC_CONST;
GType gtk_custom_paper_unix_dialog_get_type (void);
GtkWidget * _gtk_custom_paper_unix_dialog_new (GtkWindow *parent,
const gchar *title);
GtkUnit _gtk_print_get_default_user_units (void);

View file

@ -124,7 +124,7 @@ struct _GtkDialogClass
};
GType gtk_dialog_get_type (void) G_GNUC_CONST;
GType gtk_dialog_get_type (void);
GtkWidget* gtk_dialog_new (void);
GtkWidget* gtk_dialog_new_with_buttons (const gchar *title,

View file

@ -67,7 +67,7 @@ struct _GtkDrawingAreaClass
};
GType gtk_drawing_area_get_type (void) G_GNUC_CONST;
GType gtk_drawing_area_get_type (void);
GtkWidget* gtk_drawing_area_new (void);
#ifndef GTK_DISABLE_DEPRECATED

View file

@ -84,7 +84,7 @@ struct _GtkEditableClass
gint (* get_position) (GtkEditable *editable);
};
GType gtk_editable_get_type (void) G_GNUC_CONST;
GType gtk_editable_get_type (void);
void gtk_editable_select_region (GtkEditable *editable,
gint start_pos,
gint end_pos);

View file

@ -163,7 +163,7 @@ struct _GtkEntryClass
void (*_gtk_reserved2) (void);
};
GType gtk_entry_get_type (void) G_GNUC_CONST;
GType gtk_entry_get_type (void);
GtkWidget* gtk_entry_new (void);
GtkWidget* gtk_entry_new_with_buffer (GtkEntryBuffer *buffer);

View file

@ -90,7 +90,7 @@ struct _GtkEntryBufferClass
void (*_gtk_reserved5) (void);
};
GType gtk_entry_buffer_get_type (void) G_GNUC_CONST;
GType gtk_entry_buffer_get_type (void);
GtkEntryBuffer* gtk_entry_buffer_new (const gchar *initial_chars,
gint n_initial_chars);

View file

@ -77,7 +77,7 @@ struct _GtkEntryCompletionClass
};
/* core */
GType gtk_entry_completion_get_type (void) G_GNUC_CONST;
GType gtk_entry_completion_get_type (void);
GtkEntryCompletion *gtk_entry_completion_new (void);
GtkWidget *gtk_entry_completion_get_entry (GtkEntryCompletion *completion);

View file

@ -57,7 +57,7 @@ struct _GtkEventBoxClass
GtkBinClass parent_class;
};
GType gtk_event_box_get_type (void) G_GNUC_CONST;
GType gtk_event_box_get_type (void);
GtkWidget* gtk_event_box_new (void);
gboolean gtk_event_box_get_visible_window (GtkEventBox *event_box);
void gtk_event_box_set_visible_window (GtkEventBox *event_box,

View file

@ -60,7 +60,7 @@ struct _GtkExpanderClass
void (* activate) (GtkExpander *expander);
};
GType gtk_expander_get_type (void) G_GNUC_CONST;
GType gtk_expander_get_type (void);
GtkWidget *gtk_expander_new (const gchar *label);
GtkWidget *gtk_expander_new_with_mnemonic (const gchar *label);

View file

@ -85,7 +85,7 @@ typedef enum
GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
} GtkFileChooserConfirmation;
GType gtk_file_chooser_get_type (void) G_GNUC_CONST;
GType gtk_file_chooser_get_type (void);
/* GError enumeration for GtkFileChooser */
/**

View file

@ -66,7 +66,7 @@ struct _GtkFileChooserButtonClass
};
GType gtk_file_chooser_button_get_type (void) G_GNUC_CONST;
GType gtk_file_chooser_button_get_type (void);
GtkWidget * gtk_file_chooser_button_new (const gchar *title,
GtkFileChooserAction action);

View file

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

View file

@ -53,7 +53,7 @@ struct _GtkFileChooserDialogClass
GtkDialogClass parent_class;
};
GType gtk_file_chooser_dialog_get_type (void) G_GNUC_CONST;
GType gtk_file_chooser_dialog_get_type (void);
GtkWidget *gtk_file_chooser_dialog_new (const gchar *title,
GtkWindow *parent,
GtkFileChooserAction action,

View file

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

View file

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

View file

@ -66,7 +66,7 @@ struct _GtkFileChooserSettingsClass
GObjectClass parent_class;
};
GType _gtk_file_chooser_settings_get_type (void) G_GNUC_CONST;
GType _gtk_file_chooser_settings_get_type (void);
GtkFileChooserSettings *_gtk_file_chooser_settings_new (void);

View file

@ -51,7 +51,7 @@ void _gtk_file_chooser_delegate_iface_init (GtkFileChooserIface *iface);
void _gtk_file_chooser_set_delegate (GtkFileChooser *receiver,
GtkFileChooser *delegate);
GQuark _gtk_file_chooser_delegate_get_quark (void) G_GNUC_CONST;
GQuark _gtk_file_chooser_delegate_get_quark (void);
GList *_gtk_file_chooser_extract_recent_folders (GList *infos);

View file

@ -53,7 +53,7 @@ struct _GtkFileChooserWidgetClass
GtkVBoxClass parent_class;
};
GType gtk_file_chooser_widget_get_type (void) G_GNUC_CONST;
GType gtk_file_chooser_widget_get_type (void);
GtkWidget *gtk_file_chooser_widget_new (GtkFileChooserAction action);

View file

@ -56,7 +56,7 @@ struct _GtkFileFilterInfo
const gchar *mime_type;
};
GType gtk_file_filter_get_type (void) G_GNUC_CONST;
GType gtk_file_filter_get_type (void);
GtkFileFilter * gtk_file_filter_new (void);
void gtk_file_filter_set_name (GtkFileFilter *filter,

View file

@ -99,7 +99,7 @@ struct _GtkFileSelectionClass
#define gtk_file_selection_get_selections gtk_file_selection_get_selections_utf8
#endif
GType gtk_file_selection_get_type (void) G_GNUC_CONST;
GType gtk_file_selection_get_type (void);
GtkWidget* gtk_file_selection_new (const gchar *title);
void gtk_file_selection_set_filename (GtkFileSelection *filesel,
const gchar *filename);

View file

@ -93,7 +93,7 @@ typedef void (* GtkFileSystemVolumeMountCallback) (GCancellable *cancell
gpointer data);
/* GtkFileSystem methods */
GType _gtk_file_system_get_type (void) G_GNUC_CONST;
GType _gtk_file_system_get_type (void);
GtkFileSystem * _gtk_file_system_new (void);

View file

@ -33,7 +33,7 @@ G_BEGIN_DECLS
typedef struct _GtkFileSystemModel GtkFileSystemModel;
GType _gtk_file_system_model_get_type (void) G_GNUC_CONST;
GType _gtk_file_system_model_get_type (void);
typedef gboolean (*GtkFileSystemModelGetValue) (GtkFileSystemModel *model,
GFile *file,

View file

@ -69,7 +69,7 @@ struct _GtkFixedChild
};
GType gtk_fixed_get_type (void) G_GNUC_CONST;
GType gtk_fixed_get_type (void);
GtkWidget* gtk_fixed_new (void);
void gtk_fixed_put (GtkFixed *fixed,
GtkWidget *widget,

View file

@ -71,7 +71,7 @@ struct _GtkFontButtonClass {
};
GType gtk_font_button_get_type (void) G_GNUC_CONST;
GType gtk_font_button_get_type (void);
GtkWidget *gtk_font_button_new (void);
GtkWidget *gtk_font_button_new_with_font (const gchar *fontname);

View file

@ -142,7 +142,7 @@ struct _GtkFontSelectionDialogClass
* see the comments in the GtkFontSelectionDialog functions.
*****************************************************************************/
GType gtk_font_selection_get_type (void) G_GNUC_CONST;
GType gtk_font_selection_get_type (void);
GtkWidget * gtk_font_selection_new (void);
GtkWidget * gtk_font_selection_get_family_list (GtkFontSelection *fontsel);
GtkWidget * gtk_font_selection_get_face_list (GtkFontSelection *fontsel);
@ -172,7 +172,7 @@ void gtk_font_selection_set_preview_text (GtkFontSelection *fontsel,
* GtkFontSelection.
*****************************************************************************/
GType gtk_font_selection_dialog_get_type (void) G_GNUC_CONST;
GType gtk_font_selection_dialog_get_type (void);
GtkWidget *gtk_font_selection_dialog_new (const gchar *title);
GtkWidget *gtk_font_selection_dialog_get_ok_button (GtkFontSelectionDialog *fsd);

View file

@ -69,7 +69,7 @@ struct _GtkFrameClass
};
GType gtk_frame_get_type (void) G_GNUC_CONST;
GType gtk_frame_get_type (void);
GtkWidget* gtk_frame_new (const gchar *label);
void gtk_frame_set_label (GtkFrame *frame,

View file

@ -71,7 +71,7 @@ struct _GtkGammaCurveClass
};
GType gtk_gamma_curve_get_type (void) G_GNUC_CONST;
GType gtk_gamma_curve_get_type (void);
GtkWidget* gtk_gamma_curve_new (void);

View file

@ -94,7 +94,7 @@ struct _GtkHandleBoxClass
};
GType gtk_handle_box_get_type (void) G_GNUC_CONST;
GType gtk_handle_box_get_type (void);
GtkWidget* gtk_handle_box_new (void);
void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box,
GtkShadowType type);

View file

@ -59,7 +59,7 @@ struct _GtkHButtonBoxClass
};
GType gtk_hbutton_box_get_type (void) G_GNUC_CONST;
GType gtk_hbutton_box_get_type (void);
GtkWidget* gtk_hbutton_box_new (void);
/* buttons can be added by gtk_container_add() */

View file

@ -59,7 +59,7 @@ struct _GtkHBoxClass
};
GType gtk_hbox_get_type (void) G_GNUC_CONST;
GType gtk_hbox_get_type (void);
GtkWidget * gtk_hbox_new (gboolean homogeneous,
gint spacing);

Some files were not shown because too many files have changed in this diff Show more