[PATCH 3/3] LayoutIndicator widget

Vratislav Podzimek vpodzime at redhat.com
Thu Feb 14 10:33:51 UTC 2013


On Mon, 2013-02-11 at 15:05 +0100, Vratislav Podzimek wrote:
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
>  widgets/configure.ac              |   1 +
>  widgets/glade/AnacondaWidgets.xml |   7 +
>  widgets/src/LayoutIndicator.c     | 339 ++++++++++++++++++++++++++++++++++++++
>  widgets/src/LayoutIndicator.h     |  69 ++++++++
>  widgets/src/Makefile.am           |   8 +-
>  5 files changed, 421 insertions(+), 3 deletions(-)
>  create mode 100644 widgets/src/LayoutIndicator.c
>  create mode 100644 widgets/src/LayoutIndicator.h
>
> +/**
> + * get_current_layout:
> + *
> + * Returns: newly allocated string with the currently activated layout as
> + *          'layout (variant)'
> + */
> +static gchar* get_current_layout(XklEngine *engine, XklConfigRec *conf_rec) {
> +    /* engine has to be listening with XKLL_TRACK_KEYBOARD_STATE mask */
> +    gchar *layout = NULL;
> +    gchar *variant = NULL;
> +    gint32 cur_group;
> +    gint i;
This is an unused variable. Fixed locally.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list