[gtk/shortcuts-rebased-again: 130/139] docs: Make the shooter build again
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/shortcuts-rebased-again: 130/139] docs: Make the shooter build again
- Date: Sat, 22 Jun 2019 05:26:54 +0000 (UTC)
commit 56aebdeaea85ac82d6877d8b7d0e869ce0516de6
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 22 02:32:49 2019 +0000
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]