Added gdk_color_context_get_visual() function.

This commit is contained in:
Arturo Espinosa 1997-12-17 22:08:48 +00:00
parent 4c530ae5bc
commit 9c5d32799d
3 changed files with 26 additions and 9 deletions

View File

@ -682,6 +682,7 @@ void gdk_color_context_get_pixels_incremental (GdkColorContext *cc,
gint gdk_color_context_get_num_colors (GdkColorContext *cc);
gint gdk_color_context_get_depth (GdkColorContext *cc);
GdkColorContextMode gdk_color_context_get_mode (GdkColorContext *cc);
GdkVisual *gdk_color_context_get_visual (GdkColorContext *cc);
gint gdk_color_context_query_color (GdkColorContext *cc,
GdkColor *color);
gint gdk_color_context_query_colors (GdkColorContext *cc,

View File

@ -1354,6 +1354,14 @@ gdk_color_context_get_mode (GdkColorContext *cc)
}
GdkVisual *
gdk_color_context_get_visual(GdkColorContext *cc)
{
g_assert(cc != NULL);
return ((GdkColorContextPrivate *) cc)->visual;
}
gint
gdk_color_context_query_color(GdkColorContext *cc,
GdkColor *color)

View File

@ -1354,6 +1354,14 @@ gdk_color_context_get_mode (GdkColorContext *cc)
}
GdkVisual *
gdk_color_context_get_visual(GdkColorContext *cc)
{
g_assert(cc != NULL);
return ((GdkColorContextPrivate *) cc)->visual;
}
gint
gdk_color_context_query_color(GdkColorContext *cc,
GdkColor *color)