Commit 885c6853 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

screensaver: add GfUnlockDialog

parent 2dca2d21
......@@ -38,6 +38,8 @@ libscreensaver_la_SOURCES = \
gf-screensaver.h \
gf-screensaver-utils.c \
gf-screensaver-utils.h \
gf-unlock-dialog.c \
gf-unlock-dialog.h \
gf-user-image.c \
gf-user-image.h \
gf-watcher.c \
......@@ -58,6 +60,7 @@ libscreensaver_la_LIBADD = \
ENUM_TYPES = \
$(srcdir)/gf-auth.h \
$(srcdir)/gf-unlock-dialog.h \
$(NULL)
gf-screensaver-enum-types.c: gf-screensaver-enum-types.c.in gf-screensaver-enum-types.h $(ENUM_TYPES)
......
This diff is collapsed.
/*
* Copyright (C) 2020 Alberts Muktupāvels
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOgf_unlock_dialog_newSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GF_UNLOCK_DIALOG_H
#define GF_UNLOCK_DIALOG_H
#include <gtk/gtk.h>
#include <libinput-sources/gf-input-sources.h>
G_BEGIN_DECLS
typedef enum
{
GF_UNLOCK_DIALOG_RESPONSE_NONE,
GF_UNLOCK_DIALOG_RESPONSE_OK,
GF_UNLOCK_DIALOG_RESPONSE_CANCEL
} GfUnlockDialogResponse;
#define GF_TYPE_UNLOCK_DIALOG (gf_unlock_dialog_get_type ())
G_DECLARE_FINAL_TYPE (GfUnlockDialog, gf_unlock_dialog,
GF, UNLOCK_DIALOG, GtkBox)
GtkWidget *gf_unlock_dialog_new (void);
void gf_unlock_dialog_set_input_sources (GfUnlockDialog *self,
GfInputSources *input_sources);
void gf_unlock_dialog_set_user_switch_enabled (GfUnlockDialog *self,
gboolean user_switch_enabled);
G_END_DECLS
#endif
......@@ -38,6 +38,7 @@ gnome-flashback/libpolkit/flashback-listener.c
gnome-flashback/libpolkit/flashback-polkit-dialog.c
gnome-flashback/libpolkit/flashback-polkit-dialog.ui
gnome-flashback/libscreensaver/gf-auth.c
gnome-flashback/libscreensaver/gf-unlock-dialog.c
gvc/gvc/gvc-mixer-control.c
system-indicators/si-bluetooth.c
system-indicators/si-desktop-menu-item.c
......
Markdown is supported
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