mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
Added gdk_color_context_get_visual() function.
This commit is contained in:
parent
4c530ae5bc
commit
9c5d32799d
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user