]> Pileus Git - ~andy/gtk/blobdiff - examples/rulers/rulers.c
- Replace all uses of deprecated functions. - Replace menufactory example
[~andy/gtk] / examples / rulers / rulers.c
index 014d6be22fb8233d96deb6f99ad89985b709edf9..41260c6bc86354970cc3a7024fe56c1a9b2e4303 100644 (file)
@@ -22,7 +22,7 @@ int main( int argc, char *argv[] ) {
     window = gtk_window_new( GTK_WINDOW_TOPLEVEL );
     gtk_signal_connect (GTK_OBJECT (window), "delete_event",
             GTK_SIGNAL_FUNC( close_application ), NULL);
-    gtk_container_border_width (GTK_CONTAINER (window), 10);
+    gtk_container_set_border_width (GTK_CONTAINER (window), 10);
 
     /* Create a table for placing the ruler and the drawing area */
     table = gtk_table_new( 3, 2, FALSE );