mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 19:42:48 -05:00
Stop using deprecated GTK_STOCK_* in GTK3.
According to the GTK3 docs, we're now supposed to use fixed label strings instead.
This commit is contained in:
@ -1674,8 +1674,8 @@ static void filefont_clicked(GtkButton *button, gpointer data)
|
||||
(uc->ctrl->fileselect.for_writing ?
|
||||
GTK_FILE_CHOOSER_ACTION_SAVE :
|
||||
GTK_FILE_CHOOSER_ACTION_OPEN),
|
||||
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
|
||||
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
|
||||
STANDARD_CANCEL_LABEL, GTK_RESPONSE_CANCEL,
|
||||
STANDARD_OPEN_LABEL, GTK_RESPONSE_ACCEPT,
|
||||
(const gchar *)NULL);
|
||||
gtk_window_set_modal(GTK_WINDOW(filechoose), TRUE);
|
||||
g_object_set_data(G_OBJECT(filechoose), "user-data", (gpointer)uc);
|
||||
|
Reference in New Issue
Block a user