[PATCH] Re: xfce4-settings-4.10.0_layout_alpha

Baurzhan Muftakhidinov baurthefirst at gmail.com
Mon Jun 25 08:51:28 CEST 2012


Hi,

The idea of integration this feature into Xfce core is good.
But why don't you use bugzilla.xfce.org instead?

Thanks,

On Mon, Jun 25, 2012 at 4:35 AM, Alexsandr Sovenko <owlx at mail.com> wrote:
> Hi,
> Add  next code to "xfce4-settings-4.10.0/xfsettingsd/keyboard-layout.c" for
> correct shutdown xfsettingsd :)
>
> ...
>
> +static void xfce_keyboard_layout_helper_finalize (GObject *object)
>
> ...
>
> +static void
> +xfce_keyboard_layout_helper_finalize (GObject *object)
> +{
> +    XfceKeyboardLayoutHelper *helper = XFCE_KEYBOARD_LAYOUT_HELPER
> (object);
> +
> +    gdk_window_remove_filter (NULL,
> +        (GdkFilterFunc) xfce_keyboard_manage_layout_handle_xevent, NULL);
> +    xkl_engine_stop_listen (helper->engine, XKLL_TRACK_KEYBOARD_STATE);
>
> +#ifdef HAVE_DBUS
> +    dbus_connection_remove_filter (helper->bus,
> +        xfce_keyboard_manage_layout_signal_filter, helper);
> +#endif /* HAVE_DBUS */
> +
> +  (*G_OBJECT_CLASS (xfce_keyboard_layout_helper_parent_class)->finalize)
> (object);
> +}
>
> Alexsandr
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev


More information about the Xfce4-dev mailing list