- Replace all uses of deprecated functions. - Replace menufactory example

Thu Jan 28 10:16:28 GMT 1999 Tony Gale  <gale@gtk.org>

        * docs/gtk_tut.sgml:
          - Replace all uses of deprecated functions.
          - Replace menufactory example with itemfactory example
            from Nick Scott <mendigo@geocities.com>
          - Minor bug fixes in the examples.
This commit is contained in:
GMT 1999 Tony Gale
1999-01-28 10:35:40 +00:00
committed by Tony Gale
parent a700058737
commit a2dafdfc88
38 changed files with 1324 additions and 1367 deletions

View File

@ -18,7 +18,7 @@ GtkWidget *xpm_label_box( GtkWidget *parent,
/* Create box for xpm and label */
box1 = gtk_hbox_new (FALSE, 0);
gtk_container_border_width (GTK_CONTAINER (box1), 2);
gtk_container_set_border_width (GTK_CONTAINER (box1), 2);
/* Get the style of the button to get the
* background color. */
@ -77,7 +77,7 @@ int main( int argc,
/* Sets the border width of the window. */
gtk_container_border_width (GTK_CONTAINER (window), 10);
gtk_container_set_border_width (GTK_CONTAINER (window), 10);
gtk_widget_realize(window);
/* Create a new button */