Commit ef8aaeb2 authored by Sebastian Geiger's avatar Sebastian Geiger Committed by Alberts Muktupāvels
Browse files

input-sources: add gf_input_source_get_index to GfInputSource

parent 762f1291
......@@ -320,6 +320,12 @@ gf_input_source_set_short_name (GfInputSource *source,
g_signal_emit (source, signals[SIGNAL_CHANGED], 0);
}
guint
gf_input_source_get_index (GfInputSource *source)
{
return source->index;
}
const gchar *
gf_input_source_get_xkb_id (GfInputSource *source)
{
......
......@@ -43,6 +43,8 @@ const gchar *gf_input_source_get_short_name (GfInputSource *source);
void gf_input_source_set_short_name (GfInputSource *source,
const gchar *short_name);
guint gf_input_source_get_index (GfInputSource *source);
const gchar *gf_input_source_get_xkb_id (GfInputSource *source);
void gf_input_source_activate (GfInputSource *source);
......
Supports Markdown
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