Commit 20c8c8b9 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Add annotations to gtk headers

Add annotations to all exported functions in GTK+ headers.
parent 8470eb84
......@@ -86,6 +86,7 @@ struct _GtkColorSelectionClass
/* ColorSelection */
GDK_DEPRECATED_IN_3_4
GType gtk_color_selection_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_widget_new)
GtkWidget *gtk_color_selection_new (void);
......@@ -136,6 +137,7 @@ GDK_DEPRECATED_IN_3_4
gchar* gtk_color_selection_palette_to_string (const GdkColor *colors,
gint n_colors);
GDK_DEPRECATED_IN_3_4
GtkColorSelectionChangePaletteWithScreenFunc gtk_color_selection_set_change_palette_with_screen_hook (GtkColorSelectionChangePaletteWithScreenFunc func);
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
......
......@@ -68,6 +68,7 @@ struct _GtkColorSelectionDialogClass
/* ColorSelectionDialog */
GDK_DEPRECATED_IN_3_4
GType gtk_color_selection_dialog_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_dialog_new)
GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
......
......@@ -103,6 +103,7 @@ struct _GtkFontSelectionDialogClass
void (*_gtk_reserved4) (void);
};
GDK_DEPRECATED_IN_3_2
GType gtk_font_selection_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
GtkWidget * gtk_font_selection_new (void);
......@@ -136,7 +137,7 @@ GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
void gtk_font_selection_set_preview_text (GtkFontSelection *fontsel,
const gchar *text);
GDK_DEPRECATED_IN_3_2
GType gtk_font_selection_dialog_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
GtkWidget *gtk_font_selection_dialog_new (const gchar *title);
......
......@@ -31,6 +31,7 @@ G_BEGIN_DECLS
#define GTK_TYPE_GRADIENT (gtk_gradient_get_type ())
GDK_DEPRECATED_IN_3_8
GType gtk_gradient_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_8
......
......@@ -74,6 +74,7 @@ struct _GtkHandleBoxClass
};
GDK_DEPRECATED_IN_3_4
GType gtk_handle_box_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_4
GtkWidget* gtk_handle_box_new (void);
......
......@@ -56,6 +56,7 @@ struct _GtkHButtonBoxClass
};
GDK_DEPRECATED_IN_3_2
GType gtk_hbutton_box_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new)
GtkWidget* gtk_hbutton_box_new (void);
......
......@@ -57,6 +57,7 @@ struct _GtkHBoxClass
};
GDK_DEPRECATED_IN_3_2
GType gtk_hbox_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new)
GtkWidget * gtk_hbox_new (gboolean homogeneous,
......
......@@ -55,6 +55,7 @@ struct _GtkHPanedClass
};
GDK_DEPRECATED_IN_3_2
GType gtk_hpaned_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new)
GtkWidget * gtk_hpaned_new (void);
......
......@@ -55,6 +55,7 @@ struct _GtkHScaleClass
};
GDK_DEPRECATED_IN_3_2
GType gtk_hscale_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new)
GtkWidget* gtk_hscale_new (GtkAdjustment *adjustment);
......
......@@ -55,6 +55,7 @@ struct _GtkHScrollbarClass
};
GDK_DEPRECATED_IN_3_2
GType gtk_hscrollbar_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new)
GtkWidget* gtk_hscrollbar_new (GtkAdjustment *adjustment);
......
......@@ -55,6 +55,7 @@ struct _GtkHSeparatorClass
};
GDK_DEPRECATED_IN_3_2
GType gtk_hseparator_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(gtk_separator_new)
GtkWidget* gtk_hseparator_new (void);
......
......@@ -77,6 +77,7 @@ struct _GtkHSVClass
};
GDK_DEPRECATED_IN_3_4
GType gtk_hsv_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_4
GtkWidget* gtk_hsv_new (void);
......
......@@ -175,6 +175,7 @@ void gtk_rc_parse_string (const gchar *rc_string);
GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
gboolean gtk_rc_reparse_all (void);
GDK_DEPRECATED_IN_3_0
GType gtk_rc_style_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
GtkRcStyle* gtk_rc_style_new (void);
......
......@@ -366,6 +366,7 @@ struct _GtkStyleClass
void (*_gtk_reserved11) (void);
};
GDK_DEPRECATED_IN_3_0
GType gtk_style_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
GtkStyle* gtk_style_new (void);
......
......@@ -29,6 +29,7 @@ G_BEGIN_DECLS
#define GTK_TYPE_SYMBOLIC_COLOR (gtk_symbolic_color_get_type ())
GDK_DEPRECATED_IN_3_8
GType gtk_symbolic_color_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_8
......
......@@ -96,6 +96,7 @@ struct _GtkTableRowCol
};
GDK_DEPRECATED_IN_3_4
GType gtk_table_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
GtkWidget* gtk_table_new (guint rows,
......
......@@ -65,6 +65,7 @@ struct _GtkTearoffMenuItemClass
};
GDK_DEPRECATED_IN_3_4
GType gtk_tearoff_menu_item_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_4
GtkWidget* gtk_tearoff_menu_item_new (void);
......
......@@ -55,6 +55,7 @@ struct _GtkVButtonBoxClass
};
GDK_DEPRECATED_IN_3_2
GType gtk_vbutton_box_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new)
GtkWidget *gtk_vbutton_box_new (void);
......
......@@ -55,6 +55,7 @@ struct _GtkVBoxClass
};
GDK_DEPRECATED_IN_3_2
GType gtk_vbox_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new)
GtkWidget * gtk_vbox_new (gboolean homogeneous,
......
......@@ -55,6 +55,7 @@ struct _GtkVPanedClass
};
GDK_DEPRECATED_IN_3_2
GType gtk_vpaned_get_type (void) G_GNUC_CONST;
GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new)
GtkWidget * gtk_vpaned_new (void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment