From a92ab660241b0de079bc7347512b37ac4a8d1c57 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 22 Jun 2019 02:32:49 +0000 Subject: [PATCH] docs: Make the shooter build again --- docs/tools/widgets.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c index a9f65558a7..aabbb68da0 100644 --- a/docs/tools/widgets.c +++ b/docs/tools/widgets.c @@ -280,17 +280,12 @@ static WidgetInfo * create_accel_label (void) { WidgetInfo *info; - GtkWidget *widget, *button, *box; + GtkWidget *widget, *box; widget = gtk_accel_label_new ("Accel Label"); - button = gtk_button_new_with_label ("Quit"); - gtk_accel_label_set_accel_widget (GTK_ACCEL_LABEL (widget), button); - gtk_widget_hide (button); - box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); gtk_container_add (GTK_CONTAINER (box), widget); - gtk_container_add (GTK_CONTAINER (box), button); gtk_accel_label_set_accel (GTK_ACCEL_LABEL (widget), GDK_KEY_Q, GDK_CONTROL_MASK);