summaryrefslogtreecommitdiff
path: root/tests/testmultidisplay.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 17:31:22 -0400
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 19:53:08 -0400
commitfc71cbe5a6e22c7dea24a028d87ad0e2a050020b (patch)
treebaf11b422ee1640b6e17ac317e27eb2ea49ad59f /tests/testmultidisplay.c
parentc79a21e1ddda961be43813daa9179505af89adb7 (diff)
downloadgtk+-fc71cbe5a6e22c7dea24a028d87ad0e2a050020b.tar.gz
Remove most of the stock API usage from the tests
With the exception of GtkActions and the tests for stock items.
Diffstat (limited to 'tests/testmultidisplay.c')
-rw-r--r--tests/testmultidisplay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testmultidisplay.c b/tests/testmultidisplay.c
index aa78385c02..5c56137fa5 100644
--- a/tests/testmultidisplay.c
+++ b/tests/testmultidisplay.c
@@ -85,8 +85,8 @@ make_selection_dialog (GdkScreen * screen,
gtk_widget_grab_focus (entry);
gtk_dialog_add_buttons (GTK_DIALOG (window),
- GTK_STOCK_APPLY, GTK_RESPONSE_APPLY,
- GTK_STOCK_QUIT, GTK_RESPONSE_DELETE_EVENT,
+ "_Apply", GTK_RESPONSE_APPLY,
+ "_Quit", GTK_RESPONSE_DELETE_EVENT,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (window), GTK_RESPONSE_APPLY);
@@ -116,7 +116,7 @@ main (int argc, char *argv[])
dialog = gtk_dialog_new_with_buttons ("Second Display Selection",
NULL,
GTK_DIALOG_MODAL,
- GTK_STOCK_OK,
+ "_OK",
GTK_RESPONSE_OK, NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);