Skip to content

Commit

Permalink
vimode: eliminate a warning
Browse files Browse the repository at this point in the history
This is just a binary for testing and the missing icons don't matter.
  • Loading branch information
techee committed Apr 23, 2024
1 parent 8c56a7c commit 27f35dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vimode/src/backends/backend-viw.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ static gboolean on_save(gboolean force)
{
GtkWidget *dialog = gtk_file_chooser_dialog_new ("Save File", GTK_WINDOW(window),
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL);
"_Cancel", GTK_RESPONSE_CANCEL,
"_Save", GTK_RESPONSE_ACCEPT, NULL);
gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog), TRUE);
if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_ACCEPT)
fname = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));
Expand Down

0 comments on commit 27f35dd

Please sign in to comment.