- 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:
committed by
Tony Gale
parent
a700058737
commit
a2dafdfc88
@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user