Skip to content

Commit

Permalink
Remove some deprecataed UI calls
Browse files Browse the repository at this point in the history
  • Loading branch information
gusnan committed Oct 25, 2022
1 parent e16d316 commit 4031700
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions src/gtktools.c
Expand Up @@ -64,10 +64,7 @@ create_diagnostics_dialog (GtkWidget *parent, const char *string)
GTK_STOCK_CLOSE, GTK_RESPONSE_CANCEL,
NULL);
dialog = GTK_DIALOG (widget);
gtk_dialog_set_has_separator (dialog, FALSE);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
gtk_box_set_spacing (GTK_BOX (dialog->vbox), 2);
gtk_container_set_border_width (GTK_CONTAINER (dialog->action_area), 5);
gtk_window_set_default_size (GTK_WINDOW (dialog), 570, 320);
gtk_dialog_set_default_response (dialog, GTK_RESPONSE_CANCEL);

Expand Down
4 changes: 0 additions & 4 deletions src/keygenwizard.c
Expand Up @@ -388,10 +388,6 @@ gpa_keygen_wizard_new (GtkWidget *parent,
g_object_set_data_full (G_OBJECT (window), "user_data",
wizard, free_keygen_wizard);

/* Set the forward button to be the default. */
GTK_WIDGET_SET_FLAGS (GTK_ASSISTANT (window)->forward, GTK_CAN_DEFAULT);
gtk_window_set_default (GTK_WINDOW (window), GTK_ASSISTANT (window)->forward);

wizard->name_page = keygen_wizard_name_page (wizard);
gtk_assistant_append_page (GTK_ASSISTANT (window), wizard->name_page);
gtk_assistant_set_page_type (GTK_ASSISTANT (window), wizard->name_page,
Expand Down

0 comments on commit 4031700

Please sign in to comment.