diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-03-15 05:58:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-05-05 15:38:46 -0400 |
commit | ca81028901de2ae5c73ab1c4216182bdfe817c92 (patch) | |
tree | 6bf959b02ab661c328bbbb638726f785ee675746 /gdk/gdkvisual.h | |
parent | 96d1a1e9c5251b6a44f8a83fbdd60b7bd88f12a4 (diff) | |
download | gtk+-ca81028901de2ae5c73ab1c4216182bdfe817c92.tar.gz |
Add GDK_AVAILABLE_IN_ALL annotations in gdk
This is in preparation to modernizing our handing
of exported symbols.
Diffstat (limited to 'gdk/gdkvisual.h')
-rw-r--r-- | gdk/gdkvisual.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gdk/gdkvisual.h b/gdk/gdkvisual.h index c15808e8e9..187b019ef2 100644 --- a/gdk/gdkvisual.h +++ b/gdk/gdkvisual.h @@ -30,6 +30,7 @@ #endif #include <gdk/gdktypes.h> +#include <gdk/gdkversionmacros.h> G_BEGIN_DECLS @@ -78,41 +79,61 @@ typedef enum * a particular visual. */ +GDK_AVAILABLE_IN_ALL GType gdk_visual_get_type (void) G_GNUC_CONST; #ifndef GDK_MULTIHEAD_SAFE +GDK_AVAILABLE_IN_ALL gint gdk_visual_get_best_depth (void); +GDK_AVAILABLE_IN_ALL GdkVisualType gdk_visual_get_best_type (void); +GDK_AVAILABLE_IN_ALL GdkVisual* gdk_visual_get_system (void); +GDK_AVAILABLE_IN_ALL GdkVisual* gdk_visual_get_best (void); +GDK_AVAILABLE_IN_ALL GdkVisual* gdk_visual_get_best_with_depth (gint depth); +GDK_AVAILABLE_IN_ALL GdkVisual* gdk_visual_get_best_with_type (GdkVisualType visual_type); +GDK_AVAILABLE_IN_ALL GdkVisual* gdk_visual_get_best_with_both (gint depth, GdkVisualType visual_type); +GDK_AVAILABLE_IN_ALL void gdk_query_depths (gint **depths, gint *count); +GDK_AVAILABLE_IN_ALL void gdk_query_visual_types (GdkVisualType **visual_types, gint *count); +GDK_AVAILABLE_IN_ALL GList* gdk_list_visuals (void); #endif +GDK_AVAILABLE_IN_ALL GdkScreen *gdk_visual_get_screen (GdkVisual *visual); +GDK_AVAILABLE_IN_ALL GdkVisualType gdk_visual_get_visual_type (GdkVisual *visual); +GDK_AVAILABLE_IN_ALL gint gdk_visual_get_depth (GdkVisual *visual); +GDK_AVAILABLE_IN_ALL GdkByteOrder gdk_visual_get_byte_order (GdkVisual *visual); +GDK_AVAILABLE_IN_ALL gint gdk_visual_get_colormap_size (GdkVisual *visual); +GDK_AVAILABLE_IN_ALL gint gdk_visual_get_bits_per_rgb (GdkVisual *visual); +GDK_AVAILABLE_IN_ALL void gdk_visual_get_red_pixel_details (GdkVisual *visual, guint32 *mask, gint *shift, gint *precision); +GDK_AVAILABLE_IN_ALL void gdk_visual_get_green_pixel_details (GdkVisual *visual, guint32 *mask, gint *shift, gint *precision); +GDK_AVAILABLE_IN_ALL void gdk_visual_get_blue_pixel_details (GdkVisual *visual, guint32 *mask, gint *shift, |