diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/Makefile.am | 1 | ||||
-rw-r--r-- | demos/gtk-demo/button_box.c | 4 | ||||
-rw-r--r-- | demos/gtk-demo/dialog.c | 2 | ||||
-rw-r--r-- | demos/gtk-demo/sizegroup.c | 2 |
4 files changed, 5 insertions, 4 deletions
diff --git a/demos/gtk-demo/Makefile.am b/demos/gtk-demo/Makefile.am index 228296aec..a25c647dd 100644 --- a/demos/gtk-demo/Makefile.am +++ b/demos/gtk-demo/Makefile.am @@ -15,6 +15,7 @@ demos = @STRIP_BEGIN@ \ panes.c \ pixbufs.c \ sizegroup.c \ + stock_browser.c \ textview.c \ @STRIP_END@ diff --git a/demos/gtk-demo/button_box.c b/demos/gtk-demo/button_box.c index 286610ea3..f4527a833 100644 --- a/demos/gtk-demo/button_box.c +++ b/demos/gtk-demo/button_box.c @@ -28,10 +28,10 @@ create_bbox (gint horizontal, gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout); gtk_box_set_spacing (GTK_BOX (bbox), spacing); - button = gtk_button_new_from_stock (GTK_STOCK_BUTTON_OK); + button = gtk_button_new_from_stock (GTK_STOCK_OK); gtk_container_add (GTK_CONTAINER (bbox), button); - button = gtk_button_new_from_stock (GTK_STOCK_BUTTON_CANCEL); + button = gtk_button_new_from_stock (GTK_STOCK_CANCEL); gtk_container_add (GTK_CONTAINER (bbox), button); button = gtk_button_new_from_stock (GTK_STOCK_HELP); diff --git a/demos/gtk-demo/dialog.c b/demos/gtk-demo/dialog.c index 0e9952016..92358b973 100644 --- a/demos/gtk-demo/dialog.c +++ b/demos/gtk-demo/dialog.c @@ -44,7 +44,7 @@ interactive_dialog_clicked (GtkButton *button, dialog = gtk_dialog_new_with_buttons ("Interactive Dialog", GTK_WINDOW (window), GTK_DIALOG_MODAL| GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_STOCK_BUTTON_OK, + GTK_STOCK_OK, GTK_RESPONSE_OK, NULL); diff --git a/demos/gtk-demo/sizegroup.c b/demos/gtk-demo/sizegroup.c index 362ffcbc0..2bd3022e2 100644 --- a/demos/gtk-demo/sizegroup.c +++ b/demos/gtk-demo/sizegroup.c @@ -110,7 +110,7 @@ do_sizegroup (void) { window = gtk_dialog_new_with_buttons ("GtkSizeGroup", NULL, 0, - GTK_STOCK_BUTTON_CLOSE, + GTK_STOCK_CLOSE, GTK_RESPONSE_NONE, NULL); gtk_window_set_resizeable (GTK_WINDOW (window), FALSE); |