cancel

free software for cancelling people and organizations
git clone https://git.parazyd.org/cancel
Log | Files | Refs | README | LICENSE

commit 605fe130cbb5491f54de053abe66bfe46615685e
parent 284b38e8a9118e062fb73271e71ad4148838293d
Author: parazyd <parazyd@dyne.org>
Date:   Thu, 25 Mar 2021 11:21:16 +0100

Add protection against lynch mobs.

Diffstat:
Mcancel.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/cancel.c b/cancel.c @@ -40,6 +40,7 @@ static void cancel(GtkButton *btn, gpointer data) static void activate(GtkApplication *app, gpointer data) { GtkWidget *window, *box, *label, *entry, *button; + GtkWidget *lynch_mob; window = gtk_application_window_new(app); gtk_window_set_default_size(GTK_WINDOW(window), 320, 240); @@ -56,6 +57,10 @@ static void activate(GtkApplication *app, gpointer data) gtk_entry_set_text(GTK_ENTRY(entry), "FSF"); gtk_container_add(GTK_CONTAINER(box), entry); + lynch_mob = gtk_check_button_new_with_label( + "There is a lynch mob outside my house"); + gtk_container_add(GTK_CONTAINER(box), lynch_mob); + button = gtk_button_new_with_label("CANCEL"); gtk_container_add(GTK_CONTAINER(box), button); g_signal_connect(button, "clicked", G_CALLBACK(cancel), app);